diff options
Diffstat (limited to 'lib/string.h')
-rw-r--r-- | lib/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/string.h b/lib/string.h index bd4fd2a0..d6ae5ef7 100644 --- a/lib/string.h +++ b/lib/string.h @@ -24,6 +24,9 @@ int buffer_vprint(buffer *buf, const char *fmt, va_list args); int buffer_print(buffer *buf, const char *fmt, ...); void buffer_puts(buffer *buf, const char *str); +u64 bstrtoul10(const char *str, char **end); +u64 bstrtoul16(const char *str, char **end); + int patmatch(const byte *pat, const byte *str); static inline char *xbasename(const char *str) |