Go to the documentation of this file.
26 #ifndef TXTBUF_H_INCLUDED
27 #define TXTBUF_H_INCLUDED
46 extern void tb_init(
struct txtbuf *tb,
char *txt,
size_t txt_sz);
47 extern bool tb_put(
struct txtbuf *tb,
void *buf,
size_t buf_sz);
51 extern bool tb_strget(
struct txtbuf *tb,
int index,
char *dst,
size_t dst_sz);
52 extern bool tb_strlast(
struct txtbuf *tb,
int index,
char *dst,
size_t dst_sz);