summaryrefslogtreecommitdiff
path: root/lib/random.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/random.h')
-rw-r--r--lib/random.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/random.h b/lib/random.h
index 198adeabf..c69863859 100644
--- a/lib/random.h
+++ b/lib/random.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,6 +21,8 @@
#include <stdint.h>
void random_init(void);
+void random_set_seed(uint32_t);
+
void random_bytes(void *, size_t);
uint8_t random_uint8(void);
uint16_t random_uint16(void);