buffer.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2005- The University of Notre Dame
00003 This software is distributed under the GNU General Public License.
00004 See the file COPYING for details.
00005 */
00006 
00007 #ifndef BUFFER_H
00008 #define BUFFER_H
00009 
00010 #include <stdlib.h>
00011 #include <stdarg.h>
00012 
00020 typedef struct buffer_t buffer_t;
00021 
00025 buffer_t *buffer_create (void);
00026 
00030 void buffer_delete (buffer_t *b);
00031 
00040 int buffer_vprintf (buffer_t *b, const char *format, va_list ap);
00041 
00049 int buffer_printf (buffer_t *b, const char *format, ...);
00050 
00058 const char *buffer_tostring (buffer_t *b, size_t *size);
00059 
00060 #endif /* BUFFER_H */

Generated on Wed May 4 15:09:45 2011 for cctools by  doxygen 1.4.7