xapian-core  1.4.27
Macros | Functions
xapian-replicate-server.cc File Reference

Service database replication requests from clients. More...

#include <config.h>
#include "net/replicatetcpserver.h"
#include <xapian.h>
#include "gnu_getopt.h"
#include <cstdlib>
#include <iostream>
+ Include dependency graph for xapian-replicate-server.cc:

Go to the source code of this file.

Macros

#define PROG_NAME   "xapian-replicate-server"
 
#define PROG_DESC   "Service database replication requests from clients"
 
#define OPT_HELP   1
 
#define OPT_VERSION   2
 

Functions

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

Detailed Description

Service database replication requests from clients.

Definition in file xapian-replicate-server.cc.

Macro Definition Documentation

◆ OPT_HELP

#define OPT_HELP   1

Definition at line 38 of file xapian-replicate-server.cc.

Referenced by main().

◆ OPT_VERSION

#define OPT_VERSION   2

Definition at line 39 of file xapian-replicate-server.cc.

Referenced by main().

◆ PROG_DESC

#define PROG_DESC   "Service database replication requests from clients"

Definition at line 36 of file xapian-replicate-server.cc.

Referenced by main().

◆ PROG_NAME

#define PROG_NAME   "xapian-replicate-server"

Definition at line 35 of file xapian-replicate-server.cc.

Referenced by main(), and show_usage().

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ show_usage()

static void show_usage ( )
static

Definition at line 41 of file xapian-replicate-server.cc.

References PROG_NAME.

Referenced by main().