libFirm
irprintf.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19 
26 #ifndef FIRM_IR_IRPRINTF_H
27 #define FIRM_IR_IRPRINTF_H
28 
29 #include <stddef.h>
30 #include <stdarg.h>
31 #include <stdio.h>
32 #include "begin.h"
33 
34 /* forward definition */
35 struct obstack;
36 
62 FIRM_API void ir_printf(const char *fmt, ...);
63 
67 FIRM_API void ir_fprintf(FILE *f, const char *fmt, ...);
68 
72 FIRM_API void ir_snprintf(char *buf, size_t n, const char *fmt, ...);
73 
77 FIRM_API void ir_vprintf(const char *fmt, va_list args);
78 
82 FIRM_API void ir_vfprintf(FILE *f, const char *fmt, va_list args);
83 
87 FIRM_API void ir_vsnprintf(char *buf, size_t len, const char *fmt,
88  va_list args);
89 
93 FIRM_API void ir_obst_vprintf(struct obstack *obst, const char *fmt,
94  va_list args);
95 
96 #include "end.h"
97 
98 #endif