summaryrefslogtreecommitdiff
path: root/common/stringx.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stringx.h')
-rw-r--r--common/stringx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/stringx.h b/common/stringx.h
index 8a39c7e..8e6f2f4 100644
--- a/common/stringx.h
+++ b/common/stringx.h
@@ -50,6 +50,10 @@ int is_first_word(const char* line, const char* word, int len);
int is_last_word(const char* line, const char* word, int len);
int is_blank_line(const char* line);
+char* trim_start(const char* data);
+char* trim_end(char* data);
+char* trim_space(char* data);
+
void plock();
void punlock();