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"
|
2016-04-15 03:36:08 +02:00
|
|
|
#define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
|
2012-06-25 17:34:09 +02:00
|
|
|
|
2016-04-15 03:36:08 +02:00
|
|
|
typedef struct RngRandom RngRandom;
|
2012-06-25 17:34:09 +02:00
|
|
|
|
|
|
|
#endif
|