chiark / gitweb /
Pull fetching random bytes into the system-specific code.
[yaid] / yaid.h
diff --git a/yaid.h b/yaid.h
index 15f26bfc409b601bfc9cd437c3f786c875292d76..a148743e8315eefb07656df49f5c54a2c9ac0373 100644 (file)
--- a/yaid.h
+++ b/yaid.h
@@ -260,6 +260,12 @@ extern void PRINTF_LIKE(3, 4)
  */
 extern void identify(struct query */*q*/);
 
+/* Fill the buffer at P with SZ random bytes.  The buffer will be moderately
+ * large: this is intended to be a low-level interface, not a general-purpose
+ * utility.
+ */
+extern void fill_random(void */*p*/, size_t /*sz*/);
+
 /* Initialize the system-specific code. */
 extern void init_sys(void);