chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
resolved: when resolving an address PTR record via llmnr, make a tcp connection by...
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index d9d525e8a51215eedcb815d5f6c8de924602faae..81da59b20cf68cfae46c53ea538dd238a7babff4 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-192,6
+192,8
@@
int safe_atolli(const char *s, long long int *ret_i);
int safe_atod(const char *s, double *ret_d);
+int safe_atou8(const char *s, uint8_t *ret);
+
#if __WORDSIZE == 32
static inline int safe_atolu(const char *s, unsigned long *ret_u) {
assert_cc(sizeof(unsigned long) == sizeof(unsigned));