source: trunk/gsdl/packages/yaz/include/yaz/z-acckrb1.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: 1.1 KB
Line 
1/* Generated automatically by the YAZ ASN.1 Compiler 0.3 */
2/* Module-H AccessControlFormat-krb-1 */
3
4#ifndef z_acckrb1_H
5#define z_acckrb1_H
6
7#include <yaz/odr.h>
8#include <yaz/z-core.h>
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct Z_KRBObject Z_KRBObject;
14YAZ_EXPORT int z_KRBObject (ODR o, Z_KRBObject **p, int opt, const char *name);
15
16typedef struct Z_KRBRequest Z_KRBRequest;
17YAZ_EXPORT int z_KRBRequest (ODR o, Z_KRBRequest **p, int opt, const char *name);
18
19typedef struct Z_KRBResponse Z_KRBResponse;
20YAZ_EXPORT int z_KRBResponse (ODR o, Z_KRBResponse **p, int opt, const char *name);
21#ifdef __cplusplus
22}
23#endif
24#ifdef __cplusplus
25extern "C" {
26#endif
27struct Z_KRBObject {
28 int which;
29 union {
30 Z_KRBRequest *challenge;
31 Z_KRBResponse *response;
32#define Z_KRBObject_challenge 1
33#define Z_KRBObject_response 2
34 } u;
35};
36
37struct Z_KRBRequest {
38 Z_InternationalString *service;
39 Z_InternationalString *instance; /* OPT */
40 Z_InternationalString *realm; /* OPT */
41};
42
43struct Z_KRBResponse {
44 Z_InternationalString *userid; /* OPT */
45 Odr_oct *ticket;
46};
47
48#ifdef __cplusplus
49}
50#endif
51#endif
Note: See TracBrowser for help on using the repository browser.