YAZ  4.2.57
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