xapian-core  2.0.0
Functions
honey_dbcheck.h File Reference

Check a honey table. More...

#include "xapian/types.h"
#include <sys/types.h>
#include <iosfwd>
#include <string>
#include <string_view>
#include <vector>
+ Include dependency graph for honey_dbcheck.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t check_honey_table (const char *tablename, std::string_view db_dir, int fd, off_t offset_, const HoneyVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out)
 
size_t check_honey_table (const char *tablename, std::string_view db_dir, const HoneyVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out)
 
size_t check_honey_table (const char *tablename, int fd, off_t offset_, const HoneyVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out)
 

Detailed Description

Check a honey table.

Definition in file honey_dbcheck.h.

Function Documentation

◆ check_honey_table() [1/3]

size_t check_honey_table ( const char *  tablename,
int  fd,
off_t  offset_,
const HoneyVersion version_file,
int  opts,
std::vector< Xapian::termcount > &  doclens,
std::ostream *  out 
)
inline

Definition at line 51 of file honey_dbcheck.h.

References check_honey_table(), HoneyVersion::fd, and opts.

◆ check_honey_table() [2/3]

size_t check_honey_table ( const char *  tablename,
std::string_view  db_dir,
const HoneyVersion version_file,
int  opts,
std::vector< Xapian::termcount > &  doclens,
std::ostream *  out 
)
inline

Definition at line 41 of file honey_dbcheck.h.

References check_honey_table(), HoneyVersion::db_dir, and opts.

◆ check_honey_table() [3/3]

size_t check_honey_table ( const char *  tablename,
std::string_view  db_dir,
int  fd,
off_t  offset_,
const HoneyVersion version_file,
int  opts,
std::vector< Xapian::termcount > &  doclens,
std::ostream *  out 
)

Definition at line 28 of file honey_dbcheck.cc.

References opts.

Referenced by check_db_dir(), check_db_table(), and check_honey_table().