YAZ  5.23.1
Functions
zget.c File Reference

Implements Z39.50 package creator utilities. More...

#include <yaz/proto.h>
#include <yaz/oid_db.h>

Go to the source code of this file.

Functions

static Z_InitRequestzget_InitRequest (ODR o)
 
static Z_InitResponsezget_InitResponse (ODR o)
 
static Z_SearchRequestzget_SearchRequest (ODR o)
 
static Z_SearchResponsezget_SearchResponse (ODR o)
 
static Z_PresentRequestzget_PresentRequest (ODR o)
 
static Z_PresentResponsezget_PresentResponse (ODR o)
 
static Z_DeleteResultSetRequestzget_DeleteResultSetRequest (ODR o)
 
static Z_DeleteResultSetResponsezget_DeleteResultSetResponse (ODR o)
 
static Z_ScanRequestzget_ScanRequest (ODR o)
 
static Z_ScanResponsezget_ScanResponse (ODR o)
 
static Z_TriggerResourceControlRequestzget_TriggerResourceControlRequest (ODR o)
 
static Z_ResourceControlRequestzget_ResourceControlRequest (ODR o)
 
static Z_ResourceControlResponsezget_ResourceControlResponse (ODR o)
 
static Z_AccessControlRequestzget_AccessControlRequest (ODR o)
 
static Z_AccessControlResponsezget_AccessControlResponse (ODR o)
 
static Z_Segmentzget_Segment (ODR o)
 
static Z_Closezget_Close (ODR o)
 
static Z_ResourceReportRequestzget_ResourceReportRequest (ODR o)
 
static Z_ResourceReportResponsezget_ResourceReportResponse (ODR o)
 
static Z_SortRequestzget_SortRequest (ODR o)
 
static Z_SortResponsezget_SortResponse (ODR o)
 
static Z_ExtendedServicesRequestzget_ExtendedServicesRequest (ODR o)
 
static Z_ExtendedServicesResponsezget_ExtendedServicesResponse (ODR o)
 
static Z_DuplicateDetectionRequestzget_DuplicateDetectionRequest (ODR o)
 
static Z_DuplicateDetectionResponsezget_DuplicateDetectionResponse (ODR o)
 
Z_APDUzget_APDU (ODR o, int which)
 
Z_DefaultDiagFormatzget_DefaultDiagFormat (ODR o, int error, const char *addinfo)
 Creates Default Diag Format Diagnostic. More...
 
Z_DiagReczget_DiagRec (ODR o, int error, const char *addinfo)
 Creates Diagnostic record - Z_DiagRecs type. More...
 
Z_DiagRecszget_DiagRecs (ODR o, int error, const char *addinfo)
 Creates Diagnostic record - Z_DiagRecs type. More...
 
Z_NamePlusRecordzget_surrogateDiagRec (ODR o, const char *dbname, int error, const char *addinfo)
 Creates Surrogate Diagnostic Records. More...
 
Z_Externalzget_init_diagnostics (ODR odr, int error, const char *addinfo)
 Creates Initialize Response diagnostics. More...
 
Z_Externalzget_init_diagnostics_octet (ODR odr, int error, const char *addinfo)
 Creates Initialize Response diagnostics (Octet-aligned EXTERNAL) More...
 

Detailed Description

Implements Z39.50 package creator utilities.

Definition in file zget.c.

Function Documentation

static Z_AccessControlRequest* zget_AccessControlRequest ( ODR  o)
static
static Z_AccessControlResponse* zget_AccessControlResponse ( ODR  o)
static
Z_APDU* zget_APDU ( ODR  o,
int  which 
)

Definition at line 410 of file zget.c.

