added strToTime function and started writing cmd_trim
[NeonServV5.git] / tools.h
diff --git a/tools.h b/tools.h
index f34787d6d0efbb4d452a3299af7095284ee93eba..60a590e5f178c3a71da39e22c50b220ec781f1ce 100644 (file)
--- a/tools.h
+++ b/tools.h
@@ -29,7 +29,8 @@ int table_set_bold(struct Table *table, int collum, int bold);
 char **table_end(struct Table *table);
 void table_free(struct Table *table);
 
-int timeToStr(struct UserNode *user, int seconds, int items, char *buf);
+char* timeToStr(struct UserNode *user, int seconds, int items, char *buf);
+int strToTime(struct UserNode *user, char *str);
 
 void init_tools();