All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes
txtbuf.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Classes

struct  txtbuf
 

Functions

void tb_init (struct txtbuf *tb, char *txt, size_t txt_sz)
 
bool tb_put (struct txtbuf *tb, void *buf, size_t buf_sz)
 
void tb_strtrim (struct txtbuf *tb)
 
bool tb_strput (struct txtbuf *tb, char *str)
 
int tb_strnum (struct txtbuf *tb)
 
bool tb_strget (struct txtbuf *tb, int index, char *dst, size_t dst_sz)
 
bool tb_strlast (struct txtbuf *tb, int index, char *dst, size_t dst_sz)
 

Detailed Description

Author
Mitja Horvat pinkf.nosp@m.luid.nosp@m.@gmai.nosp@m.l.co.nosp@m.m