]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bregex.h
Ignore UTF-8 marker at the start of .conf files.
[bacula/bacula] / bacula / src / lib / bregex.h
index b2f3fabe36887ce54c7d1de74383ad9510f5574a..e848185cb9c44fe074a1e60df4a80ed898a4481a 100644 (file)
@@ -62,6 +62,7 @@ typedef struct {
 #define REG_ICASE    (1<<2)
 #define REG_NOSUB    (1<<3)
 #define REG_NEWLINE  (1<<4)
+#define REG_NOTBOL   (1<<5)
 
 #define REG_NOMATCH -1
 
@@ -125,7 +126,7 @@ int re_set_syntax(int syntax);
 /* This sets the syntax to use and returns the previous syntax.  The
  * syntax is specified by a bit mask of the above defined bits. */
 
-char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
+const char *re_compile_pattern(regex_t *compiled, unsigned char *regex);
 /* This compiles the regexp (given in regex and length in regex_size).
  * This returns NULL if the regexp compiled successfully, and an error
  * message if an error was encountered.  The buffer field must be