summaryrefslogtreecommitdiff
path: root/reftable/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/system.h')
-rw-r--r--reftable/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/reftable/system.h b/reftable/system.h
index d02eacea8f..bb6a7e6285 100644
--- a/reftable/system.h
+++ b/reftable/system.h
@@ -15,6 +15,12 @@ https://developers.google.com/open-source/licenses/bsd
#include "compat/zlib-compat.h"
/*
+ * Return a random 32 bit integer. This function is expected to return
+ * pre-seeded data.
+ */
+uint32_t reftable_rand(void);
+
+/*
* An implementation-specific temporary file. By making this specific to the
* implementation it becomes possible to tie temporary files into any kind of
* signal or atexit handlers for cleanup on abnormal situations.