diff --git a/lib/krb5/cache.h b/lib/krb5/cache.h index 6572c2767..e14aeacf3 100644 --- a/lib/krb5/cache.h +++ b/lib/krb5/cache.h @@ -3,6 +3,13 @@ #ifndef __CACHE_H__ #define __CACHE_H__ +void +krb5_free_ccache(krb5_context context, + krb5_ccache val); + +krb5_error_code +krb5_cc_register(krb5_context context, krb5_cc_ops *ops, int override); + krb5_error_code krb5_cc_resolve(krb5_context context, const char *residual, diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 0370e846c..9ee8f49a6 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -716,6 +716,13 @@ krb5_build_principal_va(krb5_context context, const char *realm, va_list ap); +krb5_error_code +krb5_build_principal_va_ext(krb5_context context, + krb5_principal *principal, + int rlen, + const char *realm, + va_list ap); + krb5_error_code krb5_build_principal_ext(krb5_context context, krb5_principal *principal, @@ -853,6 +860,10 @@ krb5_decrypt (krb5_context context, const krb5_keyblock *keyblock, krb5_data *result); +krb5_error_code +krb5_generate_random_des_key(krb5_context context, + krb5_keyblock *keyblock); + krb5_error_code krb5_generate_random_keyblock(krb5_context, int, diff --git a/lib/krb5/store.h b/lib/krb5/store.h index bd0116036..029300c36 100644 --- a/lib/krb5/store.h +++ b/lib/krb5/store.h @@ -35,6 +35,12 @@ krb5_store_string(krb5_storage *sp, char *s); krb5_error_code krb5_ret_string(krb5_storage *sp, char **string); +krb5_error_code +krb5_store_stringz(krb5_storage *sp, char *s); + +krb5_error_code +krb5_ret_stringz(krb5_storage *sp, char **string); + /* mem */ size_t mem_store(krb5_storage *sp, void *data, size_t size);