X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiled%2Fprotos.h;h=e9304b09e913ec51a232bf861032063aff7bdc71;hb=25f607f9bd00610e4cf7b72dd1808cbb23fc3632;hp=31cdfb3e0060d8ede47a419265ff50a5bc56e2ed;hpb=f509e18d54895e75e2abe0a0ac84b3445f7aa65a;p=bacula%2Fbacula diff --git a/bacula/src/filed/protos.h b/bacula/src/filed/protos.h index 31cdfb3e00..e9304b09e9 100644 --- a/bacula/src/filed/protos.h +++ b/bacula/src/filed/protos.h @@ -6,7 +6,7 @@ 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 two of the GNU General Public + 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. @@ -15,7 +15,7 @@ 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 General Public License + 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. @@ -67,6 +67,12 @@ bxattr_exit_code build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt); bxattr_exit_code parse_xattr_streams(JCR *jcr, int stream); /* from job.c */ -findFILESET *new_exclude(JCR *jcr); -void add_file_to_fileset(JCR *jcr, const char *fname, findFILESET *fileset, - bool is_file); +findINCEXE *new_exclude(JCR *jcr); +findINCEXE *new_preinclude(JCR *jcr); +void set_incexe(JCR *jcr, findINCEXE *incexe); +void new_options(JCR *jcr, findINCEXE *incexe); +void add_file_to_fileset(JCR *jcr, const char *fname, bool is_file); +int add_options_to_fileset(JCR *jcr, const char *item); +int add_wild_to_fileset(JCR *jcr, const char *item, int type); +int add_regex_to_fileset(JCR *jcr, const char *item, int type); +findINCEXE *new_include(JCR *jcr);