summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-06-15 02:40:23 +0000
committerKen Raeburn <raeburn@mit.edu>2006-06-15 02:40:23 +0000
commit78e9a960233f1e40396a2e5859b11eae3aafc998 (patch)
tree559c919b25ff3fbd77775ea2f0a6696cec9f34af /src/include
parentfd4daafbf5eb8d72ad66fbfeb5d3abb989208ae4 (diff)
downloadkrb5-78e9a960233f1e40396a2e5859b11eae3aafc998.tar.gz
krb5-78e9a960233f1e40396a2e5859b11eae3aafc998.tar.xz
krb5-78e9a960233f1e40396a2e5859b11eae3aafc998.zip
Conditionalize declarations of krb5int_make_srv_query_realm and
krb5int_free_srv_dns_data on KRB5_DNS_LOOKUP. ticket: 2628 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18137 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 7e4effed5..1bc3ed2d7 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1637,12 +1637,14 @@ struct srv_dns_entry {
unsigned short port;
char *host;
};
+#ifdef KRB5_DNS_LOOKUP
krb5_error_code
krb5int_make_srv_query_realm(const krb5_data *realm,
const char *service,
const char *protocol,
struct srv_dns_entry **answers);
void krb5int_free_srv_dns_data(struct srv_dns_entry *);
+#endif
/*
* Convenience function for structure magic number