One less qemu-specific macro. It also helps to make some headers/units only depend on glib, and thus moved in standalone projects eventually. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			612 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			612 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Print to stream or current monitor
 | 
						|
 *
 | 
						|
 * Copyright (C) 2019 Red Hat Inc.
 | 
						|
 *
 | 
						|
 * Authors:
 | 
						|
 *  Markus Armbruster <armbru@redhat.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_PRINT_H
 | 
						|
#define QEMU_PRINT_H
 | 
						|
 | 
						|
int qemu_vprintf(const char *fmt, va_list ap) G_GNUC_PRINTF(1, 0);
 | 
						|
int qemu_printf(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
 | 
						|
 | 
						|
int qemu_vfprintf(FILE *stream, const char *fmt, va_list ap)
 | 
						|
    G_GNUC_PRINTF(2, 0);
 | 
						|
int qemu_fprintf(FILE *stream, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
 | 
						|
 | 
						|
#endif
 |