YAZ
5.34.0
|
Decoding of diagnostics embedded in init response. More...
#include <yaz/proto.h>
Go to the source code of this file.
Functions | |
static Z_DefaultDiagFormat * | interpret_init_diag2 (int *no, Z_DiagnosticFormat *diag) |
Z_DefaultDiagFormat * | yaz_decode_init_diag (int no, Z_InitResponse *initrs) |
returns diagnostics from an init response More... | |
Decoding of diagnostics embedded in init response.
Definition in file init_diag.c.
|
static |
Definition at line 15 of file init_diag.c.
References Z_DiagnosticFormat_s::defaultDiagRec, Z_DiagnosticFormat::elements, Z_DiagnosticFormat::num, Z_DiagnosticFormat_s::u, Z_DiagnosticFormat_s::which, and Z_DiagnosticFormat_s_defaultDiagRec.
Referenced by yaz_decode_init_diag().
Z_DefaultDiagFormat* yaz_decode_init_diag | ( | int | no, |
Z_InitResponse * | initrs | ||
) |
returns diagnostics from an init response
no | number of diagnotic entry to get. 0=first, 1=second, .. |
initrs | InitResponse structure |
Definition at line 32 of file init_diag.c.
References Z_External::diag1, Z_OtherInformationUnit::externallyDefinedInfo, Z_OtherInformationUnit::information, interpret_init_diag2(), Z_OtherInformation::list, Z_OtherInformation::num_elements, Z_External::u, Z_External::userInfo1, Z_InitResponse::userInformationField, Z_External::which, Z_OtherInformationUnit::which, Z_External_diag1, Z_External_userInfo1, and Z_OtherInfo_externallyDefinedInfo.
Referenced by ZOOM_handle_Z3950_apdu().