X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=d880dbe257eca34a96b5fbcf9cb59c96459db9a9;hb=cdbb891f0ff44f4494452970ff69465179c0be1e;hp=4ad3124af1ead25147a7ce38f730737b34ab19df;hpb=92f3b101f550c164953b4a490e706ebd0d9f1374;p=PuTTY.git diff --git a/putty.h b/putty.h index 4ad3124a..d880dbe2 100644 --- a/putty.h +++ b/putty.h @@ -742,10 +742,14 @@ void luni_send(void *, wchar_t * widebuf, int len, int interactive); */ void random_add_noise(void *noise, int length); -void random_init(void); int random_byte(void); void random_get_savedata(void **data, int *len); extern int random_active; +/* The random number subsystem is activated if at least one other entity + * within the program expresses an interest in it. So each SSH session + * calls random_ref on startup and random_unref on shutdown. */ +void random_ref(void); +void random_unref(void); /* * Exports from pinger.c.