]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/filed/protos.h
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / filed / protos.h
1 /*
2    Bacula® - The Network Backup Solution
3
4    Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
5
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
11    in the file LICENSE.
12
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.
17
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
21    02110-1301, USA.
22
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.
27 */
28 /*
29  *   Version $Id$
30  */
31
32 extern bool blast_data_to_storage_daemon(JCR *jcr, char *addr);
33 extern void do_verify_volume(JCR *jcr);
34 extern void do_restore(JCR *jcr);
35 extern int authenticate_director(JCR *jcr);
36 extern int authenticate_storagedaemon(JCR *jcr);
37 extern int make_estimate(JCR *jcr);
38
39 /* From verify.c */
40 int digest_file(JCR *jcr, FF_PKT *ff_pkt, DIGEST *digest);
41 void do_verify(JCR *jcr);
42
43 /* From heartbeat.c */
44 void start_heartbeat_monitor(JCR *jcr);
45 void stop_heartbeat_monitor(JCR *jcr);
46 void start_dir_heartbeat(JCR *jcr);
47 void stop_dir_heartbeat(JCR *jcr);
48
49 /* From acl.c */
50 bacl_exit_code build_acl_streams(JCR *jcr, FF_PKT *ff_pkt);
51 bacl_exit_code parse_acl_streams(JCR *jcr, int stream);
52
53 /* from accurate.c */
54 bool accurate_finish(JCR *jcr);
55 bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt);
56 bool accurate_mark_file_as_seen(JCR *jcr, char *fname);
57 void accurate_free(JCR *jcr);
58
59 /* from backup.c */
60 bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream);
61 void strip_path(FF_PKT *ff_pkt);
62 void unstrip_path(FF_PKT *ff_pkt);
63
64 /* from xattr.c */
65 bxattr_exit_code build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt);
66 bxattr_exit_code parse_xattr_streams(JCR *jcr, int stream);