odr.h File Reference

Header for ODR (Open Data Representation). More...

#include <stdio.h>
#include <string.h>
#include <yaz/yconfig.h>
#include <yaz/nmem.h>
#include <yaz/oid_util.h>
#include <yaz/xmalloc.h>

Go to the source code of this file.

Data Structures

struct  odr_oct
struct  odr_bitmask
struct  odr
struct  odr_arm
struct  Odr_external

Defines

#define bool_t   int
#define ODR_NONE   -1
#define ODR_IMPLICIT   0
#define ODR_EXPLICIT   1
#define ODR_UNIVERSAL   0
#define ODR_APPLICATION   1
#define ODR_CONTEXT   2
#define ODR_PRIVATE   3
#define ODR_BOOLEAN   1
#define ODR_INTEGER   2
#define ODR_BITSTRING   3
#define ODR_OCTETSTRING   4
#define ODR_NULL   5
#define ODR_OID   6
#define ODR_ODESC   7
#define ODR_EXTERNAL   8
#define ODR_REAL   9
#define ODR_ENUM   10
#define ODR_SEQUENCE   16
#define ODR_SET   17
#define ODR_NUMERICSTRING   18
#define ODR_PRINTABLESTRING   19
#define ODR_GENERALIZEDTIME   24
#define ODR_GRAPHICSTRING   25
#define ODR_VISIBLESTRING   26
#define ODR_GENERALSTRING   27
#define ODR_DECODE   0
#define ODR_ENCODE   1
#define ODR_PRINT   2
#define ODR_BITMASK_SIZE   256
#define ODR_S_SET   0
#define ODR_S_CUR   1
#define ODR_S_END   2
#define ONONE   0
#define OMEMORY   1
#define OSYSERR   2
#define OSPACE   3
#define OREQUIRED   4
#define OUNEXPECTED   5
#define OOTHER   6
#define OPROTO   7
#define ODATA   8
#define OSTACK   9
#define OCONLEN   10
#define OLENOV   11
#define OHTTP   12
#define odr_release_mem(m)   nmem_destroy(m)
#define ODR_MEM   NMEM
#define odr_implicit_tag(o, t, p, cl, tg, opt, name)   (odr_implicit_settag((o), cl, tg), t ((o), (p), (opt), name) )
#define odr_explicit_tag(o, t, p, cl, tg, opt, name)
#define ODR_MASK_ZERO(mask)
#define ODR_MASK_SET(mask, num)
#define ODR_MASK_CLEAR(mask, num)   ((mask)->bits[(num) >> 3] &= ~(0X80 >> ((num) & 0X07)))
#define ODR_MASK_GET(mask, num)
#define odr_tell(o)   ((o)->pos)
#define odr_offset(o)   ((o)->bp - (o)->buf)
#define odr_ok(o)   (!(o)->error)
#define odr_getmem(o)   ((o)->mem)
#define ODR_MAXNAME   256
#define ODR_EXTERNAL_single   0
#define ODR_EXTERNAL_octet   1
#define ODR_EXTERNAL_arbitrary   2

Typedefs

typedef struct odr_oct Odr_oct
typedef void Odr_null
typedef Odr_oct Odr_any
typedef struct odr_bitmask Odr_bitmask
typedef struct odrODR
typedef int(* Odr_fun )(ODR, char **, int, const char *)
typedef struct odr_arm Odr_arm

Functions

int odr_geterror (ODR o)
int odr_geterrorx (ODR o, int *x)
void odr_seterror (ODR o, int errorno, int errorid)
void odr_setelement (ODR o, const char *addinfo)
const char * odr_getelement (ODR o)
void odr_perror (ODR o, const char *message)
void odr_setprint (ODR o, FILE *file)
ODR odr_createmem (int direction)
void odr_reset (ODR o)
void odr_destroy (ODR o)
void odr_setbuf (ODR o, char *buf, int len, int can_grow)
char * odr_getbuf (ODR o, int *len, int *size)
void * odr_malloc (ODR o, int size)
char * odr_strdup (ODR o, const char *str)
char * odr_strdupn (ODR o, const char *str, size_t n)
char * odr_strdup_null (ODR o, const char *str)
int * odr_intdup (ODR o, int v)
Odr_octodr_create_Odr_oct (ODR o, const unsigned char *buf, int sz)
NMEM odr_extract_mem (ODR o)
Odr_nullodr_nullval (void)
int ber_boolean (ODR o, int *val)
int ber_tag (ODR o, void *p, int zclass, int tag, int *constructed, int opt, const char *name)
 Encode/decode BER tags.
