Use option -fPIC for g++
[yaz4j-moved-to-github.git] / dependencies / yaz_3.0.14 / include / yaz / z-accdes1.h
1 /** \file z-accdes1.h
2     \brief ASN.1 Module AccessControlFormat-des-1
3
4     Generated automatically by YAZ ASN.1 Compiler 0.4
5 */
6
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
15 typedef struct Z_DES_RN_Object Z_DES_RN_Object;
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
26 struct Z_DES_RN_Object {
27         int which;
28         union {
29                 Z_DRNType *challenge;
30                 Z_DRNType *response;
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 */
39         Odr_oct *randomNumber;
40 };
41
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif