Files
mars-tinyldap/strstorage.h
2007-06-28 22:17:33 +00:00

7 lines
259 B
C

/* provide a string allocator. It is add-only, you can't free a string
* later. On the plus side, the allocation overhead is close to zero.
* Will return a pointer to the stored copy of the string. */
const char* strstorage_add(const char* s,size_t n);