Files
mars-tinyldap/strstorage.h
2002-03-24 03:08:04 +00:00

7 lines
256 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,int n);