]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/patches/testing/breg.h
ebl update
[bacula/bacula] / bacula / patches / testing / breg.h
index 991ad5a2d3c8d77798a1dde7286fcd79b332215d..101f50eee6617c276576f9205da621e02a23b168 100644 (file)
@@ -98,4 +98,14 @@ bool apply_bregexps(const char *fname, alist *bregexps, char **result);
 /* foreach_alist free RUNSCRIPT */
 void free_bregexps(alist *bregexps); /* you have to free alist */
 
+/* get a bregexp string from user arguments */
+char *bregexp_build_where(char *strip_prefix, 
+                          char *add_prefix, 
+                          char *add_suffix);
+
+/* escape a string to regexp format (sep and \) 
+ * dest must be long enough (dest = 2*src + 1)
+ */
+char *bregexp_escape_string(char *dest, char *src, char sep);
+
 #endif /* __BREG_H_ */