mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Exported string functions
This commit is contained in:
1 parent
a9bb7d78ab
commit
4bc508525b
2 files changed
+13
-5
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user