summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-22 19:41:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-22 19:41:14 +0000
commitdc20ef49c3e4006723e473181cb672bff016b56f (patch)
tree57a516af557d1f53f27b31f81b56b8450e4df3b9
parent6b462636eb4eda670268d861a9dd8b38dcf97200 (diff)
new type for video i/o entropy
-rw-r--r--sys/dev/rndvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h
index d5071ab829f..77c2b03b496 100644
--- a/sys/dev/rndvar.h
+++ b/sys/dev/rndvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rndvar.h,v 1.14 2000/04/13 13:48:30 mickey Exp $ */
+/* $OpenBSD: rndvar.h,v 1.15 2001/09/22 19:41:13 mickey Exp $ */
/*
* Copyright (c) 1996,2000 Michael Shalayeff.
@@ -53,6 +53,7 @@
#define RND_SRC_DISK 4
#define RND_SRC_NET 5
#define RND_SRC_AUDIO 6
+#define RND_SRC_VIDEO 7
#define RND_SRC_NUM 8
struct rndstats {
@@ -86,6 +87,7 @@ extern struct rndstats rndstats;
#define add_disk_randomness(d) enqueue_randomness(RND_SRC_DISK, (int)(d))
#define add_net_randomness(d) enqueue_randomness(RND_SRC_NET, (int)(d))
#define add_audio_randomness(d) enqueue_randomness(RND_SRC_AUDIO, (int)(d))
+#define add_video_randomness(d) enqueue_randomness(RND_SRC_VIDEO, (int)(d))
void enqueue_randomness __P((int, int));
void get_random_bytes __P((void *, size_t));