2012-06-25 17:34:09 +02:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2012-12-17 18:19:50 +01:00
|
|
|
#include "qom/object.h"
|
2012-06-25 17:34:09 +02:00
|
|
|
|
|
|
|
#define TYPE_RNG_RANDOM "rng-random"
|
|
|
|
#define RNG_RANDOM(obj) OBJECT_CHECK(RndRandom, (obj), TYPE_RNG_RANDOM)
|
|
|
|
|
|
|
|
typedef struct RndRandom RndRandom;
|
|
|
|
|
|
|
|
#endif
|