summaryrefslogtreecommitdiff
path: root/src/common/extstr.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-07-07 06:32:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-07-07 06:32:43 (GMT)
commit4c10dfa2a95cea6fc704d68066d0c284cfd79342 (patch)
tree5827bbc411459800747e21929daecdf99fde7dfd /src/common/extstr.h
parent3f996be1e5858b54740bf92515795982a16b169a (diff)
Rewrite core parts of the ROST API.
Diffstat (limited to 'src/common/extstr.h')
-rw-r--r--src/common/extstr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/extstr.h b/src/common/extstr.h
index c4e671e..a2293be 100644
--- a/src/common/extstr.h
+++ b/src/common/extstr.h
@@ -79,6 +79,12 @@ bool _endswith(const char *, const char *, const char **);
#define startswith(str, prefix) _startswith(str, prefix, NULL)
#define endswith(str, suffix) _endswith(str, suffix, NULL)
+/* Recherche une séquence d'octets dans un ensemble de données. */
+const void *memcasemem(const void *, size_t, const void *, size_t);
+
+/* Compare sans casse deux série d'octets entre elles. */
+int memcasecmp(const void *, const void *, size_t);
+
#endif /* _COMMON_EXTSTR_H */