From d8876070975654ef9a21231d2ee9f0400464963e Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 16 Jun 2001 21:47:17 +0000 Subject: [PATCH] types for new krbhst api git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10051 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 832beb2df..b333ebdfe 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -639,6 +639,23 @@ extern const krb5_kt_ops krb5_any_ops; #define KPASSWD_PORT 464 +/* types for the new krbhst interface */ +#define KRB5_KRBHST_KDC 1 +#define KRB5_KRBHST_ADMIN 2 +#define KRB5_KRBHST_CHANGEPW 3 +#define KRB5_KRBHST_KRB524 4 + +typedef struct krb5_krbhst_info { + enum { KRB5_KRBHST_UDP, + KRB5_KRBHST_TCP, + KRB5_KRBHST_HTTP } proto; + unsigned short port; + struct addrinfo *ai; + struct krb5_krbhst_info *next; + char hostname[1]; /* has to come last */ +} krb5_krbhst_info; + + struct credentials; /* this is to keep the compiler happy */ struct getargs;