]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bregex.h
Fix typo.
[bacula/bacula] / bacula / src / lib / bregex.h
index cfda3f0680e69757c24c626ea62c344a642bb2ef..84e60c0251e4147ebc1562296598002626be2eec 100644 (file)
@@ -23,6 +23,33 @@ extern "C" {
  *  Modified to work with C++ for use in Bacula,           
  *     Kern Sibbald April, 2006
  */ 
+/*
+   Bacula® - The Network Backup Solution
+
+   Copyright (C) 2006-2010 Free Software Foundation Europe e.V.
+
+   The main author of Bacula is Kern Sibbald, with contributions from
+   many others, a complete list can be found in the file AUTHORS.
+   This program is Free Software; you can redistribute it and/or
+   modify it under the terms of version three of the GNU Affero General Public
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
+
+   This program is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU Affero General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA.
+
+   Bacula® is a registered trademark of Kern Sibbald.
+   The licensor of Bacula is the Free Software Foundation Europe
+   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
+   Switzerland, email:ftf@fsfeurope.org.
+*/
 
 #ifndef REGEXPR_H
 #define REGEXPR_H
@@ -62,6 +89,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
 
@@ -78,6 +106,8 @@ struct regex_t
    int num_registers;     /* number of registers used */
    unsigned char anchor;           /* anchor: 0=none 1=begline 2=begbuf */
    char *errmsg;
+   int cflags;                     /* compilation flags */
+   POOLMEM *lcase;                 /* used by REG_ICASE */
 };