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(RndRandom, (obj), TYPE_RNG_RANDOM) 19 20 typedef struct RndRandom RndRandom; 21 22 #endif 23