rng-random.h (4ceb193d30fe9b1cda0dc73bddb8051659926fb9) rng-random.h (cde63615343fb241f4044e6471e6e25be78574c8)
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"
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)
18#define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
19
19
20typedef struct RndRandom RndRandom;
20typedef struct RngRandom RngRandom;
21
22#endif
21
22#endif