int ber_enctag (ODR o, int zclass, int tag, int constructed)
 BER-encode a zclass/tag/constructed package (identifier octets).
int ber_dectag (const unsigned char *buf, int *zclass, int *tag, int *constructed, int max)
 Decodes BER identifier octets.
int odr_bool (ODR o, int **p, int opt, const char *name)
int odr_integer (ODR o, int **p, int opt, const char *name)
int odr_enum (ODR o, int **p, int opt, const char *name)
int odr_implicit_settag (ODR o, int zclass, int tag)
int ber_enclen (ODR o, int len, int lenlen, int exact)
int ber_declen (const unsigned char *buf, int *len, int max)
void odr_prname (ODR o, const char *name)
int ber_null (ODR o)
int odr_null (ODR o, Odr_null **p, int opt, const char *name)
int ber_integer (ODR o, int *val)
int odr_constructed_begin (ODR o, void *p, int zclass, int tag, const char *name)
int odr_constructed_end (ODR o)
int odr_sequence_begin (ODR o, void *p, int size, const char *name)
int odr_set_begin (ODR o, void *p, int size, const char *name)
int odr_sequence_end (ODR o)
int odr_set_end (ODR o)
int ber_octetstring (ODR o, Odr_oct *p, int cons)
int odr_octetstring (ODR o, Odr_oct **p, int opt, const char *name)
int odp_more_chunks (ODR o, const unsigned char *base, int len)
int odr_constructed_more (ODR o)
int odr_bitstring (ODR o, Odr_bitmask **p, int opt, const char *name)
int ber_bitstring (ODR o, Odr_bitmask *p, int cons)
int odr_generalstring (ODR o, char **p, int opt, const char *name)
int ber_oidc (ODR o, Odr_oid *p, int max_oid_size)
int odr_oid (ODR o, Odr_oid **p, int opt, const char *name)
int odr_choice (ODR o, Odr_arm arm[], void *p, void *whichp, const char *name)
int odr_cstring (ODR o, char **p, int opt, const char *name)
int odr_iconv_string (ODR o, char **p, int opt, const char *name)
int odr_sequence_of (ODR o, Odr_fun type, void *p, int *num, const char *name)
int odr_set_of (ODR o, Odr_fun type, void *p, int *num, const char *name)
int odr_any (ODR o, Odr_any **p, int opt, const char *name)
int ber_any (ODR o, Odr_any **p)
int completeBER (const unsigned char *buf, int len)
 determine whether a buffer is a complete BER buffer
void odr_begin (ODR o)
void odr_end (ODR o)
Odr_oidodr_oiddup (ODR odr, const Odr_oid *o)
Odr_oidodr_oiddup_nmem (NMEM nmem, const Odr_oid *o)
int odr_grow_block (ODR b, int min_bytes)
int odr_write (ODR o, unsigned char *buf, int bytes)
int odr_seek (ODR o, int whence, int offset)
int odr_dumpBER (FILE *f, const char *buf, int len)
void odr_choice_bias (ODR o, int what)
void odr_choice_enable_bias (ODR o, int mode)
int odr_total (ODR o)
char * odr_errmsg (int n)
Odr_oidodr_getoidbystr (ODR o, const char *str)
Odr_oidodr_getoidbystr_nmem (NMEM o, const char *str)
int odr_initmember (ODR o, void *p, int size)
int odr_peektag (ODR o, int *zclass, int *tag, int *cons)
void odr_setlenlen (ODR o, int len)
int odr_missing (ODR o, int opt, const char *name)
char * odr_prepend (ODR o, const char *prefix, const char *old)
int odr_external (ODR o, Odr_external **p, int opt, const char *name)
int odr_visiblestring (ODR o, char **p, int opt, const char *name)
int odr_graphicstring (ODR o, char **p, int opt, const char *name)
int odr_generalizedtime (ODR o, char **p, int opt, const char *name)
int odr_set_charset (ODR o, const char *to, const char *from)
void odr_set_stream (ODR o, void *handle, void(*stream_write)(ODR o, void *handle, int type, const char *buf, int len), void(*stream_close)(void *handle))
void odr_printf (ODR o, const char *fmt,...)
const char ** odr_get_element_path (ODR o)

