YAZ  5.34.0
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 
22 typedef struct Z_KRBResponse Z_KRBResponse;
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
int opt
Definition: initopt.c:19
char * name
Definition: initopt.c:18
Header for ODR (Open Data Representation)
Z_KRBRequest * challenge
Definition: z-acckrb1.h:33
union Z_KRBObject::@36 u
Z_KRBResponse * response
Definition: z-acckrb1.h:34
Z_InternationalString * instance
Definition: z-acckrb1.h:42
Z_InternationalString * service
Definition: z-acckrb1.h:41
Z_InternationalString * realm
Definition: z-acckrb1.h:43
Z_InternationalString * userid
Definition: z-acckrb1.h:47
Odr_oct * ticket
Definition: z-acckrb1.h:48
Definition: odr.h:100
Definition: odr.h:125
int z_KRBObject(ODR o, Z_KRBObject **p, int opt, const char *name)
Definition: z-acckrb1.c:12
int z_KRBResponse(ODR o, Z_KRBResponse **p, int opt, const char *name)
Definition: z-acckrb1.c:44
int z_KRBRequest(ODR o, Z_KRBRequest **p, int opt, const char *name)
Definition: z-acckrb1.c:30
ASN.1 Module Z39-50-APDU-1995.
char Z_InternationalString
Definition: z-core.h:301