Add k_hasafs_recheck.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16200 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-10-20 14:53:01 +00:00
parent 156ee39478
commit 8de40c5202
2 changed files with 11 additions and 0 deletions

View File

@@ -36,6 +36,7 @@
.Dt KAFS 3 .Dt KAFS 3
.Sh NAME .Sh NAME
.Nm k_hasafs , .Nm k_hasafs ,
.Nm k_hasafs_recheck ,
.Nm k_pioctl , .Nm k_pioctl ,
.Nm k_unlog , .Nm k_unlog ,
.Nm k_setpag , .Nm k_setpag ,
@@ -58,6 +59,8 @@ AFS cache manager access library (libkafs, -lkafs)
.Ft int .Ft int
.Fn k_hasafs "void" .Fn k_hasafs "void"
.Ft int .Ft int
.Fn k_hasafs_recheck "void"
.Ft int
.Fn k_pioctl "char *a_path" "int o_opcode" "struct ViceIoctl *a_paramsP" "int a_followSymlinks" .Fn k_pioctl "char *a_path" "int o_opcode" "struct ViceIoctl *a_paramsP" "int a_followSymlinks"
.Ft int .Ft int
.Fn k_setpag "void" .Fn k_setpag "void"
@@ -86,6 +89,13 @@ called before
.Fn k_hasafs .Fn k_hasafs
is called, or if it fails. is called, or if it fails.
.Pp .Pp
.Fn k_hasafs_recheck
forces a recheck if a AFS client has started since last time
.Fn k_hasafs
or
.Fn k_hasafs_recheck
was called.
.Pp
.Fn kafs_set_verbose .Fn kafs_set_verbose
set a log function that will be called each time the kafs library does set a log function that will be called each time the kafs library does
something important so that the application using libkafs can output something important so that the application using libkafs can output

View File

@@ -101,6 +101,7 @@ struct ClearToken {
The other functions will generate a SIGSYS if AFS is not supported */ The other functions will generate a SIGSYS if AFS is not supported */
int k_hasafs (void); int k_hasafs (void);
int k_hasafs_recheck (void);
int krb_afslog (const char *cell, const char *realm); int krb_afslog (const char *cell, const char *realm);
int krb_afslog_uid (const char *cell, const char *realm, uid_t uid); int krb_afslog_uid (const char *cell, const char *realm, uid_t uid);