xapian-core
1.4.26
|
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>
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) |
Service database replication requests from clients.
Definition in file xapian-replicate-server.cc.
#define OPT_HELP 1 |
Definition at line 38 of file xapian-replicate-server.cc.
Referenced by main().
#define OPT_VERSION 2 |
Definition at line 39 of file xapian-replicate-server.cc.
Referenced by main().
#define PROG_DESC "Service database replication requests from clients" |
Definition at line 36 of file xapian-replicate-server.cc.
Referenced by main().
#define PROG_NAME "xapian-replicate-server" |
Definition at line 35 of file xapian-replicate-server.cc.
Referenced by main(), and show_usage().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 52 of file xapian-replicate-server.cc.
References Xapian::Error::get_description(), gnu_getopt_long(), no_argument, OPT_HELP, OPT_VERSION, optarg, optind, opts, PACKAGE_STRING, PROG_DESC, PROG_NAME, required_argument, and show_usage().
|
static |
Definition at line 41 of file xapian-replicate-server.cc.
References PROG_NAME.
Referenced by main().