chiark / gitweb /
util-lib: add parse_percent_unbounded() for percentages over 100% (#3886)
[elogind.git] / src / basic / parse-util.h
index 1f420c050b9906ba137b440a986be3b405facb11..e9e270904e77ce2aa2d3d0ea6271842cc3785f6f 100644 (file)
@@ -108,4 +108,5 @@ int safe_atod(const char *s, double *ret_d);
 
 int parse_fractional_part_u(const char **s, size_t digits, unsigned *res);
 
+int parse_percent_unbounded(const char *p);
 int parse_percent(const char *p);