summaryrefslogtreecommitdiff
path: root/src/basic/parse-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-28 13:06:56 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-28 13:06:56 +0100
commite3d285e6c0fb5a63e48d97f9bec1ba6d4ec132aa (patch)
treec2afa8ccfccfa7e464792f52e871e99281597f3f /src/basic/parse-util.h
parentdf5b3e1840a373dca1e3da5b81540b7862994ab4 (diff)
parent71b1c27a406271b71f64487ae70b58f44a4a37f0 (diff)
Merge pull request #1699 from filbranden/cpuaffinity9
cpu-set-util: Support ranges in parse_cpu_set_and_warn (v4)
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 72a619c38f..0e56848e26 100644
--- a/src/basic/parse-util.h
+++ b/src/basic/parse-util.h
@@ -33,6 +33,7 @@ int parse_pid(const char *s, pid_t* ret_pid);
int parse_mode(const char *s, mode_t *ret);
int parse_size(const char *t, uint64_t base, uint64_t *size);
+int parse_range(const char *t, unsigned *lower, unsigned *upper);
#define FORMAT_BYTES_MAX 8
char *format_bytes(char *buf, size_t l, uint64_t t);