]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/protos.h
Get binary objects working
[bacula/bacula] / bacula / src / findlib / protos.h
index dc50119998b1cbb31a280643084ed41e09d58ff5..6fafb62eaad65231727977aa6d3a5fab7e0ef710 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2008 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.
@@ -20,7 +20,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   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.
@@ -32,7 +32,7 @@
  */
 
 /* from attribs.c */
-void    encode_stat       (char *buf, FF_PKT *ff_pkt, int data_stream);
+void    encode_stat       (char *buf, struct stat *statp, int32_t LinkFI, int data_stream);
 int     decode_stat       (char *buf, struct stat *statp, int32_t *LinkFI);
 int32_t decode_LinkFI     (char *buf, struct stat *statp);
 int     encode_attribsEx  (JCR *jcr, char *attribsEx, FF_PKT *ff_pkt);
@@ -45,10 +45,13 @@ int    create_file       (JCR *jcr, ATTR *attr, BFILE *ofd, int replace);
 /* From find.c */
 FF_PKT *init_find_files();
 void  set_find_options(FF_PKT *ff, int incremental, time_t mtime);
-int   find_files(JCR *jcr, FF_PKT *ff, int sub(FF_PKT *ff_pkt, void *hpkt, bool), void *pkt);
-int   match_files(JCR *jcr, FF_PKT *ff, int sub(FF_PKT *ff_pkt, void *hpkt, bool), void *pkt);
+void set_find_changed_function(FF_PKT *ff, bool check_fct(JCR *jcr, FF_PKT *ff));
+int   find_files(JCR *jcr, FF_PKT *ff, int file_sub(JCR *, FF_PKT *ff_pkt, bool),
+                 int plugin_sub(JCR *, FF_PKT *ff_pkt, bool));
+int   match_files(JCR *jcr, FF_PKT *ff, int sub(JCR *, FF_PKT *ff_pkt, bool));
 int   term_find_files(FF_PKT *ff);
 int   get_win32_driveletters(FF_PKT *ff, char* szDrives);
+bool  is_in_fileset(FF_PKT *ff);
 
 /* From match.c */
 void  init_include_exclude_files(FF_PKT *ff);
@@ -62,8 +65,8 @@ struct s_included_file *get_next_included_file(FF_PKT *ff,
 
 /* From find_one.c */
 int   find_one_file(JCR *jcr, FF_PKT *ff, 
-               int handle_file(FF_PKT *ff_pkt, void *hpkt, bool top_level),
-               void *pkt, char *p, dev_t parent_device, bool top_level);
+               int handle_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level),
+               char *p, dev_t parent_device, bool top_level);
 int   term_find_one(FF_PKT *ff);
 bool  has_file_changed(JCR *jcr, FF_PKT *ff_pkt);
 
@@ -72,7 +75,7 @@ int enable_backup_privileges(JCR *jcr, int ignore_errors);
 
 
 /* from makepath.c */
-int makepath(ATTR *attr, const char *path, mode_t mode,
+bool makepath(ATTR *attr, const char *path, mode_t mode,
            mode_t parent_mode, uid_t owner, gid_t group,
            int keep_dir_modes);