summaryrefslogtreecommitdiffstats
path: root/src/basic/parse-util.h
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-04-26 18:18:03 +0200
committerFranck Bui <fbui@suse.com>2017-06-06 22:42:35 +0200
commitfbcc7f4168827bf7c956bd83eaa42e1f449e95bd (patch)
treee4e043525c25385355505a913f390b148c4ca78e /src/basic/parse-util.h
parent50-udev-default.rules.in: set correct group for mediaX/cecX (#5921) (diff)
downloadsystemd-fbcc7f4168827bf7c956bd83eaa42e1f449e95bd.tar.xz
systemd-fbcc7f4168827bf7c956bd83eaa42e1f449e95bd.zip
parse-util: introduce parse_dev() helper
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r--src/basic/parse-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h
index 4d132f0de5..dc09782ca8 100644
--- a/src/basic/parse-util.h
+++ b/src/basic/parse-util.h
@@ -30,6 +30,7 @@
#define MODE_INVALID ((mode_t) -1)
int parse_boolean(const char *v) _pure_;
+int parse_dev(const char *s, dev_t *ret);
int parse_pid(const char *s, pid_t* ret_pid);
int parse_mode(const char *s, mode_t *ret);
int parse_ifindex(const char *s, int *ret);