Document that the caller needs to do make a local copy of the result
of krb5_config_get_string. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21905 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
.\" Copyright (c) 2000 - 2005 Kungliga Tekniska H<>gskolan
|
.\" Copyright (c) 2000 - 2007 Kungliga Tekniska H<>gskolan
|
||||||
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
.\" (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $Id$
|
.\" $Id$
|
||||||
.\"
|
.\"
|
||||||
.Dd August 23, 2005
|
.Dd August 10, 2007
|
||||||
.Dt KRB5_CONFIG_GET 3
|
.Dt KRB5_CONFIG_GET 3
|
||||||
.Os HEIMDAL
|
.Os HEIMDAL
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -272,6 +272,14 @@ seconds, so the string
|
|||||||
will be converted to
|
will be converted to
|
||||||
1209600 (2 * 7 * 24 * 60 * 60).
|
1209600 (2 * 7 * 24 * 60 * 60).
|
||||||
.Pp
|
.Pp
|
||||||
|
.Fn krb5_config_get_string
|
||||||
|
returns a
|
||||||
|
.Ft "const char *"
|
||||||
|
to a string in the configuration database. The string not be valid
|
||||||
|
after reload of the configuration database
|
||||||
|
.\" or a call to .Fn krb5_config_set_string ,
|
||||||
|
so a caller should make a local copy if its need to keep the database.
|
||||||
|
.Pp
|
||||||
.Fn krb5_config_free_strings
|
.Fn krb5_config_free_strings
|
||||||
free
|
free
|
||||||
.Fa strings
|
.Fa strings
|
||||||
|
Reference in New Issue
Block a user