]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/exit-status.h
shared/exit-status: add exit_status_from_string()
[thirdparty/systemd.git] / src / shared / exit-status.h
index 425f8415234a34824fabe659e34b122743b3525d..24eba79f560a1647bd2e4108e0c01e400dd0e653 100644 (file)
@@ -89,6 +89,7 @@ typedef struct ExitStatusSet {
 
 const char* exit_status_to_string(int code, ExitStatusClass class) _const_;
 const char* exit_status_class(int code) _const_;
+int exit_status_from_string(const char *s) _pure_;
 
 typedef struct ExitStatusMapping {
         const char *name;