YAZ
5.34.0
|
Header for Z39.50 OtherInfo utilities. More...
#include <yaz/proto.h>
Go to the source code of this file.
Functions | |
void | yaz_oi_APDU (Z_APDU *apdu, Z_OtherInformation ***oip) |
Z_OtherInformationUnit * | yaz_oi_update (Z_OtherInformation **otherInformationP, ODR odr, const Odr_oid *oid, int categoryValue, int delete_flag) |
void | yaz_oi_set_string_oid (Z_OtherInformation **otherInformation, ODR odr, const Odr_oid *oid, int categoryValue, const char *str) |
char * | yaz_oi_get_string_oid (Z_OtherInformation **otherInformation, const Odr_oid *oid, int categoryValue, int delete_flag) |
Header for Z39.50 OtherInfo utilities.
Definition in file otherinfo.h.
void yaz_oi_APDU | ( | Z_APDU * | apdu, |
Z_OtherInformation *** | oip | ||
) |
Definition at line 18 of file otherinfo.c.
References 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_InitRequest::otherInfo, Z_InitResponse::otherInfo, Z_SearchRequest::otherInfo, Z_SearchResponse::otherInfo, Z_PresentRequest::otherInfo, Z_PresentResponse::otherInfo, Z_DeleteResultSetRequest::otherInfo, Z_DeleteResultSetResponse::otherInfo, Z_ScanRequest::otherInfo, Z_ScanResponse::otherInfo, Z_SortRequest::otherInfo, Z_SortResponse::otherInfo, Z_ExtendedServicesRequest::otherInfo, Z_ExtendedServicesResponse::otherInfo, Z_DuplicateDetectionRequest::otherInfo, Z_DuplicateDetectionResponse::otherInfo, Z_APDU::presentRequest, Z_APDU::presentResponse, Z_APDU::scanRequest, Z_APDU::scanResponse, Z_APDU::searchRequest, Z_APDU::searchResponse, Z_APDU::sortRequest, Z_APDU::sortResponse, Z_APDU::u, Z_APDU::which, 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_scanRequest, Z_APDU_scanResponse, Z_APDU_searchRequest, Z_APDU_searchResponse, Z_APDU_sortRequest, and Z_APDU_sortResponse.
Referenced by encode_APDU(), otherInfo_attach(), and ZOOM_connection_Z3950_send_init().
char* yaz_oi_get_string_oid | ( | Z_OtherInformation ** | otherInformation, |
const Odr_oid * | oid, | ||
int | categoryValue, | ||
int | delete_flag | ||
) |
Definition at line 172 of file otherinfo.c.
References Z_OtherInformationUnit::characterInfo, Z_OtherInformationUnit::information, Z_OtherInformationUnit::which, yaz_oi_update(), and Z_OtherInfo_characterInfo.
Referenced by get_vhost(), process_initRequest(), process_scanRequest(), and ZOOM_handle_Z3950_apdu().
void yaz_oi_set_string_oid | ( | Z_OtherInformation ** | otherInformation, |
ODR | odr, | ||
const Odr_oid * | oid, | ||
int | categoryValue, | ||
const char * | str | ||
) |
Definition at line 159 of file otherinfo.c.
References Z_OtherInformationUnit::characterInfo, Z_OtherInformationUnit::information, odr_strdup(), Z_OtherInformationUnit::which, yaz_oi_update(), and Z_OtherInfo_characterInfo.
Referenced by encode_APDU(), otherInfo_attach(), and ZOOM_connection_Z3950_send_init().
Z_OtherInformationUnit* yaz_oi_update | ( | Z_OtherInformation ** | otherInformationP, |
ODR | odr, | ||
const Odr_oid * | oid, | ||
int | categoryValue, | ||
int | delete_flag | ||
) |
Definition at line 76 of file otherinfo.c.
References Z_OtherInformationUnit::category, Z_InfoCategory::categoryTypeId, Z_InfoCategory::categoryValue, Z_OtherInformationUnit::characterInfo, Z_OtherInformationUnit::information, Z_OtherInformation::list, Z_OtherInformation::num_elements, odr_intdup(), odr_malloc(), odr_oiddup(), oid_oidcmp(), Z_OtherInformationUnit::which, and Z_OtherInfo_characterInfo.
Referenced by process_initRequest(), yaz_oi_get_string_oid(), yaz_oi_set_facetlist(), yaz_oi_set_string_oid(), and ZOOM_connection_Z3950_send_init().