chiark / gitweb /
core: introduce parse_ip_port (#4825)
[elogind.git] / src / basic / parse-util.h
index e9e270904e77ce2aa2d3d0ea6271842cc3785f6f..2f6cfdbc5f9aba222cb643df42747366da234284 100644 (file)
@@ -110,3 +110,9 @@ 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);