414:99a34860c105 | 415:d938228c382e |
---|---|
27 */ | 27 */ |
28 | 28 |
29 #ifndef STRBUF_H | 29 #ifndef STRBUF_H |
30 #define STRBUF_H | 30 #define STRBUF_H |
31 | 31 |
32 #include <ucx/string.h> | 32 #include <cx/string.h> |
33 | 33 |
34 #ifdef __cplusplus | 34 #ifdef __cplusplus |
35 extern "C" { | 35 extern "C" { |
36 #endif | 36 #endif |
37 | 37 |
46 | 46 |
47 void sbuf_puts(sbuf_t *buf, char *str); | 47 void sbuf_puts(sbuf_t *buf, char *str); |
48 | 48 |
49 void sbuf_put(sbuf_t *buf, char chr); | 49 void sbuf_put(sbuf_t *buf, char chr); |
50 | 50 |
51 void sbuf_append(sbuf_t *buf, sstr_t str); | 51 void sbuf_append(sbuf_t *buf, cxstring str); |
52 | 52 |
53 void sbuf_free(sbuf_t *buf); | 53 void sbuf_free(sbuf_t *buf); |
54 | 54 |
55 #ifdef __cplusplus | 55 #ifdef __cplusplus |
56 } | 56 } |