summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/lib/krb5/krb5_get_krbhst.3
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/heimdal/lib/krb5/krb5_get_krbhst.3')
-rw-r--r--crypto/heimdal/lib/krb5/krb5_get_krbhst.315
1 files changed, 8 insertions, 7 deletions
diff --git a/crypto/heimdal/lib/krb5/krb5_get_krbhst.3 b/crypto/heimdal/lib/krb5/krb5_get_krbhst.3
index f1918a8..fcdc8e1 100644
--- a/crypto/heimdal/lib/krb5/krb5_get_krbhst.3
+++ b/crypto/heimdal/lib/krb5/krb5_get_krbhst.3
@@ -1,5 +1,5 @@
.\" Copyright (c) 2001 Kungliga Tekniska Högskolan
-.\" $Id: krb5_get_krbhst.3,v 1.2 2001/11/09 09:34:46 joda Exp $
+.\" $Id: krb5_get_krbhst.3,v 1.4 2002/08/28 15:30:53 joda Exp $
.Dd June 17, 2001
.Dt KRB5_GET_KRBHST 3
.Os HEIMDAL
@@ -10,9 +10,10 @@
.Nm krb5_get_krb524hst
.Nm krb5_free_krbhst
.Nd lookup Kerberos KDC hosts
+.Sh LIBRARY
+Kerberos 5 Library (libkrb5, -lkrb5)
.Sh SYNOPSIS
.Fd #include <krb5.h>
-
.Ft krb5_error_code
.Fn krb5_get_krbhst "krb5_context context" "const krb5_realm *realm" "char ***hostlist"
.Ft krb5_error_code
@@ -26,21 +27,21 @@
.Sh DESCRIPTION
These functions implement the old API to get a list of Kerberos hosts,
and are thus similar to the
-.Fn krb5_krbhst_init
-functions. However, since these functions returns
+.Fn krb5_krbhst_init
+functions. However, since these functions returns
.Em all
hosts in one go, they potentially have to do more lookups than
necessary. These functions remain for compatibility reasons.
.Pp
After a call to one of these functions,
-.Fa hostlist
+.Fa hostlist
is a
.Dv NULL
terminated list of strings, pointing to the requested Kerberos hosts. These should be freed with
-.Fn krb5_free_krbhst
+.Fn krb5_free_krbhst
when done with.
.Sh EXAMPLE
-The following code will print the KDCs of the realm
+The following code will print the KDCs of the realm
.Dq MY.REALM .
.Bd -literal -offset indent
char **hosts, **p;
OpenPOWER on IntegriCloud