summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index c82169e..2262332 100644
--- a/src/util.h
+++ b/src/util.h
@@ -25,7 +25,7 @@
*/
#ifndef ESPEC_UTIL_H
-#define ESPEC_UTIL_H "$Id$"
+#define ESPEC_UTIL_H
#include <stdlib.h>
@@ -74,6 +74,13 @@ const char *Dirname(const char *path);
void Debug(const char *format,...);
+/* See if the passed strings match, case insensitive, up to the passed length.
+ Returns TRUE if they match, otherwise FALSE. If nul is hit before the
+ length then just up to that is checked.
+*/
+int StartsWith(const char *a, const char *b, size_t len);
+
+
#endif