metaproxy
1.21.0
|
#include "config.hpp"
#include <sys/resource.h>
#include <yaz/log.h>
#include <yaz/options.h>
#include <yaz/daemon.h>
#include <yaz/sc.h>
#include <yaz/backtrace.h>
#include <iostream>
#include <stdexcept>
#include <libxml/xinclude.h>
#include <metaproxy/filter.hpp>
#include <metaproxy/package.hpp>
#include <metaproxy/util.hpp>
#include <metaproxy/router_xml.hpp>
#include <unistd.h>
#include <signal.h>
Go to the source code of this file.
Functions | |
static void | set_log_prefix (void) |
static void | sig_x_handler (int signo) |
static void | work_common (void *data) |
static void | work_debug (void *data) |
static void | work_normal (void *data) |
static int | sc_main (yaz_sc_t s, int argc, char **argv) |
static void | sc_stop (yaz_sc_t s) |
int | main (int argc, char **argv) |
Variables | |
mp::RouterXML * | routerp = 0 |
static pid_t | process_group = 0 |
static int | sig_received = 0 |
static pid_t | my_pid = 0 |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 326 of file metaproxy_prog.cpp.
References sc_main(), and sc_stop().
|
static |
Definition at line 119 of file metaproxy_prog.cpp.
References set_log_prefix(), VERSION, VERSION_SHA1, work_debug(), and work_normal().
Referenced by main().
|
static |
|
static |
|
static |
Definition at line 69 of file metaproxy_prog.cpp.
References my_pid, process_group, routerp, and sig_received.
Referenced by work_common().
|
static |
Definition at line 84 of file metaproxy_prog.cpp.
References my_pid, process_group, routerp, set_log_prefix(), and sig_x_handler().
Referenced by work_debug(), and work_normal().
|
static |
Definition at line 105 of file metaproxy_prog.cpp.
References work_common().
Referenced by sc_main().
|
static |
Definition at line 110 of file metaproxy_prog.cpp.
References work_common().
Referenced by sc_main().
|
static |
Definition at line 67 of file metaproxy_prog.cpp.
Referenced by sig_x_handler(), and work_common().
|
static |
Definition at line 65 of file metaproxy_prog.cpp.
Referenced by sig_x_handler(), and work_common().
mp::RouterXML* routerp = 0 |
Definition at line 52 of file metaproxy_prog.cpp.
Referenced by sig_x_handler(), and work_common().
|
static |
Definition at line 66 of file metaproxy_prog.cpp.
Referenced by sig_x_handler().