summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index c754307..88db7ee 100644
--- a/src/util.h
+++ b/src/util.h
@@ -43,6 +43,13 @@
char *CopyStr(const char *p);
+/* Concatante a string.
+ NOTE: orig must have been allocated with Malloc() or Realloc(), and will
+ have been free()ed when this returns.
+*/
+char *CatStr(char *orig, const char *p);
+
+
/* Malloc wrapper. Just use free() to free.
*/
void *F_Malloc(const char *file, int line, size_t len);