]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/filed/protos.h
Convert to pure GPL v2 license.
[bacula/bacula] / bacula / src / filed / protos.h
1 /*
2  *   Version $Id$
3  */
4 /*
5    Bacula® - The Network Backup Solution
6
7    Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
8
9    The main author of Bacula is Kern Sibbald, with contributions from
10    many others, a complete list can be found in the file AUTHORS.
11    This program is Free Software; you can redistribute it and/or
12    modify it under the terms of version two of the GNU General Public
13    License as published by the Free Software Foundation and included
14    in the file LICENSE.
15
16    This program is distributed in the hope that it will be useful, but
17    WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19    General Public License for more details.
20
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24    02110-1301, USA.
25
26    Bacula® is a registered trademark of John Walker.
27    The licensor of Bacula is the Free Software Foundation Europe
28    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
29    Switzerland, email:ftf@fsfeurope.org.
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 int bacl_get(JCR *jcr, int acltype);
51 int bacl_set(JCR *jcr, int acltype);