diff options
| author | Ian C <ianc@noddybox.co.uk> | 2026-06-15 00:52:40 +0100 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2026-06-15 00:52:40 +0100 |
| commit | 47e68b48a085efbc0a71b7814659dba159314475 (patch) | |
| tree | 0c7ad1ee36bdf3d35ce48b959821e677f702a4c4 /src/util.h | |
| parent | f540fb7da37d6c5b5544715e4ee6b83d440ea61d (diff) | |
Added type lookup to file selector. Removed old CVS tags. Added SDL keysym to char lookup.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |
