#include <yaz/yconfig.h>
#include <yaz/proto.h>
#include <yaz/srw.h>
#include <yaz/oid_db.h>
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... | |
Typedefs | |
| typedef struct request * | bend_request |
| typedef struct association * | bend_association |
Enumerations | |
| enum | bend_scan_status { BEND_SCAN_SUCCESS, BEND_SCAN_PARTIAL } |
Functions | |
| void | bend_request_send (bend_association a, bend_request req, Z_APDU *res) |
| bend_request | bend_request_mk (bend_association a) |
| void | bend_request_destroy (bend_request *req) |
| Z_ReferenceId * | bend_request_getid (ODR odr, bend_request req) |
| int | bend_backend_respond (bend_association a, bend_request req) |
| void | bend_request_setdata (bend_request r, void *p) |
| void * | bend_request_getdata (bend_request r) |
| 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) |
This header includes all public definitions for the Generic Frontend Server (GFS).
Definition in file backend.h.
| typedef struct association* bend_association |
| typedef struct request* bend_request |
| enum bend_scan_status |
| int bend_assoc_is_alive | ( | bend_association | assoc | ) |
Definition at line 3527 of file seshigh.c.
References ASSOC_DEAD, association::client_chan, iochan_is_alive(), and association::state.
Referenced by ztest_search().
| int bend_backend_respond | ( | bend_association | a, | |
| bend_request | req | |||
| ) |
| void bend_request_destroy | ( | bend_request * | req | ) |
| void* bend_request_getdata | ( | bend_request | r | ) |
| Z_ReferenceId* bend_request_getid | ( | ODR | odr, | |
| bend_request | req | |||
| ) |
Definition at line 3384 of file seshigh.c.
References odr_oct::buf, request::len_refid, odr_malloc(), and request::refid.
| bend_request bend_request_mk | ( | bend_association | a | ) |
Definition at line 3377 of file seshigh.c.
References nmem_create(), association::outgoing, request_get(), and request::request_mem.
| void bend_request_send | ( | bend_association | a, | |
| bend_request | req, | |||
| Z_APDU * | res | |||
| ) |
| void bend_request_setdata | ( | bend_request | r, | |
| void * | p | |||
| ) |
| int check_ip_tcpd | ( | void * | cd, | |
| const char * | addr, | |||
| int | len, | |||
| int | type | |||
| ) |
Definition at line 52 of file tcpdchk.c.
References statserv_options_block::daemon_name, yaz_log(), and YLOG_DEBUG.
| statserv_options_block* statserv_getcontrol | ( | void | ) |
| int statserv_main | ( | int | argc, | |
| char ** | argv, | |||
| bend_initresult *(*)(bend_initrequest *r) | bend_init, | |||
| void(*)(void *handle) | bend_close | |||
| ) |
Definition at line 1498 of file statserv.c.
References bend_close(), statserv_options_block::bend_close, bend_init(), statserv_options_block::bend_init, statserv_sc_stop(), yaz_sc_create(), yaz_sc_destroy(), and yaz_sc_program().
Referenced by main().
| void statserv_setcontrol | ( | statserv_options_block * | block | ) |
1.5.6