xapian-core
1.4.27
|
Tool to check the consistency of a database or table. More...
#include <config.h>
#include <xapian.h>
#include <cstdlib>
#include <cstring>
#include <stdexcept>
#include <iostream>
Go to the source code of this file.
Macros | |
#define | PROG_NAME "xapian-check" |
#define | PROG_DESC "Check the consistency of a database or table" |
Functions | |
static void | show_usage () |
int | main (int argc, char **argv) |
Tool to check the consistency of a database or table.
Definition in file xapian-check.cc.
#define PROG_DESC "Check the consistency of a database or table" |
Definition at line 35 of file xapian-check.cc.
Referenced by main().
#define PROG_NAME "xapian-check" |
Definition at line 34 of file xapian-check.cc.
Referenced by main(), and show_usage().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 53 of file xapian-check.cc.
References Xapian::Database::check(), Xapian::DBCHECK_FIX, Xapian::DBCHECK_FULL_TREE, Xapian::DBCHECK_SHORT_TREE, Xapian::DBCHECK_SHOW_FREELIST, Xapian::DBCHECK_SHOW_STATS, Xapian::Error::get_description(), opts, PACKAGE_STRING, PROG_DESC, PROG_NAME, and show_usage().
|
static |