2 Bacula® - The Network Backup Solution
4 Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
6 The main author of Bacula is Kern Sibbald, with contributions from
7 many others, a complete list can be found in the file AUTHORS.
8 This program is Free Software; you can redistribute it and/or
9 modify it under the terms of version two of the GNU General Public
10 License as published by the Free Software Foundation and included
13 This program is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 Bacula® is a registered trademark of Kern Sibbald.
24 The licensor of Bacula is the Free Software Foundation Europe
25 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
26 Switzerland, email:ftf@fsfeurope.org.
29 * Written by Kern Sibbald, MM
33 extern bool blast_data_to_storage_daemon(JCR *jcr, char *addr);
34 extern void do_verify_volume(JCR *jcr);
35 extern void do_restore(JCR *jcr);
36 extern int authenticate_director(JCR *jcr);
37 extern int authenticate_storagedaemon(JCR *jcr);
38 extern int make_estimate(JCR *jcr);
41 int digest_file(JCR *jcr, FF_PKT *ff_pkt, DIGEST *digest);
42 void do_verify(JCR *jcr);
44 /* From heartbeat.c */
45 void start_heartbeat_monitor(JCR *jcr);
46 void stop_heartbeat_monitor(JCR *jcr);
47 void start_dir_heartbeat(JCR *jcr);
48 void stop_dir_heartbeat(JCR *jcr);
51 bacl_exit_code build_acl_streams(JCR *jcr, FF_PKT *ff_pkt);
52 bacl_exit_code parse_acl_streams(JCR *jcr, int stream);
55 bool accurate_finish(JCR *jcr);
56 bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt);
57 bool accurate_mark_file_as_seen(JCR *jcr, char *fname);
58 void accurate_free(JCR *jcr);
61 bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream);
62 void strip_path(FF_PKT *ff_pkt);
63 void unstrip_path(FF_PKT *ff_pkt);
66 bxattr_exit_code build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt);
67 bxattr_exit_code parse_xattr_streams(JCR *jcr, int stream);
70 findFILESET *new_exclude(JCR *jcr);
71 void add_file_to_fileset(JCR *jcr, const char *fname, findFILESET *fileset,