X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fexit-status.h;h=44ef879562324202daaed912bb991b211cabf649;hb=b8217b7bd5fd171916a095b150fad4c3a37f5a41;hp=178bdf6d616c7f9df053b89e2378b6994d645a6e;hpb=1afbdcb06b2333c1f5852c049bd5e73b729aa6f0;p=elogind.git
diff --git a/src/exit-status.h b/src/exit-status.h
index 178bdf6d6..44ef87956 100644
--- a/src/exit-status.h
+++ b/src/exit-status.h
@@ -22,6 +22,8 @@
along with systemd; If not, see .
***/
+#include
+
typedef enum ExitStatus {
/* EXIT_SUCCESS defined by libc */
/* EXIT_FAILURE defined by libc */
@@ -62,7 +64,9 @@ typedef enum ExitStatus {
EXIT_CONFIRM,
EXIT_STDERR,
EXIT_TCPWRAP,
- EXIT_PAM
+ EXIT_PAM,
+ EXIT_NETWORK,
+ EXIT_NAMESPACE
} ExitStatus;
@@ -75,4 +79,7 @@ typedef enum ExitStatusLevel {
const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level);
+bool is_clean_exit(int code, int status);
+bool is_clean_exit_lsb(int code, int status);
+
#endif