Add mg_strstr

PUBLISHED_FROM=4306e870e2cab854febb6becc198ca2247e2e002
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2017-07-05 16:20:32 +00:00
1 parent 41558bbf64
commit 2a2bc33a89
2 files changed
+16

No files matched your search

+2
View File
@@ -1809,6 +1809,8 @@ const char *mg_strchr(const struct mg_str s, int c);
int mg_strcmp(const struct mg_str str1, const struct mg_str str2);
int mg_strncmp(const struct mg_str str1, const struct mg_str str2, size_t n);
const char *mg_strstr(const struct mg_str haystack, const struct mg_str needle);
#ifdef __cplusplus
}
#endif /* __cplusplus */