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
|
Rev | Line | |
---|
[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
|
---|
| 9 | extern "C" {
|
---|
| 10 | #endif
|
---|
| 11 |
|
---|
| 12 | typedef struct Z_DES_RN_Object Z_DES_RN_Object;
|
---|
| 13 | YAZ_EXPORT int z_DES_RN_Object (ODR o, Z_DES_RN_Object **p, int opt, const char *name);
|
---|
| 14 |
|
---|
| 15 | typedef struct Z_DRNType Z_DRNType;
|
---|
| 16 | YAZ_EXPORT int z_DRNType (ODR o, Z_DRNType **p, int opt, const char *name);
|
---|
| 17 | #ifdef __cplusplus
|
---|
| 18 | }
|
---|
| 19 | #endif
|
---|
| 20 | #ifdef __cplusplus
|
---|
| 21 | extern "C" {
|
---|
| 22 | #endif
|
---|
| 23 | struct 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 |
|
---|
| 33 | struct 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.