YAZ
5.34.0
|
control block for server More...
#include <backend.h>
Data Fields | |
int | dynamic |
int | threads |
int | one_shot |
char | apdufile [BEND_NAME_MAX] |
char | logfile [BEND_NAME_MAX] |
enum oid_proto | default_proto |
int | idle_timeout |
int | maxrecordsize |
char | configname [BEND_NAME_MAX] |
char | setuid [BEND_NAME_MAX] |
void(* | bend_start )(struct statserv_options_block *p) |
void(* | bend_stop )(struct statserv_options_block *p) |
int(* | options_func )(int argc, char **argv) |
int(* | check_ip )(void *cd, const char *addr, int len, int type) |
char | daemon_name [BEND_NAME_MAX] |
int | inetd |
void * | handle |
bend_initresult *(* | bend_init )(bend_initrequest *r) |
void(* | bend_close )(void *handle) |
char | pid_fname [BEND_NAME_MAX] |
int | background |
char | cert_fname [BEND_NAME_MAX] |
char | xml_config [BEND_NAME_MAX] |
int | keepalive |
char statserv_options_block::apdufile[BEND_NAME_MAX] |
file for pretty-printed PDUs
Definition at line 336 of file backend.h.
Referenced by check_options(), inetd_connection(), and new_session().
int statserv_options_block::background |
auto daemon
Definition at line 362 of file backend.h.
Referenced by check_options(), and statserv_sc_main().
void(* statserv_options_block::bend_close) (void *handle) |
Definition at line 352 of file backend.h.
Referenced by control_association(), destroy_association(), process_initRequest(), and statserv_main().
bend_initresult*(* statserv_options_block::bend_init) (bend_initrequest *r) |
Definition at line 351 of file backend.h.
Referenced by process_initRequest(), srw_bend_init(), and statserv_main().
void(* statserv_options_block::bend_start) (struct statserv_options_block *p) |
Definition at line 343 of file backend.h.
Referenced by xml_config_bend_start().
void(* statserv_options_block::bend_stop) (struct statserv_options_block *p) |
Definition at line 344 of file backend.h.
Referenced by listener(), and xml_config_bend_stop().
char statserv_options_block::cert_fname[BEND_NAME_MAX] |
SSL certificate fname
Definition at line 363 of file backend.h.
Referenced by add_listener(), and check_options().
int(* statserv_options_block::check_ip) (void *cd, const char *addr, int len, int type) |
Definition at line 346 of file backend.h.
Referenced by listener().
char statserv_options_block::configname[BEND_NAME_MAX] |
given to the backend in bend_init
Definition at line 341 of file backend.h.
Referenced by check_options(), control_association(), process_initRequest(), srw_bend_init(), xml_config_bend_start(), xml_config_bend_stop(), and xml_config_read().
char statserv_options_block::daemon_name[BEND_NAME_MAX] |
Definition at line 347 of file backend.h.
Referenced by check_options(), and listener().
enum oid_proto statserv_options_block::default_proto |
PROTO_SR or PROTO_Z3950
Definition at line 337 of file backend.h.
Referenced by check_options(), and statserv_sc_main().
int statserv_options_block::dynamic |
fork on incoming requests
Definition at line 333 of file backend.h.
Referenced by add_listener(), check_options(), listener(), and statserv_sc_main().
int statserv_options_block::idle_timeout |
how many minutes to wait before closing
Definition at line 339 of file backend.h.
Referenced by check_options(), and process_initRequest().
int statserv_options_block::inetd |
Do we use the inet daemon or not
Definition at line 348 of file backend.h.
Referenced by check_options(), and statserv_sc_main().
int statserv_options_block::keepalive |
keep alive if HTTP 1.1 (default: 1)
Definition at line 365 of file backend.h.
Referenced by check_options(), and process_http_request().
char statserv_options_block::logfile[BEND_NAME_MAX] |
int statserv_options_block::maxrecordsize |
maximum value for negotiation
Definition at line 340 of file backend.h.
Referenced by check_options(), control_association(), and xml_config_read().
int statserv_options_block::one_shot |
one session then exit(1)
Definition at line 335 of file backend.h.
Referenced by check_options(), listener(), and new_session().
int(* statserv_options_block::options_func) (int argc, char **argv) |
Definition at line 345 of file backend.h.
Referenced by statserv_sc_main().
char statserv_options_block::pid_fname[BEND_NAME_MAX] |
pid fname
Definition at line 361 of file backend.h.
Referenced by check_options(), and statserv_sc_main().
char statserv_options_block::setuid[BEND_NAME_MAX] |
setuid to this user after binding
Definition at line 342 of file backend.h.
Referenced by check_options(), and statserv_sc_main().
int statserv_options_block::threads |
use threads
Definition at line 334 of file backend.h.
Referenced by add_listener(), check_options(), listener(), and new_session().
char statserv_options_block::xml_config[BEND_NAME_MAX] |
XML config filename
Definition at line 364 of file backend.h.
Referenced by check_options(), control_association(), xml_config_bend_start(), xml_config_bend_stop(), xml_config_get_root(), xml_config_open(), and xml_config_read().