X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Futil.h;h=72ddd36e556bc8954063c88767c73fb73a8f10e7;hb=5d6ab905c00342d012aed559a859b373512e4650;hp=cc63dd1a8302f7cc15749cf81c12753aa602f97d;hpb=7d76f312889d54dcfe6fdde6eb055e890e7a615b;p=elogind.git diff --git a/src/util.h b/src/util.h index cc63dd1a8..72ddd36e5 100644 --- a/src/util.h +++ b/src/util.h @@ -394,6 +394,10 @@ bool nulstr_contains(const char*nulstr, const char *needle); bool plymouth_running(void); +void parse_syslog_priority(char **p, int *priority); + +int have_effective_cap(int value); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)