X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffindlib%2Fprotos.h;h=4999a1fb55a283e30d7fb74750ab95fbcae1102a;hb=fb023b61aa95fdf2763963be726e18b896d6c01f;hp=13288582469f22724f4366c39ba93acc55ab3a8c;hpb=ddc306384a29e8b60f1c48ffc57e955f7277779b;p=bacula%2Fbacula diff --git a/bacula/src/findlib/protos.h b/bacula/src/findlib/protos.h index 1328858246..4999a1fb55 100644 --- a/bacula/src/findlib/protos.h +++ b/bacula/src/findlib/protos.h @@ -4,24 +4,33 @@ * Version $Id$ */ /* - Copyright (C) 2000-2005 Kern Sibbald + Bacula® - The Network Backup Solution - 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. + Copyright (C) 2000-2006 Free Software Foundation Europe e.V. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of + 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 plus additions + that are listed 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 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 John Walker. + The licensor of Bacula is the Free Software Foundation Europe + (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, + Switzerland, email:ftf@fsfeurope.org. +*/ - */ /* from attribs.c */ void encode_stat (char *buf, FF_PKT *ff_pkt, int data_stream); int decode_stat (char *buf, struct stat *statp, int32_t *LinkFI); @@ -36,9 +45,10 @@ 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), void *pkt); -int match_files(JCR *jcr, FF_PKT *ff, int sub(FF_PKT *ff_pkt, void *hpkt), void *pkt); +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); int term_find_files(FF_PKT *ff); +int get_win32_driveletters(FF_PKT *ff, char* szDrives); /* From match.c */ void init_include_exclude_files(FF_PKT *ff); @@ -51,8 +61,9 @@ struct s_included_file *get_next_included_file(FF_PKT *ff, struct s_included_file *inc); /* From find_one.c */ -int find_one_file(JCR *jcr, FF_PKT *ff, int handle_file(FF_PKT *ff_pkt, void *hpkt), - void *pkt, char *p, dev_t parent_device, int top_level); +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 term_find_one(FF_PKT *ff); @@ -68,4 +79,7 @@ int make_path(JCR *jcr, const char *argpath, int mode, /* from fstype.c */ bool fstype(const char *fname, char *fs, int fslen); +/* from drivetype.c */ +bool drivetype(const char *fname, char *fs, int fslen); + /* from bfile.c -- see bfile.h */