Variables

Odr_nullODR_NULLVAL
char * odr_errlist []


Detailed Description

Header for ODR (Open Data Representation).

Definition in file odr.h.


Define Documentation

#define bool_t   int

Definition at line 48 of file odr.h.

Referenced by ill_get_bool().

#define OCONLEN   10

Definition at line 165 of file odr.h.

Referenced by odr_constructed_end().

#define ODATA   8

Definition at line 163 of file odr.h.

Referenced by ber_oidc(), and odr_iconv_string().

#define ODR_APPLICATION   1

#define ODR_BITMASK_SIZE   256

Definition at line 109 of file odr.h.

Referenced by ber_bitstring(), and odr_bitstring().

#define ODR_BITSTRING   3

Definition at line 71 of file odr.h.

Referenced by odr_bitstring().

#define ODR_BOOLEAN   1

Definition at line 69 of file odr.h.

Referenced by odr_bool().

#define ODR_CONTEXT   2

Definition at line 63 of file odr.h.

Referenced by ill_Answer(), ill_Forward_Notification(), ill_ItemRequest(), ill_OCLCILLRequestExtension(), ill_Request(), ill_Shipped(), odr_external(), z_Admin(), z_AdminEsRequest(), z_AdminTaskPackage(), z_APDU(), z_BriefBib(), z_CharSetandLanguageNegotiation(), z_DateMonthAndDay(), z_DateQuarter(), z_DateTime(), z_DBName(), z_DES_RN_Object(), z_DiagnosticFormat_s(), z_EIExportInvocation(), z_EIExportInvocationEsRequest(), z_EIExportInvocationTaskPackage(), z_ElementData(), z_ElementRequestCompositeElement(), z_ESExportSpecification(), z_ESExportSpecificationEsRequest(), z_ESExportSpecificationTaskPackage(), z_Espec1(), z_Estimate1(), z_Estimate2(), z_ExplainRecord(), z_External(), z_FormatSpec(), z_HoldingsRecord(), z_IOItemOrder(), z_IORequest(), z_IOTaskPackage(), z_IU0Update(), z_IU0UpdateEsRequest(), z_IU0UpdateTaskPackage(), z_IUUpdate(), z_IUUpdateEsRequest(), z_IUUpdateTaskPackage(), z_KRBObject(), z_MultipleSearchTerms_2_s(), z_OCLC_UserInformation(), z_OPACRecord(), z_PQSPeriodicQuerySchedule(), z_PQSPeriodicQueryScheduleEsRequest(), z_PQSPeriodicQueryScheduleTaskPackage(), z_PQueryPersistentQuery(), z_PQueryPersistentQueryEsRequest(), z_PQueryPersistentQueryTaskPackage(), z_PromptObject1(), z_PRPersistentResultSet(), z_PRPersistentResultSetEsRequest(), z_PRPersistentResultSetTaskPackage(), z_ResourceReport1(), z_ResourceReport2(), z_ResultsByDB_s(), z_SearchInfoReport_s(), z_TaggedElement(), z_TaskPackage(), and z_UniverseReport().

#define ODR_DECODE   0

Definition at line 91 of file odr.h.

