Crossfire Server, Trunk
stringbuffer.h
Go to the documentation of this file.
1 
22 #ifndef STRING_BUFFER_H
23 #define STRING_BUFFER_H
24 
25 #include <ctype.h>
26 
27 #include "global.h"
28 
29 
33 typedef struct StringBuffer StringBuffer;
34 
35 
42 
48 
59 
72 
80 void stringbuffer_append_string(StringBuffer *sb, const char *str);
81 
89 void stringbuffer_append_printf(StringBuffer *sb, const char *format, ...);
90 
100 
109 void stringbuffer_append_multiline_block(StringBuffer *sb, const char *start, const char *content, const char *end);
110 
118 
126 
127 #endif
global.h
stringbuffer_append_stringbuffer
void stringbuffer_append_stringbuffer(StringBuffer *sb, const StringBuffer *sb2)
Definition: stringbuffer.c:131
stringbuffer_trim_whitespace
void stringbuffer_trim_whitespace(StringBuffer *sb)
Definition: stringbuffer.c:188
stringbuffer_new
StringBuffer * stringbuffer_new(void)
Definition: stringbuffer.c:57
stringbuffer_append_string
void stringbuffer_append_string(StringBuffer *sb, const char *str)
Definition: stringbuffer.c:95
stringbuffer_append_multiline_block
void stringbuffer_append_multiline_block(StringBuffer *sb, const char *start, const char *content, const char *end)
Definition: stringbuffer.c:162
stringbuffer_append_printf
void stringbuffer_append_printf(StringBuffer *sb, const char *format,...)
Definition: stringbuffer.c:104
make_face_from_files.str
str
Definition: make_face_from_files.py:24
sstring
const typedef char * sstring
Definition: global.h:40
StringBuffer
Definition: stringbuffer.c:25
stringbuffer_finish
char * stringbuffer_finish(StringBuffer *sb)
Definition: stringbuffer.c:76
stringbuffer_length
size_t stringbuffer_length(StringBuffer *sb)
Definition: stringbuffer.c:184
stringbuffer_delete
void stringbuffer_delete(StringBuffer *sb)
Definition: stringbuffer.c:71
stringbuffer_finish_shared
sstring stringbuffer_finish_shared(StringBuffer *sb)
Definition: stringbuffer.c:85