summaryrefslogtreecommitdiff
path: root/lib/string.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-11-29 14:47:24 +0000
committerMartin Mares <mj@ucw.cz>1998-11-29 14:47:24 +0000
commitdee929d86844b1956b1c0f1d2c0289a787ab9226 (patch)
tree746052f1d258a7f471fee1bb8822a3d405bf747e /lib/string.h
parentbd5d0d62f10c65d56e1900014be5989a3feb8380 (diff)
Added function for shell-like pattern matching. Will be used for
matching interface names in protocol-to-iface bindings.
Diffstat (limited to 'lib/string.h')
-rw-r--r--lib/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h
index 202db0ab..03affacc 100644
--- a/lib/string.h
+++ b/lib/string.h
@@ -16,4 +16,6 @@ int bvsprintf(char *str, const char *fmt, va_list args);
int bsnprintf(char *str, int size, const char *fmt, ...);
int bvsnprintf(char *str, int size, const char *fmt, va_list args);
+int patmatch(byte *pat, byte *str);
+
#endif