From 735376035c76be882fff79392368575881d1c823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 9 Nov 2004 18:55:40 +0000 Subject: [PATCH] add description for opt_init, opt_alloc, opt_free git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14340 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/krb5_get_init_creds.3 | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/lib/krb5/krb5_get_init_creds.3 b/lib/krb5/krb5_get_init_creds.3 index 9989e53a1..20ec02401 100644 --- a/lib/krb5/krb5_get_init_creds.3 +++ b/lib/krb5/krb5_get_init_creds.3 @@ -40,7 +40,6 @@ .Nm krb5_get_init_creds_opt , .Nm krb5_get_init_creds_opt_alloc , .Nm krb5_get_init_creds_opt_free , -.Nm krb5_get_init_creds_opt_free_pkinit , .Nm krb5_get_init_creds_opt_init , .Nm krb5_get_init_creds_opt_set_address_list , .Nm krb5_get_init_creds_opt_set_anonymous , @@ -75,10 +74,6 @@ Kerberos 5 Library (libkrb5, -lkrb5) .Fa "krb5_get_init_creds_opt *opt" .Fc .Ft void -.Fo krb5_get_init_creds_opt_free_pkinit -.Fa "krb5_get_init_creds_opt *opt" -.Fc -.Ft void .Fo krb5_get_init_creds_opt_init .Fa "krb5_get_init_creds_opt *opt" .Fc @@ -216,11 +211,23 @@ keytab to make sure the response was from the KDC. .Pp First a .Li krb5_get_init_creds_opt -structure is initialized. The structure modified by the any of the +structure is initialized +with +.Fn krb5_get_init_creds_opt_alloc +or +.Fn krb5_get_init_creds_opt_init . +.Fn krb5_get_init_creds_opt_alloc +allocates a extendible structures that needs to be freed with +.Fn krb5_get_init_creds_opt_free . +The structure modified by the any of the .Fn krb5_get_init_creds_opt_set functions to change request parameters and authentication information. .Pp -The the actual reqest to the KDC is done by any of the +If the caller want to use the default options, +.Dv NULL +can be passed instead. +.Pp +The the actual request to the KDC is done by any of the .Fn krb5_get_init_creds , .Fn krb5_get_init_creds_password , or