YAZ  5.23.1
Data Fields
statserv_options_block Struct Reference

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
 

Detailed Description

control block for server

Definition at line 330 of file backend.h.

Field Documentation

char statserv_options_block::apdufile[BEND_NAME_MAX]

file for pretty-printed PDUs

Definition at line 335 of file backend.h.

Referenced by check_options(), inetd_connection(), new_session(), and xml_config_bend_stop().

int statserv_options_block::background

auto daemon

Definition at line 361 of file backend.h.

Referenced by check_options(), and statserv_sc_main().

void(* statserv_options_block::bend_close) (void *handle)
bend_initresult*(* statserv_options_block::bend_init) (bend_initrequest *r)

Definition at line 350 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 342 of file backend.h.

Referenced by xml_config_bend_start().

void(* statserv_options_block::bend_stop) (struct statserv_options_block *p)

Definition at line 343 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 362 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 345 of file backend.h.

Referenced by listener().

char statserv_options_block::configname[BEND_NAME_MAX]
char statserv_options_block::daemon_name[BEND_NAME_MAX]

Definition at line 346 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 332 of file backend.h.

Referenced by add_listener(), check_options(), listener(), and statserv_sc_main().

void* statserv_options_block::handle

Handle

Definition at line 349 of file backend.h.

int statserv_options_block::idle_timeout

how many minutes to wait before closing

Definition at line 338 of file backend.h.

Referenced by check_options(), process_initRequest(), and xml_config_bend_stop().

int statserv_options_block::inetd

Do we use the inet daemon or not

Definition at line 347 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 364 of file backend.h.

Referenced by check_options(), and process_http_request().

char statserv_options_block::logfile[BEND_NAME_MAX]

file for diagnostic output

Definition at line 336 of file backend.h.

Referenced by check_options().

int statserv_options_block::maxrecordsize

maximum value for negotiation

Definition at line 339 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 334 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 344 of file backend.h.

Referenced by statserv_sc_main().

char statserv_options_block::pid_fname[BEND_NAME_MAX]

pid fname

Definition at line 360 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 341 of file backend.h.

Referenced by check_options(), and statserv_sc_main().

int statserv_options_block::threads

use threads

Definition at line 333 of file backend.h.

Referenced by add_listener(), check_options(), listener(), and new_session().

char statserv_options_block::xml_config[BEND_NAME_MAX]

The documentation for this struct was generated from the following file: