aboutsummaryrefslogtreecommitdiff
path: root/src/modules/utils/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/utils/utils.h')
-rw-r--r--src/modules/utils/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/utils/utils.h b/src/modules/utils/utils.h
index 1dfbb51..7a0ab02 100644
--- a/src/modules/utils/utils.h
+++ b/src/modules/utils/utils.h
@@ -11,4 +11,11 @@
*/
char *string_format(char* string);
+// function: char *concat(const char *str1, const char *str2)
+// input two char pointer
+// return: pointer to string
+// on-error: returns NULL
+// misc: caller needs to free the memory
+char *concat(const char *str1, const char *str2);
+
#endif