Referenced by ber_any(), ber_bitstring(), ber_boolean(), ber_integer(), ber_null(), ber_octetstring(), ber_oidc(), ber_tag(), create_association(), ill_Already_Tried_List_Type(), ill_Answer(), ill_APDU(), ill_Cancel(), ill_Cancel_Reply(), ill_Checked_In(), ill_Conditional_Reply(), ill_Damaged(), ill_Damaged_DetailsSpecific_units(), ill_Delivery_Service(), ill_Delivery_ServiceElectronic_delivery(), ill_Expired(), ill_Forward_Notification(), ill_Lost(), ill_Message(), ill_Name_Of_Person_Or_Institution(), ill_Overdue(), ill_Overdue_ExtensionS(), ill_Person_Or_Institution_Symbol(), ill_Provider_Error_Report(), ill_Recall(), ill_Received(), ill_Renew(), ill_Renew_Answer(), ill_Request(), ill_Returned(), ill_Send_To_List_Type(), ill_Shipped(), ill_Status_Or_Error_Report(), ill_Status_Query(), ill_String(), ill_Supplemental_Item_Description(), ill_SystemNo(), ill_User_Error_Report(), odr_any(), odr_bitstring(), odr_bool(), odr_choice(), odr_constructed_begin(), odr_constructed_end(), odr_cstring(), odr_enum(), odr_iconv_string(), odr_initmember(), odr_integer(), odr_null(), odr_octetstring(), odr_oid(), odr_peektag(), odr_sequence_begin(), odr_sequence_of(), odr_set_begin(), odr_set_of(), yaz_copy_Z_Query(), yaz_copy_z_RPNQuery(), yaz_srw_codec(), yaz_ucp_codec(), z_AccessCtrl(), z_AccessRestrictions(), z_Admin(), z_AltOidList(), z_APDU(), z_AttributeCombination(), z_AttributeList(), z_AttributeValueList(), z_AttrListList(), z_byDatabaseList(), z_Challenge1(), z_CharSetandLanguageNegotiation(), z_DatabaseList(), z_DatabaseSpecific(), z_DateQuarter(), z_DateSeason(), z_DES_RN_Object(), z_DiagFormat(), z_DiagnosticFormat(), z_DiagRec(), z_DiagRecs(), z_DuplicateDetectionCriterion(), z_EIExportInvocation(), z_EIOriginPartNotToKeepRanges(), z_ElementData(), z_ElementDataType(), z_ElementInfoList(), z_ElementRequest(), z_ElementRequestCompositeElementPrimitives(), z_ElementRequestCompositeElementSpecs(), z_ElementSetNames(), z_ElementSpec(), z_Entry(), z_Environment(), z_Era(), z_ESAdminOriginPartNotToKeep(), z_ESDestination(), z_ESExportSpecification(), z_ETagPath(), z_ETagUnit(), z_ExplainRecord(), z_External(), z_ExtServices(), z_FragmentSyntax(), z_GDU(), z_GenericRecord(), z_HoldingsRecord(), z_HumanString(), z_IconObject(), z_IdAuthentication(), z_IOItemOrder(), z_Iso2022(), z_IU0SuppliedRecords(), z_IU0SuppliedRecordsId(), z_IU0Update(), z_IUSuppliedRecords(), z_IUSuppliedRecordsId(), z_IUTaskPackageRecordStructureSurrogateDiagnostics(), z_IUUpdate(), z_KRBObject(), z_ListStatuses(), z_MultipleSearchTerms_2(), z_NamePlusRecordList(), z_NetworkAddress(), z_OccurrenceByAttributes(), z_Occurrences(), z_OidList(), z_Operand(), z_Operator(), z_OriginProposal_0(), z_OtherInformation(), z_Path(), z_Permissions(), z_PQSPeriod(), z_PQSPeriodicQuerySchedule(), z_PQueryOriginPartNotToKeep(), z_PQueryPersistentQuery(), z_PrivateCharacterSet(), z_PrivateCharacterSetViaOid(), z_PromptId(), z_PromptObject1(), z_Proximity(), z_ProxSupportUnit(), z_PRPersistentResultSet(), z_Query(), z_QueryExpression(), z_QueryTypeDetails(), z_RecordComposition(), z_Records(), z_Response1(), z_ResultsByDB(), z_ResultsByDB_sList(), z_RetentionCriterion(), z_RPNStructure(), z_Scan(), z_SearchInfoReport(), z_Segmentation(), z_soap_codec_enc_xsl(), z_Sort(), z_SortCriterion(), z_SortCriterionPreferredDatabases(), z_SortDbSpecificList(), z_SortElement(), z_SortKey(), z_SortKeySpecList(), z_StringList(), z_StringOrNumeric(), z_TagPath(), z_Term(), z_ValueDescription(), z_ValueSet(), z_ValueSetEnumerated(), ZOOM_connection_create(), ZOOM_connection_scan1(), and ZOOM_record_clone().

