source: trunk/gsdl/packages/yaz/include/yaz/z-accdes1.h@ 1343

Last change on this file since 1343 was 1343, checked in by johnmcp, 24 years ago

Added the YAZ toolkit source to the packages directory (for z39.50 stuff)

  • Property svn:keywords set to Author Date Id Revision
File size: 830 bytes
RevLine 
[1343]1/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2/* Module-H AccessControlFormat-des-1 */
3
4#ifndef z_accdes1_H
5#define z_accdes1_H
6
7#include <yaz/odr.h>
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct Z_DES_RN_Object Z_DES_RN_Object;
13YAZ_EXPORT int z_DES_RN_Object (ODR o, Z_DES_RN_Object **p, int opt, const char *name);
14
15typedef struct Z_DRNType Z_DRNType;
16YAZ_EXPORT int z_DRNType (ODR o, Z_DRNType **p, int opt, const char *name);
17#ifdef __cplusplus
18}
19#endif
20#ifdef __cplusplus
21extern "C" {
22#endif
23struct Z_DES_RN_Object {
24 int which;
25 union {
26 Z_DRNType *challenge;
27 Z_DRNType *response;
28#define Z_DES_RN_Object_challenge 1
29#define Z_DES_RN_Object_response 2
30 } u;
31};
32
33struct Z_DRNType {
34 Odr_oct *userId; /* OPT */
35 Odr_oct *salt; /* OPT */
36 Odr_oct *randomNumber;
37};
38
39#ifdef __cplusplus
40}
41#endif
42#endif
Note: See TracBrowser for help on using the repository browser.