X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiled%2Fprotos.h;h=b5daaa8c1903a05a74e6c3d933d9864c409a7745;hb=6a6ba0b8050810cbd07d73fbdef4eb6c80586def;hp=a2feeaf26de01043e16470ad40c804a5b3e6ab4d;hpb=80b7d4d007b8bf4a4aee71c7e2a28eb091c6d05b;p=bacula%2Fbacula diff --git a/bacula/src/filed/protos.h b/bacula/src/filed/protos.h index a2feeaf26d..b5daaa8c19 100644 --- a/bacula/src/filed/protos.h +++ b/bacula/src/filed/protos.h @@ -1,37 +1,66 @@ /* - * Version $Id$ - */ + Bacula® - The Network Backup Solution -/* - Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker + Copyright (C) 2000-2009 Free Software Foundation Europe e.V. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + 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 + License as published by the Free Software Foundation and included + in the file LICENSE. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of 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 along with this program; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + You should have received a copy of the GNU 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. + 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. +*/ +/* + * Version $Id$ */ -extern int blast_data_to_storage_daemon(JCR *jcr, char *addr); -extern void do_verify(JCR *jcr); +extern bool blast_data_to_storage_daemon(JCR *jcr, char *addr); extern void do_verify_volume(JCR *jcr); extern void do_restore(JCR *jcr); extern int authenticate_director(JCR *jcr); extern int authenticate_storagedaemon(JCR *jcr); extern int make_estimate(JCR *jcr); +/* From verify.c */ +int digest_file(JCR *jcr, FF_PKT *ff_pkt, DIGEST *digest); +void do_verify(JCR *jcr); + /* From heartbeat.c */ void start_heartbeat_monitor(JCR *jcr); void stop_heartbeat_monitor(JCR *jcr); void start_dir_heartbeat(JCR *jcr); void stop_dir_heartbeat(JCR *jcr); + +/* From acl.c */ +bool build_acl_streams(JCR *jcr, FF_PKT *ff_pkt); +bool parse_acl_stream(JCR *jcr, int stream); + +/* from accurate.c */ +bool accurate_send_deleted_list(JCR *jcr); +bool accurate_check_file(JCR *jcr, FF_PKT *ff_pkt); +bool accurate_mark_file_as_seen(JCR *jcr, char *fname); +void accurate_free(JCR *jcr); + +/* from backup.c */ +bool encode_and_send_attributes(JCR *jcr, FF_PKT *ff_pkt, int &data_stream); +void strip_path(FF_PKT *ff_pkt); +void unstrip_path(FF_PKT *ff_pkt); + +/* from xattr.c */ +bool build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt); +bool parse_xattr_stream(JCR *jcr, int stream);