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