summaryrefslogtreecommitdiffstats
path: root/src/include/sysemu/rng-random.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sysemu/rng-random.h')
-rw-r--r--src/include/sysemu/rng-random.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/sysemu/rng-random.h b/src/include/sysemu/rng-random.h
new file mode 100644
index 0000000..4332772
--- /dev/null
+++ b/src/include/sysemu/rng-random.h
@@ -0,0 +1,22 @@
+/*
+ * QEMU Random Number Generator Backend
+ *
+ * Copyright IBM, Corp. 2012
+ *
+ * Authors:
+ * Anthony Liguori <aliguori@us.ibm.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+#ifndef QEMU_RNG_RANDOM_H
+#define QEMU_RNG_RANDOM_H
+
+#include "qom/object.h"
+
+#define TYPE_RNG_RANDOM "rng-random"
+#define RNG_RANDOM(obj) OBJECT_CHECK(RndRandom, (obj), TYPE_RNG_RANDOM)
+
+typedef struct RndRandom RndRandom;
+
+#endif
OpenPOWER on IntegriCloud