mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-23 18:14:29 +08:00
More status exit codes for a program using libnetdissect
It can now use status exit codes 0 to 10.
This commit is contained in:
parent
0906b438b6
commit
d5ca317dbd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user