xapian-core  1.4.19
Macros | Functions
copydatabase.cc File Reference

Perform a document-by-document copy of one or more Xapian databases. More...

#include <config.h>
#include <xapian.h>
#include <initializer_list>
#include <iomanip>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <cstring>
+ Include dependency graph for copydatabase.cc:

Go to the source code of this file.

Macros

#define PROG_NAME   "copydatabase"
 
#define PROG_DESC   "Perform a document-by-document copy of one or more Xapian databases"
 

Functions

static void show_usage (int rc)
 
int main (int argc, char **argv)
 

Detailed Description

Perform a document-by-document copy of one or more Xapian databases.

Definition in file copydatabase.cc.

Macro Definition Documentation

◆ PROG_DESC

#define PROG_DESC   "Perform a document-by-document copy of one or more Xapian databases"

Definition at line 36 of file copydatabase.cc.

Referenced by main().

◆ PROG_NAME

#define PROG_NAME   "copydatabase"

Definition at line 35 of file copydatabase.cc.

Referenced by main(), and show_usage().

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ show_usage()

static void show_usage ( int  rc)
static

Definition at line 39 of file copydatabase.cc.

References PROG_NAME.

Referenced by main().