YAZ  5.23.1
Data Fields
bend_initrequest Struct Reference

Information for the Init handler. More...

#include <backend.h>

Data Fields

Z_IdAuthenticationauth
 user/name/password to be read More...
 
ODR stream
 encoding stream (for results) More...
 
ODR print
 printing stream More...
 
ODR decode
 decoding stream (use stream for results) More...
 
Z_ReferenceIdreferenceId
 reference ID More...
 
char * peer_name
 peer address of client More...
 
Z_CharSetandLanguageNegotiationcharneg_request
 character set and language negotiation More...
 
Z_Externalcharneg_response
 character negotiation response More...
 
char * query_charset
 character set (encoding) for query terms More...
 
int records_in_same_charset
 whether query_charset also applies to records More...
 
char * implementation_id
 
char * implementation_name
 
char * implementation_version
 
int(* bend_sort )(void *handle, bend_sort_rr *rr)
 Z39.50 sort handler. More...
 
int(* bend_search )(void *handle, bend_search_rr *rr)
 SRU/Z39.50 search handler. More...
 
int(* bend_fetch )(void *handle, bend_fetch_rr *rr)
 SRU/Z39.50 fetch handler. More...
 
int(* bend_present )(void *handle, bend_present_rr *rr)
 SRU/Z39.50 present handler. More...
 
int(* bend_esrequest )(void *handle, bend_esrequest_rr *rr)
 Z39.50 extended services handler. More...
 
int(* bend_delete )(void *handle, bend_delete_rr *rr)
 Z39.50 delete result set handler. More...
 
int(* bend_scan )(void *handle, bend_scan_rr *rr)
 Z39.50 scan handler. More...
 
int(* bend_segment )(void *handle, bend_segment_rr *rr)
 Z39.50 segment facility handler. More...
 
int(* bend_explain )(void *handle, bend_explain_rr *rr)
 SRU explain handler. More...
 
int(* bend_srw_scan )(void *handle, bend_scan_rr *rr)
 SRU scan handler. More...
 
int(* bend_srw_update )(void *handle, bend_update_rr *rr)
 SRU record update handler. More...
 
int named_result_sets
 whether named result sets are supported (0=disable, 1=enable) More...
 

Detailed Description

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

Definition at line 251 of file backend.h.

Field Documentation

Z_IdAuthentication* bend_initrequest::auth

user/name/password to be read

Definition at line 254 of file backend.h.

Referenced by assoc_init_reset(), process_initRequest(), and srw_bend_init().

int(* bend_initrequest::bend_delete) (void *handle, bend_delete_rr *rr)

Z39.50 delete result set handler.

Definition at line 303 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), process_deleteRequest(), process_initRequest(), and process_z_request().

int(* bend_initrequest::bend_esrequest) (void *handle, bend_esrequest_rr *rr)

Z39.50 extended services handler.

Definition at line 301 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), process_ESRequest(), process_initRequest(), and process_z_request().

int(* bend_initrequest::bend_explain) (void *handle, bend_explain_rr *rr)

SRU explain handler.

Definition at line 309 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), and srw_bend_explain().

int(* bend_initrequest::bend_fetch) (void *handle, bend_fetch_rr *rr)

SRU/Z39.50 fetch handler.

Definition at line 297 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), my_init(), retrieve_fetch(), and srw_bend_fetch().

int(* bend_initrequest::bend_present) (void *handle, bend_present_rr *rr)

SRU/Z39.50 present handler.

Definition at line 299 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), process_initRequest(), process_presentRequest(), response_searchRequest(), and srw_bend_search().

int(* bend_initrequest::bend_scan) (void *handle, bend_scan_rr *rr)

Z39.50 scan handler.

Definition at line 305 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), process_initRequest(), process_scanRequest(), process_z_request(), and srw_bend_scan().

int(* bend_initrequest::bend_search) (void *handle, bend_search_rr *rr)

SRU/Z39.50 search handler.

Definition at line 295 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), my_init(), process_initRequest(), process_searchRequest(), and srw_bend_search().

int(* bend_initrequest::bend_segment) (void *handle, bend_segment_rr *rr)

Z39.50 segment facility handler.

Definition at line 307 of file backend.h.

Referenced by assoc_init_reset(), process_initRequest(), process_segmentRequest(), and process_z_request().

int(* bend_initrequest::bend_sort) (void *handle, bend_sort_rr *rr)

Z39.50 sort handler.

Definition at line 293 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), process_initRequest(), process_sortRequest(), and process_z_request().

int(* bend_initrequest::bend_srw_scan) (void *handle, bend_scan_rr *rr)

SRU scan handler.

Definition at line 311 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), and srw_bend_scan().

int(* bend_initrequest::bend_srw_update) (void *handle, bend_update_rr *rr)

SRU record update handler.

Definition at line 313 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), and srw_bend_update().

Z_CharSetandLanguageNegotiation* bend_initrequest::charneg_request

character set and language negotiation

see include/yaz/z-charneg.h

Definition at line 270 of file backend.h.

Referenced by assoc_init_reset(), process_initRequest(), and srw_bend_init().

Z_External* bend_initrequest::charneg_response

character negotiation response

Definition at line 273 of file backend.h.

Referenced by assoc_init_reset(), and process_initRequest().

ODR bend_initrequest::decode

decoding stream (use stream for results)

Definition at line 260 of file backend.h.

Referenced by assoc_init_reset().

char* bend_initrequest::implementation_id

Definition at line 288 of file backend.h.

Referenced by assoc_init_reset(), and process_initRequest().

char* bend_initrequest::implementation_name

Definition at line 289 of file backend.h.

Referenced by assoc_init_reset(), and process_initRequest().

char* bend_initrequest::implementation_version

Definition at line 290 of file backend.h.

Referenced by assoc_init_reset(), and process_initRequest().

int bend_initrequest::named_result_sets

whether named result sets are supported (0=disable, 1=enable)

Definition at line 316 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), and process_initRequest().

char* bend_initrequest::peer_name

peer address of client

Definition at line 264 of file backend.h.

Referenced by assoc_init_reset().

ODR bend_initrequest::print

printing stream

Definition at line 258 of file backend.h.

Referenced by assoc_init_reset().

char* bend_initrequest::query_charset

character set (encoding) for query terms

This is NULL by default. It should be set to the native character set that the backend assumes for query terms

Definition at line 279 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), my_init(), and process_initRequest().

int bend_initrequest::records_in_same_charset

whether query_charset also applies to records

Is 0 (No) by default. Set to 1 (yes) if records is in the same character set as queries. If in doubt, use 0 (No).

Definition at line 286 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), my_init(), and process_initRequest().

Z_ReferenceId* bend_initrequest::referenceId

reference ID

Definition at line 262 of file backend.h.

Referenced by assoc_init_reset(), and process_initRequest().

ODR bend_initrequest::stream

encoding stream (for results)

Definition at line 256 of file backend.h.

Referenced by assoc_init_reset(), bend_init(), and my_init().


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