summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/rand/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/rand/rand.h')
-rw-r--r--crypto/openssl/crypto/rand/rand.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/crypto/openssl/crypto/rand/rand.h b/crypto/openssl/crypto/rand/rand.h
index 2973ee9..971880e 100644
--- a/crypto/openssl/crypto/rand/rand.h
+++ b/crypto/openssl/crypto/rand/rand.h
@@ -90,12 +90,28 @@ int RAND_write_file(const char *file);
const char *RAND_file_name(char *file,int num);
int RAND_status(void);
int RAND_egd(const char *path);
+int RAND_egd_bytes(const char *path,int bytes);
+void ERR_load_RAND_strings(void);
+int RAND_poll(void);
+
+#ifdef __cplusplus
+}
+#endif
+
#if defined(WINDOWS) || defined(WIN32)
#include <windows.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void RAND_screen(void);
int RAND_event(UINT, WPARAM, LPARAM);
+
+#ifdef __cplusplus
+}
+#endif
#endif
-void ERR_load_RAND_strings(void);
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
@@ -110,8 +126,5 @@ void ERR_load_RAND_strings(void);
/* Reason codes. */
#define RAND_R_PRNG_NOT_SEEDED 100
-#ifdef __cplusplus
-}
-#endif
#endif
OpenPOWER on IntegriCloud