summaryrefslogtreecommitdiff
path: root/src/shared/exit-status.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-28 18:24:20 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-28 21:34:23 +0200
commit597466f49752a52e85ea04051d020f97e8739f72 (patch)
treeb8db897a9af2741644e4deafdc0b11094b95edb9 /src/shared/exit-status.h
parent68a01fb658c926b527bd58da94467903feb5d1d0 (diff)
exit-status: introduce common exit_status_set_test() call for testing exit status set membership
Diffstat (limited to 'src/shared/exit-status.h')
-rw-r--r--src/shared/exit-status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h
index 1d774f25dc..7259cd1d18 100644
--- a/src/shared/exit-status.h
+++ b/src/shared/exit-status.h
@@ -100,3 +100,4 @@ bool is_clean_exit_lsb(int code, int status, ExitStatusSet *success_status);
void exit_status_set_free(ExitStatusSet *x);
bool exit_status_set_is_empty(ExitStatusSet *x);
+bool exit_status_set_test(ExitStatusSet *x, int code, int status);