summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-14 13:11:10 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-14 13:18:51 +0100
commit781fa93815fafd02b5287ef5781b92ef7b99973b (patch)
tree5ff4471b65649d3b98fe27fd98baab0d8e7830e4 /src/shared/util.h
parent8022212b3b8e553fd83b87575f3e730e56852d5d (diff)
busctl: add new "call" command to invoke methods on a service
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 04f2d8a564..835fee496d 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -245,6 +245,9 @@ static inline int safe_atoi64(const char *s, int64_t *ret_i) {
return safe_atolli(s, (long long int*) ret_i);
}
+int safe_atou16(const char *s, uint16_t *ret);
+int safe_atoi16(const char *s, int16_t *ret);
+
const char* split(const char **state, size_t *l, const char *separator, bool quoted);
#define FOREACH_WORD(word, length, s, state) \