Debian Codegraph @

src/search.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2015-2023 by Hans-Peter Deifel *
3 * [email protected] *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *
18 * Boston, MA 02110-1301 USA. *
19 ***************************************************************************/
20
21 #ifndef SEARCH_H
22 #define SEARCH_H
23
24 #include <memory>
25 #include <cpp/poppler-document.h>
26
27 #include "pdfgrep.h"
28 #include "regengine.h"
29 #include "cache.h"
30
31 // Returns the number of matches found in this document
32 int search_document(const Options &opts, std::unique_ptr<poppler::document> doc,
33 std::unique_ptr<Cache> cache, const std::string &filename,
34 const Regengine &re);
35
36
37 #endif /* SEARCH_H */
38
39 /* Local Variables: */
40 /* mode: c++ */
41 /* End: */