Exported string functions

This commit is contained in:
Sergey Lyubka committed 2012-07-29 14:04:48 +01:00
1 parent a9bb7d78ab
commit 4bc508525b
2 files changed
+13 -5

No files matched your search

+8
View File
@@ -249,6 +249,14 @@ typedef void * (*mg_thread_func_t)(void *);
int mg_start_thread(mg_thread_func_t f, void *p);
// Platform independent string utility functions.
void mg_strlcpy(char *dst, const char *src, size_t n);
int mg_strncasecmp(const char *s1, const char *s2, size_t len);
int mg_strcasecmp(const char *s1, const char *s2);
char *mg_strndup(const char *ptr, size_t len);
char *mg_strdup(const char *str);
// Return Mongoose version.
const char *mg_version(void);