#define ODR_ENCODE   1

#define ODR_ENUM   10

Definition at line 78 of file odr.h.

Referenced by odr_enum().

#define ODR_EXPLICIT   1

#define odr_explicit_tag ( o,
t,
p,
cl,
tg,
opt,
name   ) 

Value:

((int) (odr_constructed_begin((o), (p), (cl), (tg), 0) ? \
        t ((o), (p), (opt), name) &&\
        odr_constructed_end(o) : odr_missing((o), opt, name)))

Definition at line 198 of file odr.h.

Referenced by ill_Answer(), ill_Cancel(), ill_Cancel_Reply(), ill_Checked_In(), ill_Client_Id(), ill_Conditional_Reply(), ill_Cost_Info_Type(), ill_Damaged(), ill_Electronic_Delivery_Service(), ill_Electronic_Delivery_Service_0(), ill_Electronic_Delivery_Service_1(), ill_Error_Report(), ill_Estimate_Results(), ill_Extension(), ill_Forward_Notification(), ill_History_Report(), ill_Item_Id(), ill_ItemRequest(), ill_Location_Info(), ill_Lost(), ill_Message(), ill_OCLCILLRequestExtension(), ill_Overdue(), ill_Postal_Address(), ill_Recall(), ill_Received(), ill_Renew(), ill_Renew_Answer(), ill_Request(), ill_Returned(), ill_Search_Type(), ill_Send_To_List_Type_s(), ill_Shipped(), ill_Status_Or_Error_Report(), ill_Status_Query(), ill_Supply_Medium_Info_Type(), ill_System_Address(), ill_System_Id(), ill_Transaction_Id(), ill_Units_Per_Medium_Type(), ill_Will_Supply_Results(), z_AccessControlResponse(), z_AccessRestrictionsUnit(), z_AdminEsRequest(), z_AdminTaskPackage(), z_Attribute(), z_AttributeDescription(), z_AttributeValue(), z_ChallengeUnit1(), z_Close(), z_DateFlags(), z_DateTime(), z_DbSpecific(), z_DiagTerm(), z_EIExportInvocationEsRequest(), z_EIExportInvocationTaskPackage(), z_ElementInfo(), z_ESExportSpecificationEsRequest(), z_ESExportSpecificationTaskPackage(), z_ESOriginPartToKeep(), z_Estimate2(), z_InitRequest(), z_InitResponse(), z_IORequest(), z_IOTaskPackage(), z_Iso2022OriginProposal(), z_Iso2022TargetResponse(), z_IU0SuppliedRecords_elem(), z_IU0UpdateEsRequest(), z_IU0UpdateTaskPackage(), z_IUSuppliedRecords_elem(), z_IUUpdateEsRequest(), z_IUUpdateTaskPackage(), z_MultipleSearchTerms_2_s(), z_OccurrenceByAttributesElem(), z_OmittedAttributeInterpretation(), z_PathUnit(), z_PQSOriginPartNotToKeep(), z_PQSOriginPartToKeep(), z_PQSPeriodicQueryScheduleEsRequest(), z_PQSPeriodicQueryScheduleTaskPackage(), z_PQSTargetPart(), z_PQueryOriginPartToKeep(), z_PQueryPersistentQueryEsRequest(), z_PQueryPersistentQueryTaskPackage(), z_ProxSupportPrivate(), z_PRPersistentResultSetEsRequest(), z_PRPersistentResultSetTaskPackage(), z_QueryExpressionTerm(), z_RecordTag(), z_ResourceControlRequest(), z_ResourceReportResponse(), z_ResponseUnit1(), z_SearchInfoReport_s(), z_SearchRequest(), z_Specification(), z_SpecificTag(), z_TaggedElement(), z_TagPath_s(), z_TagSetElements(), z_Unit(), z_Units(), z_UnitType(), z_ValueRange(), and z_VariantValue().

