2 \brief ASN.1 Module NegotiationRecordDefinition-charSetandLanguageNegotiation-3
4 Generated automatically by YAZ ASN.1 Compiler 0.4
11 #include <yaz/z-exp.h>
16 typedef struct Z_CharSetandLanguageNegotiation Z_CharSetandLanguageNegotiation;
17 YAZ_EXPORT int z_CharSetandLanguageNegotiation (ODR o, Z_CharSetandLanguageNegotiation **p, int opt, const char *name);
19 typedef struct Z_OriginProposal_0 Z_OriginProposal_0;
20 YAZ_EXPORT int z_OriginProposal_0 (ODR o, Z_OriginProposal_0 **p, int opt, const char *name);
22 typedef struct Z_OriginProposal Z_OriginProposal;
23 YAZ_EXPORT int z_OriginProposal (ODR o, Z_OriginProposal **p, int opt, const char *name);
25 typedef struct Z_TargetResponse Z_TargetResponse;
26 YAZ_EXPORT int z_TargetResponse (ODR o, Z_TargetResponse **p, int opt, const char *name);
28 typedef struct Z_PrivateCharacterSetViaOid Z_PrivateCharacterSetViaOid;
29 YAZ_EXPORT int z_PrivateCharacterSetViaOid (ODR o, Z_PrivateCharacterSetViaOid **p, int opt, const char *name);
31 typedef struct Z_PrivateCharacterSet Z_PrivateCharacterSet;
32 YAZ_EXPORT int z_PrivateCharacterSet (ODR o, Z_PrivateCharacterSet **p, int opt, const char *name);
34 typedef struct Z_Iso2022OriginProposal Z_Iso2022OriginProposal;
35 YAZ_EXPORT int z_Iso2022OriginProposal (ODR o, Z_Iso2022OriginProposal **p, int opt, const char *name);
37 typedef struct Z_Iso2022TargetResponse Z_Iso2022TargetResponse;
38 YAZ_EXPORT int z_Iso2022TargetResponse (ODR o, Z_Iso2022TargetResponse **p, int opt, const char *name);
40 typedef struct Z_Iso2022 Z_Iso2022;
41 YAZ_EXPORT int z_Iso2022 (ODR o, Z_Iso2022 **p, int opt, const char *name);
43 typedef struct Z_Environment Z_Environment;
44 YAZ_EXPORT int z_Environment (ODR o, Z_Environment **p, int opt, const char *name);
46 typedef struct Z_InitialSet Z_InitialSet;
47 YAZ_EXPORT int z_InitialSet (ODR o, Z_InitialSet **p, int opt, const char *name);
49 typedef struct Z_LeftAndRight Z_LeftAndRight;
50 YAZ_EXPORT int z_LeftAndRight (ODR o, Z_LeftAndRight **p, int opt, const char *name);
52 typedef struct Z_Iso10646 Z_Iso10646;
53 YAZ_EXPORT int z_Iso10646 (ODR o, Z_Iso10646 **p, int opt, const char *name);
60 struct Z_CharSetandLanguageNegotiation {
63 Z_OriginProposal *proposal;
64 Z_TargetResponse *response;
65 #define Z_CharSetandLanguageNegotiation_proposal 1
66 #define Z_CharSetandLanguageNegotiation_response 2
70 struct Z_OriginProposal_0 {
75 Z_PrivateCharacterSet *zprivate;
76 #define Z_OriginProposal_0_iso2022 1
77 #define Z_OriginProposal_0_iso10646 2
78 #define Z_OriginProposal_0_private 3
82 struct Z_OriginProposal {
83 int num_proposedCharSets;
84 Z_OriginProposal_0 **proposedCharSets; /* OPT */
85 int num_proposedlanguages;
86 Z_LanguageCode **proposedlanguages; /* OPT */
87 bool_t *recordsInSelectedCharSets; /* OPT */
90 struct Z_TargetResponse {
95 Z_PrivateCharacterSet *zprivate;
97 #define Z_TargetResponse_iso2022 1
98 #define Z_TargetResponse_iso10646 2
99 #define Z_TargetResponse_private 3
100 #define Z_TargetResponse_none 4
102 Z_LanguageCode *selectedLanguage; /* OPT */
103 bool_t *recordsInSelectedCharSets; /* OPT */
106 struct Z_PrivateCharacterSetViaOid {
111 struct Z_PrivateCharacterSet {
114 Z_PrivateCharacterSetViaOid *viaOid;
115 Z_External *externallySpecified;
116 Odr_null *previouslyAgreedUpon;
117 #define Z_PrivateCharacterSet_viaOid 1
118 #define Z_PrivateCharacterSet_externallySpecified 2
119 #define Z_PrivateCharacterSet_previouslyAgreedUpon 3
123 struct Z_Iso2022OriginProposal {
124 Z_Environment *proposedEnvironment; /* OPT */
125 int num_proposedSets;
127 int num_proposedInitialSets;
128 Z_InitialSet **proposedInitialSets;
129 Z_LeftAndRight *proposedLeftAndRight;
132 struct Z_Iso2022TargetResponse {
133 Z_Environment *selectedEnvironment;
134 int num_selectedSets;
136 Z_InitialSet *selectedinitialSet;
137 Z_LeftAndRight *selectedLeftAndRight;
143 Z_Iso2022OriginProposal *originProposal;
144 Z_Iso2022TargetResponse *targetResponse;
145 #define Z_Iso2022_originProposal 1
146 #define Z_Iso2022_targetResponse 2
150 struct Z_Environment {
155 #define Z_Environment_sevenBit 1
156 #define Z_Environment_eightBit 2
160 struct Z_InitialSet {
169 struct Z_LeftAndRight {
170 #define Z_LeftAndRight_g0 0
171 #define Z_LeftAndRight_g1 1
172 #define Z_LeftAndRight_g2 2
173 #define Z_LeftAndRight_g3 3
175 #define Z_LeftAndRight_g1 1
176 #define Z_LeftAndRight_g2 2
177 #define Z_LeftAndRight_g3 3
178 int *gRight; /* OPT */
182 Odr_oid *collections; /* OPT */
183 Odr_oid *encodingLevel;