2 \brief ASN.1 Module AccessControlFormat-prompt-1
4 Generated automatically by YAZ ASN.1 Compiler 0.4
11 #include <yaz/z-core.h>
16 typedef struct Z_PromptObject1 Z_PromptObject1;
17 YAZ_EXPORT int z_PromptObject1 (ODR o, Z_PromptObject1 **p, int opt, const char *name);
19 typedef struct Z_ChallengeUnit1 Z_ChallengeUnit1;
20 YAZ_EXPORT int z_ChallengeUnit1 (ODR o, Z_ChallengeUnit1 **p, int opt, const char *name);
22 typedef struct Z_Challenge1 Z_Challenge1;
23 YAZ_EXPORT int z_Challenge1 (ODR o, Z_Challenge1 **p, int opt, const char *name);
25 typedef struct Z_ResponseUnit1 Z_ResponseUnit1;
26 YAZ_EXPORT int z_ResponseUnit1 (ODR o, Z_ResponseUnit1 **p, int opt, const char *name);
28 typedef struct Z_Response1 Z_Response1;
29 YAZ_EXPORT int z_Response1 (ODR o, Z_Response1 **p, int opt, const char *name);
31 typedef struct Z_PromptIdEnumeratedPrompt Z_PromptIdEnumeratedPrompt;
32 YAZ_EXPORT int z_PromptIdEnumeratedPrompt (ODR o, Z_PromptIdEnumeratedPrompt **p, int opt, const char *name);
34 typedef struct Z_PromptId Z_PromptId;
35 YAZ_EXPORT int z_PromptId (ODR o, Z_PromptId **p, int opt, const char *name);
37 typedef struct Z_Encryption Z_Encryption;
38 YAZ_EXPORT int z_Encryption (ODR o, Z_Encryption **p, int opt, const char *name);
45 struct Z_PromptObject1 {
48 Z_Challenge1 *challenge;
49 Z_Response1 *response;
50 #define Z_PromptObject1_challenge 1
51 #define Z_PromptObject1_response 2
55 struct Z_ChallengeUnit1 {
57 Z_InternationalString *defaultResponse; /* OPT */
60 Z_InternationalString *character;
61 Z_Encryption *encrypted;
62 #define Z_ChallengeUnit1_character 1
63 #define Z_ChallengeUnit1_encrypted 2
65 Z_InternationalString *regExpr; /* OPT */
66 Odr_null *responseRequired; /* OPT */
67 int num_allowedValues;
68 Z_InternationalString **allowedValues; /* OPT */
69 Odr_null *shouldSave; /* OPT */
70 #define Z_ChallengeUnit1_integer 1
71 #define Z_ChallengeUnit1_date 2
72 #define Z_ChallengeUnit1_float 3
73 #define Z_ChallengeUnit1_alphaNumeric 4
74 #define Z_ChallengeUnit1_url_urn 5
75 #define Z_ChallengeUnit1_boolean 6
76 int *dataType; /* OPT */
77 Z_External *diagnostic; /* OPT */
82 Z_ChallengeUnit1 **elements;
85 struct Z_ResponseUnit1 {
89 Z_InternationalString *string;
91 Odr_null *acknowledge;
92 Z_DiagRec *diagnostic;
93 Z_Encryption *encrypted;
94 #define Z_ResponseUnit1_string 1
95 #define Z_ResponseUnit1_accept 2
96 #define Z_ResponseUnit1_acknowledge 3
97 #define Z_ResponseUnit1_diagnostic 4
98 #define Z_ResponseUnit1_encrypted 5
104 Z_ResponseUnit1 **elements;
107 struct Z_PromptIdEnumeratedPrompt {
108 #define Z_PromptIdEnumeratedPrompt_groupId 0
109 #define Z_PromptIdEnumeratedPrompt_userId 1
110 #define Z_PromptIdEnumeratedPrompt_password 2
111 #define Z_PromptIdEnumeratedPrompt_newPassword 3
112 #define Z_PromptIdEnumeratedPrompt_copyright 4
113 #define Z_PromptIdEnumeratedPrompt_sessionId 5
115 Z_InternationalString *suggestedString; /* OPT */
121 Z_PromptIdEnumeratedPrompt *enumeratedPrompt;
122 Z_InternationalString *nonEnumeratedPrompt;
123 #define Z_PromptId_enumeratedPrompt 1
124 #define Z_PromptId_nonEnumeratedPrompt 2
128 struct Z_Encryption {
129 Odr_oct *cryptType; /* OPT */
130 Odr_oct *credential; /* OPT */