summaryrefslogtreecommitdiff
path: root/include/sysemu/rng-random.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-08 16:55:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-15 18:19:25 +0200
commitdccfcd0e5f8f37360ebda11ccc4dab164c04d5a3 (patch)
tree87fed71982c08112ae23dcc41bb19689af23cec2 /include/sysemu/rng-random.h
parentbdee56f5466a724f043e6cfcfcf69866cc48cc94 (diff)
downloadqemu-dccfcd0e5f8f37360ebda11ccc4dab164c04d5a3.tar.gz
sysemu: avoid proliferation of include/ subdirectories
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/rng-random.h')
-rw-r--r--include/sysemu/rng-random.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/sysemu/rng-random.h b/include/sysemu/rng-random.h
new file mode 100644
index 0000000000..4332772a24
--- /dev/null
+++ b/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