YAZ  5.23.1
z-acckrb1.h
Go to the documentation of this file.
1 
7 #ifndef z_acckrb1_H
8 #define z_acckrb1_H
9 
10 #include <yaz/odr.h>
11 #include <yaz/z-core.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct Z_KRBObject Z_KRBObject;
17 YAZ_EXPORT int z_KRBObject(ODR o, Z_KRBObject **p, int opt, const char *name);
18 
19 typedef struct Z_KRBRequest Z_KRBRequest;
20 YAZ_EXPORT int z_KRBRequest(ODR o, Z_KRBRequest **p, int opt, const char *name);
21 
23 YAZ_EXPORT int z_KRBResponse(ODR o, Z_KRBResponse **p, int opt, const char *name);
24 #ifdef __cplusplus
25 }
26 #endif
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 struct Z_KRBObject {
31  int which;
32  union {
35 #define Z_KRBObject_challenge 1
36 #define Z_KRBObject_response 2
37  } u;
38 };
39 
40 struct Z_KRBRequest {
44 };
45 
46 struct Z_KRBResponse {
49 };
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 #endif
Header for ODR (Open Data Representation)
char Z_InternationalString
Definition: z-core.h:301
ASN.1 Module Z39-50-APDU-1995.
Z_InternationalString * realm
Definition: z-acckrb1.h:43
Z_KRBResponse * response
Definition: z-acckrb1.h:34
char * name
Definition: initopt.c:18
int z_KRBResponse(ODR o, Z_KRBResponse **p, int opt, const char *name)
Definition: z-acckrb1.c:44
Z_InternationalString * service
Definition: z-acckrb1.h:41
Z_InternationalString * instance
Definition: z-acckrb1.h:42
int z_KRBRequest(ODR o, Z_KRBRequest **p, int opt, const char *name)
Definition: z-acckrb1.c:30
Z_InternationalString * userid
Definition: z-acckrb1.h:47
Z_KRBRequest * challenge
Definition: z-acckrb1.h:33
Definition: odr.h:99
union Z_KRBObject::@39 u
Definition: odr.h:124
int opt
Definition: initopt.c:19
Odr_oct * ticket
Definition: z-acckrb1.h:48
int z_KRBObject(ODR o, Z_KRBObject **p, int opt, const char *name)
Definition: z-acckrb1.c:12