Handle #1459 - deprecate mg_globmatch, introduce mg_match()

This commit is contained in:
Sergey Lyubka committed 2022-01-29 11:03:54 +00:00
1 parent 768f67ae0a
commit 63b880e624
10 files changed
+184 -102

No files matched your search

-2
View File
@@ -5,8 +5,6 @@
#include "str.h"
void mg_random(void *buf, size_t len);
bool mg_globmatch(const char *pattern, size_t plen, const char *s, size_t n);
bool mg_commalist(struct mg_str *s, struct mg_str *k, struct mg_str *v);
uint16_t mg_ntohs(uint16_t net);
uint32_t mg_ntohl(uint32_t net);
uint32_t mg_crc32(uint32_t crc, const char *buf, size_t len);