summaryrefslogtreecommitdiff
path: root/src/til_str.h
blob: e653884ea8b6bb3123a58809fa31b720d4505ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _TIL_STR_H
#define _TIL_STR_H

typedef struct til_str_t til_str_t;

til_str_t * til_str_new(const char *seed);
void * til_str_free(til_str_t *str);
til_str_t * til_str_newf(const char *format, ...);
int til_str_appendf(til_str_t *str, const char *format, ...);
char * til_str_strdup(const til_str_t *str);
const char * til_str_buf(const til_str_t *str, size_t *res_len);
char * til_str_to_buf(til_str_t *str, size_t *res_len);

#endif
© All Rights Reserved