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 0d34f9c5..6e549cb7 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) |