References Z_APDU::accessControlRequest, Z_APDU::accessControlResponse, Z_APDU::close, Z_APDU::deleteResultSetRequest, Z_APDU::deleteResultSetResponse, Z_APDU::duplicateDetectionRequest, Z_APDU::duplicateDetectionResponse, Z_APDU::extendedServicesRequest, Z_APDU::extendedServicesResponse, Z_APDU::initRequest, Z_APDU::initResponse, odr_malloc(), Z_APDU::presentRequest, Z_APDU::presentResponse, Z_APDU::resourceControlRequest, Z_APDU::resourceControlResponse, Z_APDU::resourceReportRequest, Z_APDU::resourceReportResponse, Z_APDU::scanRequest, Z_APDU::scanResponse, Z_APDU::searchRequest, Z_APDU::searchResponse, Z_APDU::segmentRequest, Z_APDU::sortRequest, Z_APDU::sortResponse, Z_APDU::triggerResourceControlRequest, Z_APDU::u, Z_APDU::which, Z_APDU_accessControlRequest, Z_APDU_accessControlResponse, Z_APDU_close, Z_APDU_deleteResultSetRequest, Z_APDU_deleteResultSetResponse, Z_APDU_duplicateDetectionRequest, Z_APDU_duplicateDetectionResponse, Z_APDU_extendedServicesRequest, Z_APDU_extendedServicesResponse, Z_APDU_initRequest, Z_APDU_initResponse, Z_APDU_presentRequest, Z_APDU_presentResponse, Z_APDU_resourceControlRequest, Z_APDU_resourceControlResponse, Z_APDU_resourceReportRequest, Z_APDU_resourceReportResponse, Z_APDU_scanRequest, Z_APDU_scanResponse, Z_APDU_searchRequest, Z_APDU_searchResponse, Z_APDU_segmentRequest, Z_APDU_sortRequest, Z_APDU_sortResponse, Z_APDU_triggerResourceControlRequest, zget_AccessControlRequest(), zget_AccessControlResponse(), zget_Close(), zget_DeleteResultSetRequest(), zget_DeleteResultSetResponse(), zget_DuplicateDetectionRequest(), zget_DuplicateDetectionResponse(), zget_ExtendedServicesRequest(), zget_ExtendedServicesResponse(), zget_InitRequest(), zget_InitResponse(), zget_PresentRequest(), zget_PresentResponse(), zget_ResourceControlRequest(), zget_ResourceControlResponse(), zget_ResourceReportRequest(), zget_ResourceReportResponse(), zget_ScanRequest(), zget_ScanResponse(), zget_SearchRequest(), zget_SearchResponse(), zget_Segment(), zget_SortRequest(), zget_SortResponse(), and zget_TriggerResourceControlRequest().

Referenced by create_es_package(), do_close_req(), process_ESRequest(), process_initRequest(), send_Z3950_sort(), Z3950_send_present(), Z3950_send_search(), ZOOM_connection_Z3950_send_init(), and ZOOM_connection_Z3950_send_scan().

static Z_Close* zget_Close ( ODR  o)
static
Z_DefaultDiagFormat* zget_DefaultDiagFormat ( ODR  o,
int  error,
const char *  addinfo 
)
static Z_DeleteResultSetRequest* zget_DeleteResultSetRequest ( ODR  o)
static
static Z_DeleteResultSetResponse* zget_DeleteResultSetResponse ( ODR  o)
static
Z_DiagRec* zget_DiagRec ( ODR  o,
int  error,
const char *  addinfo 
)

Creates Diagnostic record - Z_DiagRecs type.

Definition at line 511 of file zget.c.

References Z_DiagRec::defaultFormat, odr_malloc(), Z_DiagRec::u, Z_DiagRec::which, Z_DiagRec_defaultFormat, and zget_DefaultDiagFormat().

Referenced by zget_DiagRecs().

Z_DiagRecs* zget_DiagRecs ( ODR  o,
int  error,
const char *  addinfo 
)

Creates Diagnostic record - Z_DiagRecs type.

Definition at line 519 of file zget.c.

References Z_DiagRecs::diagRecs, Z_DiagRecs::num_diagRecs, odr_malloc(), and zget_DiagRec().

Referenced by process_ESRequest(), process_scanRequest(), and process_sortRequest().

static Z_DuplicateDetectionRequest* zget_DuplicateDetectionRequest ( ODR  o)
static
static Z_DuplicateDetectionResponse* zget_DuplicateDetectionResponse ( ODR  o)
static
static Z_ExtendedServicesRequest* zget_ExtendedServicesRequest ( ODR  o)
static
static Z_ExtendedServicesResponse* zget_ExtendedServicesResponse ( ODR  o)
static
Z_External* zget_init_diagnostics ( ODR  odr,
int  error,
const char *  addinfo 
)
Z_External* zget_init_diagnostics_octet ( ODR  odr,
int  error,
const char *  addinfo 
)
static Z_InitRequest* zget_InitRequest ( ODR  o)
static
static Z_InitResponse* zget_InitResponse ( ODR  o)
static
static Z_PresentRequest* zget_PresentRequest ( ODR  o)
static
static Z_PresentResponse* zget_PresentResponse ( ODR  o)
static
static Z_ResourceControlRequest* zget_ResourceControlRequest ( ODR  o)
static
static Z_ResourceControlResponse* zget_ResourceControlResponse ( ODR  o)
static
static Z_ResourceReportRequest* zget_ResourceReportRequest ( ODR  o)
static
static Z_ResourceReportResponse* zget_ResourceReportResponse ( ODR  o)
static
static Z_ScanRequest* zget_ScanRequest ( ODR  o)
static
static Z_ScanResponse* zget_ScanResponse ( ODR  o)
static
static Z_SearchRequest* zget_SearchRequest ( ODR  o)
static
static Z_SearchResponse* zget_SearchResponse ( ODR  o)
static
static Z_Segment* zget_Segment ( ODR  o)
static
static Z_SortRequest* zget_SortRequest ( ODR  o)
static
static Z_SortResponse* zget_SortResponse ( ODR  o)
static
Z_NamePlusRecord* zget_surrogateDiagRec ( ODR  o,
const char *  dbname,
int  error,
const char *  addinfo 
)
static Z_TriggerResourceControlRequest* zget_TriggerResourceControlRequest ( ODR  o)
static