Added compiled ASN.1 C files.
[yaz-moved-to-github.git] / include / yaz / z-acckrb1.h
diff --git a/include/yaz/z-acckrb1.h b/include/yaz/z-acckrb1.h
new file mode 100644 (file)
index 0000000..218a526
--- /dev/null
@@ -0,0 +1,51 @@
+/* YC 0.2: Tue Feb 29 16:45:07 CET 2000 */
+/* Module-H AccessControlFormat-krb-1 */
+
+#ifndef z_acckrb1_H
+#define z_acckrb1_H
+
+#include <yaz/odr.h>
+#include <yaz/z-core.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct Z_KRBObject Z_KRBObject;
+YAZ_EXPORT int z_KRBObject (ODR o, Z_KRBObject **p, int opt, const char *name);
+
+typedef struct Z_KRBRequest Z_KRBRequest;
+YAZ_EXPORT int z_KRBRequest (ODR o, Z_KRBRequest **p, int opt, const char *name);
+
+typedef struct Z_KRBResponse Z_KRBResponse;
+YAZ_EXPORT int z_KRBResponse (ODR o, Z_KRBResponse **p, int opt, const char *name);
+#ifdef __cplusplus
+}
+#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+struct Z_KRBObject {
+       int which;
+       union {
+               Z_KRBRequest *challenge;
+               Z_KRBResponse *response;
+#define Z_KRBObject_challenge 1
+#define Z_KRBObject_response 2
+       } u;
+};
+
+struct Z_KRBRequest {
+       Z_InternationalString *service;
+       Z_InternationalString *instance; /* OPT */
+       Z_InternationalString *realm; /* OPT */
+};
+
+struct Z_KRBResponse {
+       Z_InternationalString *userid; /* OPT */
+       Odr_oct *ticket;
+};
+
+#ifdef __cplusplus
+}
+#endif
+#endif