aboutsummaryrefslogtreecommitdiffstats
path: root/xstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'xstring.h')
-rw-r--r--xstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xstring.h b/xstring.h
index 3e98ec9..a0426d6 100644
--- a/xstring.h
+++ b/xstring.h
@@ -10,6 +10,7 @@ typedef struct tag_string {
} string;
string *string_alloc(const char *text);
+string *string_nalloc(const char *text, size_t text_len);
void string_release(string *str);
void string_reset(string *str);
void string_addch(string *str, int ch);