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 struct 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 
98 void stringbuffer_append_char(StringBuffer *sb, const char c);
99 
108 void stringbuffer_append_int64(StringBuffer *sb, int64_t x);
109 
119 
128 void stringbuffer_append_multiline_block(StringBuffer *sb, const char *start, const char *content, const char *end);
129 
137 
145 
146 #endif
global.h
stringbuffer_append_stringbuffer
void stringbuffer_append_stringbuffer(StringBuffer *sb, const StringBuffer *sb2)
Definition: stringbuffer.cpp:165
diamondslots.x
x
Definition: diamondslots.py:15
stringbuffer_trim_whitespace
void stringbuffer_trim_whitespace(StringBuffer *sb)
Definition: stringbuffer.cpp:222
c
static event_registration c
Definition: citylife.cpp:425
stringbuffer_new
StringBuffer * stringbuffer_new(void)
Definition: stringbuffer.cpp:57
stringbuffer_append_string
void stringbuffer_append_string(StringBuffer *sb, const char *str)
Definition: stringbuffer.cpp:95
stringbuffer_append_multiline_block
void stringbuffer_append_multiline_block(StringBuffer *sb, const char *start, const char *content, const char *end)
Definition: stringbuffer.cpp:196
stringbuffer_append_printf
void stringbuffer_append_printf(StringBuffer *sb, const char *format,...)
Definition: stringbuffer.cpp:138
make_face_from_files.str
str
Definition: make_face_from_files.py:30
StringBuffer
Definition: stringbuffer.cpp:25
stringbuffer_finish
char * stringbuffer_finish(StringBuffer *sb)
Definition: stringbuffer.cpp:76
stringbuffer_append_char
void stringbuffer_append_char(StringBuffer *sb, const char c)
Definition: stringbuffer.cpp:104
sstring
const typedef char * sstring
Definition: sstring.h:2
stringbuffer_length
size_t stringbuffer_length(StringBuffer *sb)
Definition: stringbuffer.cpp:218
stringbuffer_delete
void stringbuffer_delete(StringBuffer *sb)
Definition: stringbuffer.cpp:71
stringbuffer_finish_shared
sstring stringbuffer_finish_shared(StringBuffer *sb)
Definition: stringbuffer.cpp:85
stringbuffer_append_int64
void stringbuffer_append_int64(StringBuffer *sb, int64_t x)
Definition: stringbuffer.cpp:111