summaryrefslogtreecommitdiff
path: root/src/common/extstr.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-02-21 21:34:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-02-21 21:34:55 (GMT)
commita60e1fe19d09eb379c88fdbbe018ca086dc05bcb (patch)
treee72fa012a465517fe3b2f728d750b008ba88d707 /src/common/extstr.h
parent0769fafb253b846b58cd97c4a1df98ca7417ae1c (diff)
Cut symbol labels using words instead of single characters.
Diffstat (limited to 'src/common/extstr.h')
-rw-r--r--src/common/extstr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/extstr.h b/src/common/extstr.h
index f803129..d5bbee6 100644
--- a/src/common/extstr.h
+++ b/src/common/extstr.h
@@ -52,6 +52,9 @@ char *_strxxx(char *, int (* fn) (int));
#define strlower(str) _strxxx(str, tolower)
#define strupper(str) _strxxx(str, toupper)
+/* Extrait un mot d'une chaîne selon des séparations longues. */
+char *strtok_w(char **, const char *);
+
/* Extrait une liste de mots d'une chaîne. */
char **strtoka(const char *, const char *, size_t *);