1 /* GLIB - Library of useful routines for C programming 2 * Copyright (C) 2003 Matthias Clasen 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 * Boston, MA 02111-1307, USA. 18 */ 19 #ifndef __GNULIB_PRINTF_H__ 20 #define __GNULIB_PRINTF_H__ 21 22 #include <stdarg.h> 23 #include <stdio.h> 24 25 #if 0 26 int __gst_printf (char const *format, 27 ...); 28 29 int __gst_fprintf (FILE *file, 30 char const *format, 31 ...); 32 33 int __gst_sprintf (char *string, 34 char const *format, 35 ...); 36 37 int __gst_snprintf (char *string, 38 size_t n, 39 char const *format, 40 ...); 41 42 int __gst_vprintf (char const *format, 43 va_list args); 44 45 int __gst_vfprintf (FILE *file, 46 char const *format, 47 va_list args); 48 49 int __gst_vsprintf (char *string, 50 char const *format, 51 va_list args); 52 53 int __gst_vsnprintf (char *string, 54 size_t n, 55 char const *format, 56 va_list args); 57 #endif 58 59 int __gst_vasprintf (char **result, 60 char const *format, 61 va_list args); 62 63 64 #endif /* __GNULIB_PRINTF_H__ */ 65