summaryrefslogtreecommitdiff
path: root/internal/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/random.h')
-rw-r--r--internal/random.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/random.h b/internal/random.h
new file mode 100644
index 0000000000..127b908e16
--- /dev/null
+++ b/internal/random.h
@@ -0,0 +1,17 @@
+#ifndef INTERNAL_RANDOM_H /*-*-C-*-vi:se ft=c:*/
+#define INTERNAL_RANDOM_H
+/**
+ * @author Ruby developers <ruby-core@ruby-lang.org>
+ * @copyright This file is a part of the programming language Ruby.
+ * Permission is hereby granted, to either redistribute and/or
+ * modify this file, provided that the conditions mentioned in the
+ * file COPYING are met. Consult the file for details.
+ * @brief Internal header for Random.
+ */
+#include <stddef.h> /* for size_t */
+
+/* random.c */
+int ruby_fill_random_bytes(void *, size_t, int);
+void rb_free_default_rand_key(void);
+
+#endif /* INTERNAL_RANDOM_H */