#define ODR_EXTERNAL   8

Definition at line 76 of file odr.h.

Referenced by odr_external(), and z_External().

#define ODR_EXTERNAL_arbitrary   2

Definition at line 306 of file odr.h.

Referenced by odr_external().

#define ODR_EXTERNAL_octet   1

Definition at line 305 of file odr.h.

Referenced by odr_external().

#define ODR_EXTERNAL_single   0

Definition at line 304 of file odr.h.

Referenced by odr_external(), and ztest_esrequest().

#define ODR_GENERALIZEDTIME   24

Definition at line 83 of file odr.h.

Referenced by odr_generalizedtime().

#define ODR_GENERALSTRING   27

Definition at line 86 of file odr.h.

Referenced by odr_generalstring(), and z_SUTRS().

#define odr_getmem (  )     ((o)->mem)

#define ODR_GRAPHICSTRING   25

Definition at line 84 of file odr.h.

Referenced by odr_graphicstring().

#define ODR_IMPLICIT   0

Definition at line 55 of file odr.h.

Referenced by ill_Damaged_Details(), ill_Delivery_Service(), ill_Electronic_Delivery_Service(), ill_Provider_Error_Report(), ill_Supply_Details(), ill_User_Error_Report(), odr_choice(), odr_external(), z_AccessControlRequest(), z_AccessControlResponse(), z_AccessCtrl(), z_Admin(), z_APDU(), z_AttributeElement(), z_AttributeOccurrence(), z_ChallengeUnit1(), z_CharSetandLanguageNegotiation(), z_DatabaseInfo(), z_Date(), z_DateQuarter(), z_DateSeason(), z_DES_RN_Object(), z_DiagFormat(), z_DiagnosticFormat_s(), z_DuplicateDetectionCriterion(), z_EIExportInvocation(), z_EIOriginPartNotToKeep(), z_EIOriginPartToKeep(), z_ElementData(), z_ElementDataType(), z_ElementRequest(), z_ElementRequestCompositeElement(), z_ElementSetNames(), z_ElementSpec(), z_Entry(), z_Environment(), z_Era(), z_ESDestination(), z_ESExportSpecification(), z_ETagUnit(), z_ExplainRecord(), z_External(), z_ExtServices(), z_HoldingsRecord(), z_IconObjectUnit(), z_IOBilling(), z_IOItemOrder(), z_Iso2022(), z_IU0SuppliedRecords_elem(), z_IU0SuppliedRecordsId(), z_IU0TaskPackageRecordStructure(), z_IU0Update(), z_IUSuppliedRecords_elem(), z_IUSuppliedRecordsId(), z_IUTaskPackageRecordStructure(), z_IUUpdate(), z_KRBObject(), z_NetworkAddress(), z_OccurrenceByAttributesElem(), z_Occurrences(), z_Operator(), z_OriginProposal_0(), z_OtherInformationUnit(), z_PQSOriginPartNotToKeep(), z_PQSOriginPartToKeep(), z_PQSPeriod(), z_PQSPeriodicQuerySchedule(), z_PQueryOriginPartNotToKeep(), z_PQueryPersistentQuery(), z_PrivateCharacterSet(), z_PromptId(), z_PromptObject1(), z_Proximity(), z_ProximityOperator(), z_ProxSupportUnit(), z_PRPersistentResultSet(), z_Query(), z_QueryExpression(), z_QueryTypeDetails(), z_RecordComposition(), z_Records(), z_ResponseUnit1(), z_ResultsByDB_s(), z_RetentionCriterion(), z_RPNStructure(), z_Scan(), z_Segmentation(), z_Sort(), z_SortCriterion(), z_SortElement(), z_SortKey(), z_SortKeyDetails(), z_SortKeySpec(), z_Specification(), z_StringOrNumeric(), z_TargetResponse(), z_Term(), z_Time(), z_Triple(), z_UniverseReport(), z_ValueDescription(), and z_ValueSet().

