Usually, Random Number Generator is abbreviated to RNG/rng. so replacing RndRandom with RngRandom seems more reasonable and keep consistent with RngBackend. Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com> Reviewed-by: Pankaj Gupta <pagupta@redhat.com> Message-Id: <1460684168-5403-1-git-send-email-weijg.fnst@cn.fujitsu.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			502 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			502 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * 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
 | 
						|
 | 
						|
#include "qom/object.h"
 | 
						|
 | 
						|
#define TYPE_RNG_RANDOM "rng-random"
 | 
						|
#define RNG_RANDOM(obj) OBJECT_CHECK(RngRandom, (obj), TYPE_RNG_RANDOM)
 | 
						|
 | 
						|
typedef struct RngRandom RngRandom;
 | 
						|
 | 
						|
#endif
 |