YAZ  5.23.1
z-accdes1.h
Go to the documentation of this file.
1 
7 #ifndef z_accdes1_H
8 #define z_accdes1_H
9 
10 #include <yaz/odr.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 YAZ_EXPORT int z_DES_RN_Object(ODR o, Z_DES_RN_Object **p, int opt, const char *name);
17 
18 typedef struct Z_DRNType Z_DRNType;
19 YAZ_EXPORT int z_DRNType(ODR o, Z_DRNType **p, int opt, const char *name);
20 #ifdef __cplusplus
21 }
22 #endif
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27  int which;
28  union {
31 #define Z_DES_RN_Object_challenge 1
32 #define Z_DES_RN_Object_response 2
33  } u;
34 };
35 
36 struct Z_DRNType {
37  Odr_oct *userId; /* OPT */
38  Odr_oct *salt; /* OPT */
40 };
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif
Header for ODR (Open Data Representation)
char * name
Definition: initopt.c:18
Odr_oct * salt
Definition: z-accdes1.h:38
Z_DRNType * challenge
Definition: z-accdes1.h:29
Definition: odr.h:99
Z_DRNType * response
Definition: z-accdes1.h:30
Definition: odr.h:124
union Z_DES_RN_Object::@34 u
int z_DRNType(ODR o, Z_DRNType **p, int opt, const char *name)
Definition: z-accdes1.c:30
int opt
Definition: initopt.c:19
Odr_oct * userId
Definition: z-accdes1.h:37
int z_DES_RN_Object(ODR o, Z_DES_RN_Object **p, int opt, const char *name)
Definition: z-accdes1.c:12
Odr_oct * randomNumber
Definition: z-accdes1.h:39