2012-06-25 15:34:09 +00: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 17:19:50 +00:00
|
|
|
#include "qom/object.h"
|
2012-06-25 15:34:09 +00:00
|
|
|
|
|
|
|
#define TYPE_RNG_RANDOM "rng-random"
|
2016-04-15 01:36:08 +00:00
|
|
|
#define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
|
2012-06-25 15:34:09 +00:00
|
|
|
|
2016-04-15 01:36:08 +00:00
|
|
|
typedef struct RngRandom RngRandom;
|
2012-06-25 15:34:09 +00:00
|
|
|
|
|
|
|
#endif
|