krb5_free_ticket free the whole ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13101 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd July 22, 2003
|
.Dd November 9, 2003
|
||||||
.Dt KRB5_TICKET 3
|
.Dt KRB5_TICKET 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -78,21 +78,23 @@ The internals of the structure should never be accessed directly,
|
|||||||
functions exist for extracting information.
|
functions exist for extracting information.
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_free_ticket
|
.Fn krb5_free_ticket
|
||||||
frees the contents of the
|
frees the
|
||||||
.Fa ticket .
|
.Fa ticket
|
||||||
|
and its content .
|
||||||
|
Used to free the result of
|
||||||
|
.Fn krb5_copy_ticket
|
||||||
|
and
|
||||||
|
.Fn krb5_recvauth .
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_copy_ticket
|
.Fn krb5_copy_ticket
|
||||||
copies the content of the ticket
|
copies the content of the ticket
|
||||||
.Fa from
|
.Fa from
|
||||||
to the ticket
|
to the ticket
|
||||||
.Fa to .
|
.Fa to .
|
||||||
The content of
|
The result
|
||||||
.Fa to
|
.Fa to
|
||||||
should be freed with
|
should be freed with
|
||||||
.Fn krb5_free_ticket .
|
.Fn krb5_free_ticket .
|
||||||
.Fa to
|
|
||||||
itself should be freed with
|
|
||||||
.Xr free 3 .
|
|
||||||
.Pp
|
.Pp
|
||||||
.Fn krb5_ticket_get_client
|
.Fn krb5_ticket_get_client
|
||||||
and
|
and
|
||||||
@@ -100,6 +102,5 @@ and
|
|||||||
returns a copy of the client/server principal from the ticket.
|
returns a copy of the client/server principal from the ticket.
|
||||||
The principal returned should be free using
|
The principal returned should be free using
|
||||||
.Xr krb5_free_principal 3 .
|
.Xr krb5_free_principal 3 .
|
||||||
.\" .Sh EXAMPLES
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr krb5 3
|
.Xr krb5 3
|
||||||
|
Reference in New Issue
Block a user