Move the uid-range parser to string.c.
[adu.git] / string.h
index ebf3b17903565dfeff7742fba9a0ef0f0f50b364..d9751784c8492dfa67670425c72c40db1e08846f 100644 (file)
--- a/string.h
+++ b/string.h
@@ -12,3 +12,5 @@ __must_check __malloc void *adu_calloc(size_t size);
 __must_check __malloc char *adu_strdup(const char *s);
 __must_check __malloc __printf_1_2 char *make_message(const char *fmt, ...);
 __must_check int atoi64(const char *str, int64_t *result);
+int parse_uid_range(const char *orig_arg, struct uid_range *ur);
+