krb5.hin: Add function prototypes for the new realm iterator
authorTheodore Tso <tytso@mit.edu>
Fri, 4 Dec 1998 08:16:22 +0000 (08:16 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 4 Dec 1998 08:16:22 +0000 (08:16 +0000)
functions.  Also add some krb4 function prototypes to make catching
prototype errors easier.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11060 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/krb5.hin

index 4526bc04eb886352306bd835ae993c4e58481820..85dd28ffbefaee91c94862f4fe773c632b4601b8 100644 (file)
@@ -1,3 +1,9 @@
+1998-12-04  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * krb5.hin: Add function prototypes for the new realm iterator
+               functions.  Also add some krb4 function prototypes to make
+               catching prototype errors easier.
+
 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * Makefile.in: Set the myfulldir and mydir variables (which are
index 8b1d42f0d0bffe2f20c68def0aa371d8d8be7e7a..2d846138df3954b0830f71a642e875c804b6bc10 100644 (file)
@@ -2382,4 +2382,47 @@ KRB5_PROTOTYPE((krb5_context context,
 #pragma import reset
 #endif
 
+/*
+ * The realm iterator functions
+ */
+KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator_create
+       PROTOTYPE((krb5_context context, void **iter_p));
+
+KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_realm_iterator
+       PROTOTYPE((krb5_context context, void **iter_p, char **ret_realm));
+
+KRB5_DLLIMP void KRB5_CALLCONV krb5_realm_iterator_free
+       PROTOTYPE((krb5_context context, void **iter_p));
+
+KRB5_DLLIMP void KRB5_CALLCONV krb5_free_realm_string
+       PROTOTYPE((krb5_context context, char *str));
+
+/*
+ * Kerberos V4 compatibility functions
+ */
+#ifndef __alpha
+#define KRB5_K4_U32    unsigned long
+#else
+#define KRB5_K4_U32    unsigned int
+#endif
+typedef struct ktext *KTEXT;
+typedef unsigned char des_cblock[8];   /* crypto-block size */
+
+extern krb5_error_code krb54_get_service_keyblock
+       PROTOTYPE((char FAR *service, char FAR *instance, char FAR *realm,
+                  int kvno, char FAR *file,
+                  krb5_keyblock FAR * keyblock));
+extern int decomp_tkt_krb5
+       PROTOTYPE((KTEXT tkt, unsigned char *flags, char *pname,
+                  char *pinstance, char *prealm, KRB5_K4_U32 *paddress,
+                  des_cblock session, int *life, KRB5_K4_U32 *time_sec, 
+                  char *sname, char *sinstance, krb5_keyblock *k5key));
+extern int krb_set_key_krb5
+       PROTOTYPE ((krb5_context ctx, krb5_keyblock *key));
+void krb_clear_key_krb5
+       PROTOTYPE ((krb5_context ctx));
+
+#undef KRB5_K4_U32
+
+
 #endif /* KRB5_GENERAL__ */