YAZ
5.34.0
|
Header for GFS. More...
Go to the source code of this file.
Data Structures | |
struct | bend_search_rr |
Information for Z39.50/SRU search handler. More... | |
struct | bend_present_rr |
Information for present handler. Does not replace bend_fetch. More... | |
struct | bend_fetch_rr |
Information for fetch record handler. More... | |
struct | scan_entry |
Information for scan entry. More... | |
struct | bend_scan_rr |
Information for SRU / Z39.50 scan handler. More... | |
struct | bend_update_rr |
Information for SRU record update handler. More... | |
struct | bend_delete_rr |
Information for Z39.50 delete result set handler. More... | |
struct | bend_sort_rr |
Information for Z39.50 sort handler. More... | |
struct | bend_esrequest_rr |
Information for Z39.50 extended services handler. More... | |
struct | bend_segment_rr |
Information for Z39.50 segment handler. More... | |
struct | bend_explain_rr |
Information for SRU Explain handler. More... | |
struct | bend_initrequest |
Information for the Init handler. More... | |
struct | bend_initresult |
result for init handler (must be filled by handler) More... | |
struct | statserv_options_block |
control block for server More... | |
Macros | |
#define | BEND_NAME_MAX 1024 |
Typedefs | |
typedef struct association * | bend_association |
typedef struct bend_fetch_rr | bend_fetch_rr |
Information for fetch record handler. More... | |
typedef struct bend_scan_rr | bend_scan_rr |
Information for SRU / Z39.50 scan handler. More... | |
typedef struct bend_update_rr | bend_update_rr |
Information for SRU record update handler. More... | |
typedef struct bend_delete_rr | bend_delete_rr |
Information for Z39.50 delete result set handler. More... | |
typedef struct bend_sort_rr | bend_sort_rr |
Information for Z39.50 sort handler. More... | |
typedef struct bend_esrequest_rr | bend_esrequest_rr |
Information for Z39.50 extended services handler. More... | |
typedef struct bend_segment_rr | bend_segment_rr |
Information for Z39.50 segment handler. More... | |
typedef struct bend_initrequest | bend_initrequest |
Information for the Init handler. More... | |
typedef struct bend_initresult | bend_initresult |
result for init handler (must be filled by handler) More... | |
typedef struct statserv_options_block | statserv_options_block |
control block for server More... | |
Enumerations | |
enum | bend_scan_status { BEND_SCAN_SUCCESS , BEND_SCAN_PARTIAL } |
Functions | |
int | statserv_main (int argc, char **argv, bend_initresult *(*bend_init)(bend_initrequest *r), void(*bend_close)(void *handle)) |
statserv_options_block * | statserv_getcontrol (void) |
void | statserv_setcontrol (statserv_options_block *block) |
int | check_ip_tcpd (void *cd, const char *addr, int len, int type) |
int | bend_assoc_is_alive (bend_association assoc) |
Header for GFS.
This header includes all public definitions for the Generic Frontend Server (GFS).
Definition in file backend.h.
typedef struct association* bend_association |
typedef struct bend_delete_rr bend_delete_rr |
Information for Z39.50 delete result set handler.
typedef struct bend_esrequest_rr bend_esrequest_rr |
Information for Z39.50 extended services handler.
typedef struct bend_fetch_rr bend_fetch_rr |
Information for fetch record handler.
typedef struct bend_initrequest bend_initrequest |
Information for the Init handler.
This includes both request information (to be read) and response information which should be set by the bend_init handler
typedef struct bend_initresult bend_initresult |
result for init handler (must be filled by handler)
typedef struct bend_scan_rr bend_scan_rr |
Information for SRU / Z39.50 scan handler.
typedef struct bend_segment_rr bend_segment_rr |
Information for Z39.50 segment handler.
typedef struct bend_sort_rr bend_sort_rr |
Information for Z39.50 sort handler.
typedef struct bend_update_rr bend_update_rr |
Information for SRU record update handler.
typedef struct statserv_options_block statserv_options_block |
control block for server
enum bend_scan_status |
int bend_assoc_is_alive | ( | bend_association | assoc | ) |
Definition at line 3550 of file seshigh.c.
References ASSOC_DEAD, association::client_chan, iochan_is_alive(), and association::state.
Referenced by check_slow().
int check_ip_tcpd | ( | void * | cd, |
const char * | addr, | ||
int | len, | ||
int | type | ||
) |
Definition at line 56 of file tcpdchk.c.
References type, yaz_log(), and YLOG_DEBUG.
statserv_options_block* statserv_getcontrol | ( | void | ) |
Definition at line 1215 of file statserv.c.
References control_block, and current_control_block.
Referenced by destroy_association(), process_initRequest(), and srw_bend_init().
int statserv_main | ( | int | argc, |
char ** | argv, | ||
bend_initresult *(*)(bend_initrequest *r) | bend_init, | ||
void(*)(void *handle) | bend_close | ||
) |
Definition at line 1504 of file statserv.c.
References bend_close(), statserv_options_block::bend_close, bend_init(), statserv_options_block::bend_init, control_block, statserv_sc_main(), statserv_sc_stop(), yaz_sc_create(), yaz_sc_destroy(), and yaz_sc_program().
Referenced by main().
void statserv_setcontrol | ( | statserv_options_block * | block | ) |
Definition at line 1235 of file statserv.c.
References current_control_block, gfs_root_dir, yaz_log(), YLOG_ERRNO, and YLOG_WARN.
Referenced by control_association(), xml_config_bend_start(), and xml_config_bend_stop().