From 9ad56f7a109d43aed52f17f98434105f6dcfd2cf Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 24 Dec 2008 18:48:00 +0000 Subject: Clean up krb5_get_fallback_host_realm in two respects: 1. It isn't exported from libkrb5 (and no one seems to complain about that). So give it a krb5int_ name and move its declaration to k5-int.h. Also stop exporting it from the collected client lib. 2. It returned a list of realms, but its only caller assumes that the list contains exactly one realm. So just make it return a single realm. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21589 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 4 ++++ src/include/krb5/krb5.hin | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 883de3e18..611bddff8 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -538,6 +538,10 @@ krb5int_locate_server (krb5_context, const krb5_data *realm, struct addrlist *, enum locate_service_type svc, int sockettype, int family); +krb5_error_code +krb5int_get_fallback_host_realm (krb5_context, krb5_data *hdata, + char **realmp); + /* new encryption provider api */ struct krb5_enc_provider { diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index accde60fc..4848178d0 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2099,10 +2099,6 @@ krb5_error_code KRB5_CALLCONV krb5_get_host_realm (krb5_context, const char *, char *** ); -krb5_error_code KRB5_CALLCONV krb5_get_fallback_host_realm - (krb5_context, - krb5_data *, - char *** ); krb5_error_code KRB5_CALLCONV krb5_free_host_realm (krb5_context, char * const * ); -- cgit