document kafs_set_verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11998 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
.Nm k_unlog ,
|
.Nm k_unlog ,
|
||||||
.Nm k_setpag ,
|
.Nm k_setpag ,
|
||||||
.Nm k_afs_cell_of_file ,
|
.Nm k_afs_cell_of_file ,
|
||||||
|
.Nm kafs_set_verbose ,
|
||||||
.Nm kafs_settoken_rxkad ,
|
.Nm kafs_settoken_rxkad ,
|
||||||
.Nm kafs_settoken ,
|
.Nm kafs_settoken ,
|
||||||
.Nm krb_afslog ,
|
.Nm krb_afslog ,
|
||||||
@@ -62,6 +63,8 @@ AFS cache manager access library (libkafs, -lkafs)
|
|||||||
.Fn k_setpag "void"
|
.Fn k_setpag "void"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn k_unlog "void"
|
.Fn k_unlog "void"
|
||||||
|
.Ft void
|
||||||
|
.Fn kafs_set_verbose "void (*func)(void *, const char *, int)" "void *"
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn kafs_settoken_rxkad "const char *cell" "struct ClearToken *token" "void *ticket" "size_t ticket_len"
|
.Fn kafs_settoken_rxkad "const char *cell" "struct ClearToken *token" "void *ticket" "size_t ticket_len"
|
||||||
.Ft int
|
.Ft int
|
||||||
@@ -83,6 +86,16 @@ called before
|
|||||||
.Fn k_hasafs
|
.Fn k_hasafs
|
||||||
is called, or if it fails.
|
is called, or if it fails.
|
||||||
.Pp
|
.Pp
|
||||||
|
.Fn kafs_set_verbose
|
||||||
|
set a log function that will be called each time the kafs library does
|
||||||
|
something important so that the application using libkafs can output
|
||||||
|
verbose logging.
|
||||||
|
Calling the function
|
||||||
|
.Fa kafs_set_verbose
|
||||||
|
with the function argument set to
|
||||||
|
.Dv NULL
|
||||||
|
will stop libkafs from calling the logging function (if set).
|
||||||
|
.Pp
|
||||||
.Fn kafs_settoken_rxkad
|
.Fn kafs_settoken_rxkad
|
||||||
set
|
set
|
||||||
.Li rxkad
|
.Li rxkad
|
||||||
|
Reference in New Issue
Block a user