xapian-core
2.0.0
backends
honey
honey_dbcheck.cc
Go to the documentation of this file.
1
4
/* Copyright (C) 2019,2024 Olly Betts
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation; either version 2 of the
9
* License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, see
18
* <https://www.gnu.org/licenses/>.
19
*/
20
21
#include <
config.h
>
22
23
#include "
honey_dbcheck.h
"
24
25
using namespace
std;
26
27
size_t
28
check_honey_table
(
const
char
* tablename,
29
string_view db_dir,
30
int
fd,
31
off_t offset_,
32
const
HoneyVersion
& version_file,
33
int
opts
,
34
vector<Xapian::termcount>& doclens,
35
ostream* out)
36
{
37
(void)tablename;
38
(void)db_dir;
39
(void)fd;
40
(void)offset_;
41
(void)version_file;
42
(void)
opts
;
43
(void)doclens;
44
(void)out;
45
// Dummy implementation for now.
46
return
0;
47
}
HoneyVersion
The HoneyVersion class manages the revision files.
Definition:
honey_version.h:79
config.h
check_honey_table
size_t check_honey_table(const char *tablename, string_view db_dir, int fd, off_t offset_, const HoneyVersion &version_file, int opts, vector< Xapian::termcount > &doclens, ostream *out)
Definition:
honey_dbcheck.cc:28
honey_dbcheck.h
Check a honey table.
opts
static const char * opts
Definition:
xapian-progsrv.cc:40
Generated by
Doxygen 1.9.1