diff --git a/lib/kafs/kafs.3 b/lib/kafs/kafs.3 index 8ebb11855..9dceb3005 100644 --- a/lib/kafs/kafs.3 +++ b/lib/kafs/kafs.3 @@ -36,6 +36,7 @@ .Dt KAFS 3 .Sh NAME .Nm k_hasafs , +.Nm k_hasafs_recheck , .Nm k_pioctl , .Nm k_unlog , .Nm k_setpag , @@ -58,6 +59,8 @@ AFS cache manager access library (libkafs, -lkafs) .Ft int .Fn k_hasafs "void" .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" .Ft int .Fn k_setpag "void" @@ -86,6 +89,13 @@ called before .Fn k_hasafs is called, or if it fails. .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 set a log function that will be called each time the kafs library does something important so that the application using libkafs can output diff --git a/lib/kafs/kafs.h b/lib/kafs/kafs.h index 8afcc8067..5775228f2 100644 --- a/lib/kafs/kafs.h +++ b/lib/kafs/kafs.h @@ -101,6 +101,7 @@ struct ClearToken { The other functions will generate a SIGSYS if AFS is not supported */ int k_hasafs (void); +int k_hasafs_recheck (void); int krb_afslog (const char *cell, const char *realm); int krb_afslog_uid (const char *cell, const char *realm, uid_t uid);