summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int.h
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2008-12-24 18:48:00 +0000
committerGreg Hudson <ghudson@mit.edu>2008-12-24 18:48:00 +0000
commit9ad56f7a109d43aed52f17f98434105f6dcfd2cf (patch)
tree8a37856b3806d6ec3058e55897fa7756dcaf0d16 /src/include/k5-int.h
parent2fd916940dbe98a2e7c000480979d5a37ef72265 (diff)
downloadkrb5-9ad56f7a109d43aed52f17f98434105f6dcfd2cf.tar.gz
krb5-9ad56f7a109d43aed52f17f98434105f6dcfd2cf.tar.xz
krb5-9ad56f7a109d43aed52f17f98434105f6dcfd2cf.zip
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
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r--src/include/k5-int.h4
1 files changed, 4 insertions, 0 deletions
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 {