xref: /openbmc/qemu/include/sysemu/rng-random.h (revision 99d423e5)
1 /*
2  * QEMU Random Number Generator Backend
3  *
4  * Copyright IBM, Corp. 2012
5  *
6  * Authors:
7  *  Anthony Liguori   <aliguori@us.ibm.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10  * See the COPYING file in the top-level directory.
11  */
12 #ifndef QEMU_RNG_RANDOM_H
13 #define QEMU_RNG_RANDOM_H
14 
15 #include "qom/object.h"
16 
17 #define TYPE_RNG_RANDOM "rng-random"
18 #define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
19 
20 typedef struct RngRandom RngRandom;
21 
22 #endif
23