chiark / gitweb /
core: introduce parse_ip_port (#4825)
[elogind.git] / src / basic / parse-util.h
index 1f420c050b9906ba137b440a986be3b405facb11..2f6cfdbc5f9aba222cb643df42747366da234284 100644 (file)
@@ -108,4 +108,11 @@ 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);
+
+#if 0 /// UNNEEDED by elogind
+int parse_nice(const char *p, int *ret);
+#endif // 0
+
+int parse_ip_port(const char *s, uint16_t *ret);