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