chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: drop all pending jobs when isolating
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index dfbfa8b04dd73c6ae46ff77088a7b51d8316f1c1..72ddd36e556bc8954063c88767c73fb73a8f10e7 100644
(file)
--- 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);
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)
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)
@@
-406,8
+410,8
@@
int ioprio_class_from_string(const char *s);
const char *sigchld_code_to_string(int i);
int sigchld_code_from_string(const char *s);
const char *sigchld_code_to_string(int i);
int sigchld_code_from_string(const char *s);
-const char *log_facility_to_string(int i);
-int log_facility_from_string(const char *s);
+const char *log_facility_
unshifted_
to_string(int i);
+int log_facility_
unshifted_
from_string(const char *s);
const char *log_level_to_string(int i);
int log_level_from_string(const char *s);
const char *log_level_to_string(int i);
int log_level_from_string(const char *s);