More status exit codes for a program using libnetdissect

It can now use status exit codes 0 to 10.
This commit is contained in:
Francois-Xavier Le Bail 2018-09-09 14:27:22 +02:00
parent 0906b438b6
commit d5ca317dbd

View File

@ -22,11 +22,11 @@
typedef enum {
S_SUCCESS = 0, /* not a libnetdissect status */
S_ERR_HOST_PROGRAM = 1, /* not a libnetdissect status */
S_ERR_ND_NO_PRINTER = 2,
S_ERR_ND_MEM_ALLOC = 3,
S_ERR_ND_OPEN_FILE = 4,
S_ERR_ND_WRITE_FILE = 5,
S_ERR_ND_ESP_SECRET = 6
S_ERR_ND_NO_PRINTER = 11,
S_ERR_ND_MEM_ALLOC = 12,
S_ERR_ND_OPEN_FILE = 13,
S_ERR_ND_WRITE_FILE = 14,
S_ERR_ND_ESP_SECRET = 15
} status_exit_codes_t;
#endif /* status_exit_codes_h */