summaryrefslogtreecommitdiff
path: root/src/utils.hpp
blob: 2db14366b813df3e6f7e1596428e141abc88e192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef XIFT_INCLUDED_UTILS
#define XIFT_INCLUDED_UTILS


/* Results of both create functions are malloced, so need to be freed. */
char *xift_str_create_copy(const char *begin, const char *end);

/* False only in case of error. */
bool xift_str_add(char *&dest, int &len, int &size, char c);


#endif