/usr/include/yaz/z-charneg.h is in libyaz4-dev 4.2.30-2.1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | /** \file z-charneg.h
\brief ASN.1 Module NegotiationRecordDefinition-charSetandLanguageNegotiation-3
Generated automatically by YAZ ASN.1 Compiler 0.4
*/
#ifndef z_charneg_H
#define z_charneg_H
#include <yaz/odr.h>
#include <yaz/z-exp.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Z_CharSetandLanguageNegotiation Z_CharSetandLanguageNegotiation;
YAZ_EXPORT int z_CharSetandLanguageNegotiation(ODR o, Z_CharSetandLanguageNegotiation **p, int opt, const char *name);
typedef struct Z_OriginProposal_0 Z_OriginProposal_0;
YAZ_EXPORT int z_OriginProposal_0(ODR o, Z_OriginProposal_0 **p, int opt, const char *name);
typedef struct Z_OriginProposal Z_OriginProposal;
YAZ_EXPORT int z_OriginProposal(ODR o, Z_OriginProposal **p, int opt, const char *name);
typedef struct Z_TargetResponse Z_TargetResponse;
YAZ_EXPORT int z_TargetResponse(ODR o, Z_TargetResponse **p, int opt, const char *name);
typedef struct Z_PrivateCharacterSetViaOid Z_PrivateCharacterSetViaOid;
YAZ_EXPORT int z_PrivateCharacterSetViaOid(ODR o, Z_PrivateCharacterSetViaOid **p, int opt, const char *name);
typedef struct Z_PrivateCharacterSet Z_PrivateCharacterSet;
YAZ_EXPORT int z_PrivateCharacterSet(ODR o, Z_PrivateCharacterSet **p, int opt, const char *name);
typedef struct Z_Iso2022OriginProposal Z_Iso2022OriginProposal;
YAZ_EXPORT int z_Iso2022OriginProposal(ODR o, Z_Iso2022OriginProposal **p, int opt, const char *name);
typedef struct Z_Iso2022TargetResponse Z_Iso2022TargetResponse;
YAZ_EXPORT int z_Iso2022TargetResponse(ODR o, Z_Iso2022TargetResponse **p, int opt, const char *name);
typedef struct Z_Iso2022 Z_Iso2022;
YAZ_EXPORT int z_Iso2022(ODR o, Z_Iso2022 **p, int opt, const char *name);
typedef struct Z_Environment Z_Environment;
YAZ_EXPORT int z_Environment(ODR o, Z_Environment **p, int opt, const char *name);
typedef struct Z_InitialSet Z_InitialSet;
YAZ_EXPORT int z_InitialSet(ODR o, Z_InitialSet **p, int opt, const char *name);
typedef struct Z_LeftAndRight Z_LeftAndRight;
YAZ_EXPORT int z_LeftAndRight(ODR o, Z_LeftAndRight **p, int opt, const char *name);
typedef struct Z_Iso10646 Z_Iso10646;
YAZ_EXPORT int z_Iso10646(ODR o, Z_Iso10646 **p, int opt, const char *name);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct Z_CharSetandLanguageNegotiation {
int which;
union {
Z_OriginProposal *proposal;
Z_TargetResponse *response;
#define Z_CharSetandLanguageNegotiation_proposal 1
#define Z_CharSetandLanguageNegotiation_response 2
} u;
};
struct Z_OriginProposal_0 {
int which;
union {
Z_Iso2022 *iso2022;
Z_Iso10646 *iso10646;
Z_PrivateCharacterSet *zprivate;
#define Z_OriginProposal_0_iso2022 1
#define Z_OriginProposal_0_iso10646 2
#define Z_OriginProposal_0_private 3
} u;
};
struct Z_OriginProposal {
int num_proposedCharSets;
Z_OriginProposal_0 **proposedCharSets; /* OPT */
int num_proposedlanguages;
Z_LanguageCode **proposedlanguages; /* OPT */
Odr_bool *recordsInSelectedCharSets; /* OPT */
};
struct Z_TargetResponse {
int which;
union {
Z_Iso2022 *iso2022;
Z_Iso10646 *iso10646;
Z_PrivateCharacterSet *zprivate;
Odr_null *none;
#define Z_TargetResponse_iso2022 1
#define Z_TargetResponse_iso10646 2
#define Z_TargetResponse_private 3
#define Z_TargetResponse_none 4
} u; /* OPT */
Z_LanguageCode *selectedLanguage; /* OPT */
Odr_bool *recordsInSelectedCharSets; /* OPT */
};
struct Z_PrivateCharacterSetViaOid {
int num;
Odr_oid **elements;
};
struct Z_PrivateCharacterSet {
int which;
union {
Z_PrivateCharacterSetViaOid *viaOid;
Z_External *externallySpecified;
Odr_null *previouslyAgreedUpon;
#define Z_PrivateCharacterSet_viaOid 1
#define Z_PrivateCharacterSet_externallySpecified 2
#define Z_PrivateCharacterSet_previouslyAgreedUpon 3
} u;
};
struct Z_Iso2022OriginProposal {
Z_Environment *proposedEnvironment; /* OPT */
int num_proposedSets;
Odr_int **proposedSets;
int num_proposedInitialSets;
Z_InitialSet **proposedInitialSets;
Z_LeftAndRight *proposedLeftAndRight;
};
struct Z_Iso2022TargetResponse {
Z_Environment *selectedEnvironment;
int num_selectedSets;
Odr_int **selectedSets;
Z_InitialSet *selectedinitialSet;
Z_LeftAndRight *selectedLeftAndRight;
};
struct Z_Iso2022 {
int which;
union {
Z_Iso2022OriginProposal *originProposal;
Z_Iso2022TargetResponse *targetResponse;
#define Z_Iso2022_originProposal 1
#define Z_Iso2022_targetResponse 2
} u;
};
struct Z_Environment {
int which;
union {
Odr_null *sevenBit;
Odr_null *eightBit;
#define Z_Environment_sevenBit 1
#define Z_Environment_eightBit 2
} u;
};
struct Z_InitialSet {
Odr_int *g0; /* OPT */
Odr_int *g1; /* OPT */
Odr_int *g2; /* OPT */
Odr_int *g3; /* OPT */
Odr_int *c0;
Odr_int *c1; /* OPT */
};
struct Z_LeftAndRight {
#define Z_LeftAndRight_g0 0
#define Z_LeftAndRight_g1 1
#define Z_LeftAndRight_g2 2
#define Z_LeftAndRight_g3 3
Odr_int *gLeft;
#define Z_LeftAndRight_g1 1
#define Z_LeftAndRight_g2 2
#define Z_LeftAndRight_g3 3
Odr_int *gRight; /* OPT */
};
struct Z_Iso10646 {
Odr_oid *collections; /* OPT */
Odr_oid *encodingLevel;
};
#ifdef __cplusplus
}
#endif
#endif
|