/usr/include/yaz/z-accform1.h is in libyaz4-dev 4.2.30-4build2.
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 | /** \file z-accform1.h
\brief ASN.1 Module AccessControlFormat-prompt-1
Generated automatically by YAZ ASN.1 Compiler 0.4
*/
#ifndef z_accform1_H
#define z_accform1_H
#include <yaz/odr.h>
#include <yaz/z-core.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Z_PromptObject1 Z_PromptObject1;
YAZ_EXPORT int z_PromptObject1(ODR o, Z_PromptObject1 **p, int opt, const char *name);
typedef struct Z_ChallengeUnit1 Z_ChallengeUnit1;
YAZ_EXPORT int z_ChallengeUnit1(ODR o, Z_ChallengeUnit1 **p, int opt, const char *name);
typedef struct Z_Challenge1 Z_Challenge1;
YAZ_EXPORT int z_Challenge1(ODR o, Z_Challenge1 **p, int opt, const char *name);
typedef struct Z_ResponseUnit1 Z_ResponseUnit1;
YAZ_EXPORT int z_ResponseUnit1(ODR o, Z_ResponseUnit1 **p, int opt, const char *name);
typedef struct Z_Response1 Z_Response1;
YAZ_EXPORT int z_Response1(ODR o, Z_Response1 **p, int opt, const char *name);
typedef struct Z_PromptIdEnumeratedPrompt Z_PromptIdEnumeratedPrompt;
YAZ_EXPORT int z_PromptIdEnumeratedPrompt(ODR o, Z_PromptIdEnumeratedPrompt **p, int opt, const char *name);
typedef struct Z_PromptId Z_PromptId;
YAZ_EXPORT int z_PromptId(ODR o, Z_PromptId **p, int opt, const char *name);
typedef struct Z_Encryption Z_Encryption;
YAZ_EXPORT int z_Encryption(ODR o, Z_Encryption **p, int opt, const char *name);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct Z_PromptObject1 {
int which;
union {
Z_Challenge1 *challenge;
Z_Response1 *response;
#define Z_PromptObject1_challenge 1
#define Z_PromptObject1_response 2
} u;
};
struct Z_ChallengeUnit1 {
Z_PromptId *promptId;
Z_InternationalString *defaultResponse; /* OPT */
int which;
union {
Z_InternationalString *character;
Z_Encryption *encrypted;
#define Z_ChallengeUnit1_character 1
#define Z_ChallengeUnit1_encrypted 2
} u; /* OPT */
Z_InternationalString *regExpr; /* OPT */
Odr_null *responseRequired; /* OPT */
int num_allowedValues;
Z_InternationalString **allowedValues; /* OPT */
Odr_null *shouldSave; /* OPT */
#define Z_ChallengeUnit1_integer 1
#define Z_ChallengeUnit1_date 2
#define Z_ChallengeUnit1_float 3
#define Z_ChallengeUnit1_alphaNumeric 4
#define Z_ChallengeUnit1_url_urn 5
#define Z_ChallengeUnit1_boolean 6
Odr_int *dataType; /* OPT */
Z_External *diagnostic; /* OPT */
};
struct Z_Challenge1 {
int num;
Z_ChallengeUnit1 **elements;
};
struct Z_ResponseUnit1 {
Z_PromptId *promptId;
int which;
union {
Z_InternationalString *string;
Odr_bool *accept;
Odr_null *acknowledge;
Z_DiagRec *diagnostic;
Z_Encryption *encrypted;
#define Z_ResponseUnit1_string 1
#define Z_ResponseUnit1_accept 2
#define Z_ResponseUnit1_acknowledge 3
#define Z_ResponseUnit1_diagnostic 4
#define Z_ResponseUnit1_encrypted 5
} u;
};
struct Z_Response1 {
int num;
Z_ResponseUnit1 **elements;
};
struct Z_PromptIdEnumeratedPrompt {
#define Z_PromptIdEnumeratedPrompt_groupId 0
#define Z_PromptIdEnumeratedPrompt_userId 1
#define Z_PromptIdEnumeratedPrompt_password 2
#define Z_PromptIdEnumeratedPrompt_newPassword 3
#define Z_PromptIdEnumeratedPrompt_copyright 4
#define Z_PromptIdEnumeratedPrompt_sessionId 5
Odr_int *type;
Z_InternationalString *suggestedString; /* OPT */
};
struct Z_PromptId {
int which;
union {
Z_PromptIdEnumeratedPrompt *enumeratedPrompt;
Z_InternationalString *nonEnumeratedPrompt;
#define Z_PromptId_enumeratedPrompt 1
#define Z_PromptId_nonEnumeratedPrompt 2
} u;
};
struct Z_Encryption {
Odr_oct *cryptType; /* OPT */
Odr_oct *credential; /* OPT */
Odr_oct *data;
};
#ifdef __cplusplus
}
#endif
#endif
|