diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-22 12:19:25 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-22 12:19:49 +0200 |
commit | 2c12530bacc89485e807ec18ae455f4e190b383f (patch) | |
tree | 46888eafb63d6aeadb53f5c6f842b6882651646e /lib/random.h | |
parent | d3e5a6bc5e75d29f7ac3ee52ecd2d9b21fae5459 (diff) | |
download | gnutls-2c12530bacc89485e807ec18ae455f4e190b383f.tar.gz |
added gnutls_fd_in_use() to check whether a file descriptor is in use
Diffstat (limited to 'lib/random.h')
-rw-r--r-- | lib/random.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/random.h b/lib/random.h index 0aa154527b..8c755f8997 100644 --- a/lib/random.h +++ b/lib/random.h @@ -48,4 +48,8 @@ inline static void _gnutls_rnd_refresh(void) void _gnutls_rnd_deinit(void); int _gnutls_rnd_init(void); +#ifndef _WIN32 +extern int _gnutls_urandom_fd; +#endif + #endif |