diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2016-11-22 17:39:56 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2016-11-22 17:54:27 +0100 |
commit | c35755fb878af58b80ac62a501a75f79c90a3763 (patch) | |
tree | 67b38bfd83d55403f30ed0a49d380c21e0b18534 /src/core/service.h | |
parent | 1a1b13c9573b8cd30a4ab8dca2ec7961e460f083 (diff) |
service: introduce protocol error type
Introduce a SERVICE_FAILURE_PROTOCOL error type for when a service does
not follow the protocol.
This error type is used when a pid file is expected, but not delivered.
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h index 2869144fcb..278cc1ceb8 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -81,6 +81,7 @@ typedef enum NotifyState { typedef enum ServiceResult { SERVICE_SUCCESS, SERVICE_FAILURE_RESOURCES, /* a bit of a misnomer, just our catch-all error for errnos we didn't expect */ + SERVICE_FAILURE_PROTOCOL, SERVICE_FAILURE_TIMEOUT, SERVICE_FAILURE_EXIT_CODE, SERVICE_FAILURE_SIGNAL, |