xapian-core
1.4.26
|
Remote server for use with ProgClient. More...
#include <config.h>
#include "net/remoteserver.h"
#include "gnu_getopt.h"
#include <cstdlib>
#include <iostream>
#include <string>
Go to the source code of this file.
Macros | |
#define | PROG_NAME "xapian-progsrv" |
#define | PROG_DESC "Piped server for use with Xapian's remote backend" |
#define | OPT_HELP 1 |
#define | OPT_VERSION 2 |
Functions | |
static void | show_usage () |
int | main (int argc, char **argv) |
Variables | |
static const char * | opts = "t:w" |
static const struct option | long_opts [] |
Remote server for use with ProgClient.
Definition in file xapian-progsrv.cc.
#define OPT_HELP 1 |
Definition at line 36 of file xapian-progsrv.cc.
Referenced by main().
#define OPT_VERSION 2 |
Definition at line 37 of file xapian-progsrv.cc.
Referenced by main().
#define PROG_DESC "Piped server for use with Xapian's remote backend" |
Definition at line 34 of file xapian-progsrv.cc.
Referenced by main().
#define PROG_NAME "xapian-progsrv" |
Definition at line 33 of file xapian-progsrv.cc.
Referenced by main(), and show_usage().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 57 of file xapian-progsrv.cc.
References dbnames, gnu_getopt_long(), OPT_HELP, OPT_VERSION, optarg, optind, opts, PACKAGE_STRING, PROG_DESC, PROG_NAME, RemoteServer::run(), and show_usage().
|
static |
|
static |
Definition at line 40 of file xapian-progsrv.cc.
|
static |
Definition at line 39 of file xapian-progsrv.cc.
Referenced by check_db_fd(), check_db_table(), Xapian::check_stub(), main(), and test_driver::parse_command_line().