1 /*
2    BAREOS® - Backup Archiving REcovery Open Sourced
3 
4    Copyright (C) 2018-2018 Bareos GmbH & Co. KG
5 
6    This program is Free Software; you can redistribute it and/or
7    modify it under the terms of version three of the GNU Affero General Public
8    License as published by the Free Software Foundation and included
9    in the file LICENSE.
10 
11    This program is distributed in the hope that it will be useful, but
12    WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14    Affero General Public License for more details.
15 
16    You should have received a copy of the GNU Affero General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19    02110-1301, USA.
20 */
21 #ifndef BAREOS_FINDLIB_FIND_ONE_H_
22 #define BAREOS_FINDLIB_FIND_ONE_H_
23 
24 int FindOneFile(JobControlRecord* jcr,
25                 FindFilesPacket* ff,
26                 int HandleFile(JobControlRecord* jcr,
27                                FindFilesPacket* ff_pkt,
28                                bool top_level),
29                 char* p,
30                 dev_t parent_device,
31                 bool top_level);
32 int TermFindOne(FindFilesPacket* ff);
33 bool HasFileChanged(JobControlRecord* jcr, FindFilesPacket* ff_pkt);
34 bool CheckChanges(JobControlRecord* jcr, FindFilesPacket* ff_pkt);
35 
36 #endif  // BAREOS_FINDLIB_FIND_ONE_H_
37