#define odr_implicit_tag ( o,
t,
p,
cl,
tg,
opt,
name   )     (odr_implicit_settag((o), cl, tg), t ((o), (p), (opt), name) )

Definition at line 195 of file odr.h.

Referenced by ill_Already_Forwarded(), ill_Amount(), ill_Answer(), ill_Cancel(), ill_Cancel_Reply(), ill_Checked_In(), ill_Conditional_Reply(), ill_Conditional_Results(), ill_Cost_Info_Type(), ill_Damaged(), ill_Damaged_Details(), ill_Date_Due(), ill_Delivery_Address(), ill_Electronic_Delivery_Service(), ill_Electronic_Delivery_Service_0(), ill_Electronic_Delivery_Service_1(), ill_Error_Report(), ill_Expired(), ill_Extension(), ill_Forward_Notification(), ill_History_Report(), ill_Hold_Placed_Results(), ill_Item_Id(), ill_ItemRequest(), ill_Location_Info(), ill_Locations_Results(), ill_Lost(), ill_Message(), ill_Overdue(), ill_Recall(), ill_Received(), ill_Renew(), ill_Renew_Answer(), ill_Request(), ill_Requester_Optional_Messages_Type(), ill_Responder_Optional_Messages_Type(), ill_Retry_Results(), ill_Returned(), ill_Search_Type(), ill_Send_To_List_Type_s(), ill_Service_Date_original(), ill_Service_Date_this(), ill_Service_Date_Time(), ill_Shipped(), ill_State_Transition_Prohibited(), ill_Status_Or_Error_Report(), ill_Status_Query(), ill_Status_Report(), ill_Supply_Details(), ill_Supply_Medium_Info_Type(), ill_Third_Party_Info_Type(), ill_Transaction_Id(), ill_Unfilled_Results(), odr_generalizedtime(), odr_generalstring(), odr_graphicstring(), odr_visiblestring(), z_AccessInfo(), z_AccessRestrictionsUnit(), z_AttCombo(), z_Attribute(), z_AttributeCombinations(), z_AttributeDescription(), z_AttributeDetails(), z_AttributeElement(), z_AttributeOccurrence(), z_AttributeSetDetails(), z_AttributeSetInfo(), z_AttributeType(), z_AttributeTypeDetails(), z_AttributeValue(), z_BadSpec(), z_BriefBib(), z_byDatabaseList_s(), z_CategoryInfo(), z_CategoryList(), z_ChallengeUnit1(), z_Charge(), z_CircRecord(), z_Close(), z_CloseReason(), z_CommonInfo(), z_CompSpec(), z_ContactInfo(), z_Costs(), z_CostsOtherCharge(), z_DatabaseInfo(), z_DatabaseName(), z_Date(), z_DateFlags(), z_DateMonthAndDay(), z_DBName(), z_DbSpecific(), z_DbUnavail(), z_DbUnavail_0(), z_DeleteResultSetRequest(), z_DeleteResultSetResponse(), z_DeleteStatus(), z_DiagnosticFormat_s(), z_DiagTerm(), z_DRNType(), z_DuplicateDetectionRequest(), z_DuplicateDetectionResponse(), z_EIOriginPartNotToKeep(), z_EIOriginPartNotToKeepRanges_s(), z_EIOriginPartToKeep(), z_EITargetPart(), z_ElementInfo(), z_ElementMetaData(), z_ElementRequestCompositeElement(), z_ElementSetDetails(), z_ElementSetName(), z_Encryption(), z_ESAdminOriginPartToKeep(), z_ESAdminTargetPart(), z_EScanInfo(), z_ESDestinationOther(), z_ESExportSpecificationEsRequest(), z_ESExportSpecificationTaskPackage(), z_ESOriginPartToKeep(), z_Espec1(), z_Estimate1(), z_Estimate2(), z_ExtendedServicesInfo(), z_ExtendedServicesRequest(), z_ExtendedServicesResponse(), z_External(), z_FormatSpec(), z_HitVector(), z_HoldingsAndCircData(), z_HumanStringUnit(), z_IconObjectUnit(), z_IdPass(), z_ImportParameters(), z_InfoCategory(), z_InitialSet(), z_InitRequest(), z_InitResponse(), z_IntUnit(), z_IOBilling(), z_IOContact(), z_IOCreditCardInfo(), z_IOOriginPartNotToKeep(), z_IOOriginPartToKeep(), z_IOResultSetItem(), z_IOTargetPart(), z_Iso10646(), z_Iso2022OriginProposal(), z_Iso2022TargetResponse(), z_Iso8777Capabilities(), z_IU0CorrelationInfo(), z_IU0OriginPartToKeep(), z_IU0SuppliedRecords_elem(), z_IU0TargetPart(), z_IU0TaskPackageRecordStructure(), z_IUCorrelationInfo(), z_IUOriginPartToKeep(), z_IUSuppliedRecords_elem(), z_IUTargetPart(), z_IUTaskPackageRecordStructure(), z_KRBRequest(), z_KRBResponse(), z_LeftAndRight(), z_MultipleSearchTerms_2_s(), z_NamePlusRecord(), z_NetworkAddressIA(), z_NetworkAddressOPA(), z_NetworkAddressOther(), z_OccurValues(), z_OCLC_UserInformation(), z_OmittedAttributeInterpretation(), z_OPACRecord(), z_Options(), z_Order(), z_OriginProposal(), z_OtherInformationUnit(), z_PathUnit(), z_PerElementDetails(), z_Permissions_s(), z_PQSOriginPartNotToKeep(), z_PQSOriginPartToKeep(), z_PQSTargetPart(), z_PresentRequest(), z_PresentResponse(), z_PresentStatus(), z_PrivateCapOperator(), z_ProcessingInformation(), z_PromptIdEnumeratedPrompt(), z_PROriginPartNotToKeep(), z_ProtocolVersion(), z_ProximityOperator(), z_ProximitySupport(), z_ProxSupportPrivate(), z_PRPersistentResultSetEsRequest(), z_PRPersistentResultSetTaskPackage(), z_PRTargetPart(), z_QueryExpressionTerm(), z_Range(), z_RecordSyntax(), z_RecordSyntaxInfo(), z_ReferenceId(), z_ResourceControlRequest(), z_ResourceControlResponse(), z_ResourceReport1(), z_ResourceReport2(), z_ResourceReportRequest(), z_ResourceReportResponse(), z_ResultsByDB_s(), z_ResultSetId(), z_RetrievalRecordDetails(), z_RpnCapabilities(), z_ScanRequest(), z_ScanResponse(), z_SchemaInfo(), z_SearchInfoReport_s(), z_SearchKey(), z_SearchRequest(), z_SearchResponse(), z_Segment(), z_SimpleElement(), z_SortDetails(), z_SortKeyDetails(), z_SortKeySpec(), z_SortRequest(), z_SortResponse(), z_SpecificTag(), z_SUTRS(), z_TaggedElement(), z_TagPath_s(), z_TagSetElements(), z_TagSetInfo(), z_TagTypeMapping(), z_TargetInfo(), z_TargetResponse(), z_TaskPackage(), z_TermInfo(), z_TermListDetails(), z_TermListElement(), z_TermListInfo(), z_Time(), z_TooMany(), z_TriggerResourceControlRequest(), z_Triple(), z_Unit(), z_UnitInfo(), z_Units(), z_UnitType(), z_Usage(), z_Variant(), z_VariantClass(), z_VariantSetInfo(), z_VariantType(), and z_Volume().

#define ODR_INTEGER   2

Definition at line 70 of file odr.h.

Referenced by odr_integer().

#define ODR_MASK_CLEAR ( mask,
num   )     ((mask)->bits[(num) >> 3] &= ~(0X80 >> ((num) & 0X07)))

Definition at line 211 of file odr.h.

#define ODR_MASK_GET ( mask,
num   ) 

Value:

( ((num) >> 3 <= (mask)->top) ? \
    ((mask)->bits[(num) >> 3] & (0X80 >> ((num) & 0X07)) ? 1 : 0) : 0)

Definition at line 214 of file odr.h.

Referenced by yaz_init_opt_decode().