Crossfire Server, Branches 1.12  R18729
stringbuffer.h
Go to the documentation of this file.
1 /*
2  CrossFire, A Multiplayer game for X-windows
3 
4  Copyright (C) 2008 Crossfire Development Team
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 
20  The authors can be reached via e-mail at crossfire-devel@real-time.com
21 */
22 
44 #ifndef STRING_BUFFER_H
45 #define STRING_BUFFER_H
46 
47 #include "global.h"
48 
49 
53 typedef struct StringBuffer StringBuffer;
54 
55 
62 
73 
86 
94 void stringbuffer_append_string(StringBuffer *sb, const char *str);
95 
103 void stringbuffer_append_printf(StringBuffer *sb, const char *format, ...);
104 
114 
115 #endif
char * stringbuffer_finish(StringBuffer *sb)
Definition: stringbuffer.c:78
void stringbuffer_append_string(StringBuffer *sb, const char *str)
Definition: stringbuffer.c:97
StringBuffer * stringbuffer_new(void)
Definition: stringbuffer.c:64
void stringbuffer_append_stringbuffer(StringBuffer *sb, const StringBuffer *sb2)
Definition: stringbuffer.c:133
void stringbuffer_append_printf(StringBuffer *sb, const char *format,...)
Definition: stringbuffer.c:106
const char * sstring
Definition: global.h:84
sstring stringbuffer_finish_shared(StringBuffer *sb)
Definition: stringbuffer.c:87