libFirm 1.20
libfirm/irprintf.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 1995-2011 University of Karlsruhe.  All right reserved.
00003  *
00004  * This file is part of libFirm.
00005  *
00006  * This file may be distributed and/or modified under the terms of the
00007  * GNU General Public License version 2 as published by the Free Software
00008  * Foundation and appearing in the file LICENSE.GPL included in the
00009  * packaging of this file.
00010  *
00011  * Licensees holding valid libFirm Professional Edition licenses may use
00012  * this file in accordance with the libFirm Commercial License.
00013  * Agreement provided with the Software.
00014  *
00015  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00016  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00017  * PURPOSE.
00018  */
00019 
00026 #ifndef FIRM_IR_IRPRINTF_H
00027 #define FIRM_IR_IRPRINTF_H
00028 
00029 #include <stddef.h>
00030 #include <stdarg.h>
00031 #include <stdio.h>
00032 #include "begin.h"
00033 
00034 /* forward definition */
00035 struct obstack;
00036 
00063 FIRM_API void ir_printf(const char *fmt, ...);
00064 
00068 FIRM_API void ir_fprintf(FILE *f, const char *fmt, ...);
00069 
00073 FIRM_API void ir_snprintf(char *buf, size_t n, const char *fmt, ...);
00074 
00078 FIRM_API void ir_vprintf(const char *fmt, va_list args);
00079 
00083 FIRM_API void ir_vfprintf(FILE *f, const char *fmt, va_list args);
00084 
00088 FIRM_API void ir_vsnprintf(char *buf, size_t len, const char *fmt,
00089                            va_list args);
00090 
00094 FIRM_API void ir_obst_vprintf(struct obstack *obst, const char *fmt,
00095                               va_list args);
00096 
00097 #include "end.h"
00098 
00099 #endif