diff options
author | Theodore Tso <tytso@mit.edu> | 1998-12-04 08:16:22 +0000 |
---|---|---|
committer | Theodore Tso <tytso@mit.edu> | 1998-12-04 08:16:22 +0000 |
commit | e374430baf1408c78f9c60c7b17a177ed2d92017 (patch) | |
tree | f86c5bbb3875f55a4a1d45d6412ee0c2939120be /src/include | |
parent | 866c3c2fe637fdc64ab013862324b78e2cca5794 (diff) | |
download | krb5-e374430baf1408c78f9c60c7b17a177ed2d92017.tar.gz krb5-e374430baf1408c78f9c60c7b17a177ed2d92017.tar.xz krb5-e374430baf1408c78f9c60c7b17a177ed2d92017.zip |
krb5.hin: Add function prototypes for the new realm iterator
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
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ChangeLog | 6 | ||||
-rw-r--r-- | src/include/krb5.hin | 43 |
2 files changed, 49 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 4526bc04eb..85dd28ffbe 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -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 diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 8b1d42f0d0..2d846138df 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -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__ */ |