X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/bf302d900e1658e664e4e7c05bb2748c4677dfc6..b50ba1bda8722c66c40005f43707ebc63515732b:/server/tripe.h diff --git a/server/tripe.h b/server/tripe.h index ba47232b..b062b366 100644 --- a/server/tripe.h +++ b/server/tripe.h @@ -859,6 +859,20 @@ extern void km_init(const char */*privkr*/, const char */*pubkr*/, extern int km_reload(void); +/* --- @km_clear@ --- * + * + * Arguments: --- + * + * Returns: --- + * + * Use: Forget the currently loaded keyrings. The @master@ key will + * be cleared, but other keys already loaded will continue to + * exist until their reference count drops to zero. Call + * @km_init@ to make everything work again. + */ + +extern void km_clear(void); + /* --- @km_findpub@, @km_findpriv@ --- * * * Arguments: @const char *tag@ = key tag to load