diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /include/ws_exit_codes.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/ws_exit_codes.h')
-rw-r--r-- | include/ws_exit_codes.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/include/ws_exit_codes.h b/include/ws_exit_codes.h new file mode 100644 index 0000000..5a5f5a2 --- /dev/null +++ b/include/ws_exit_codes.h @@ -0,0 +1,30 @@ +/** @file + * + * Definition of exit codes for programs. + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef __WS_EXIT_CODES_H__ +#define __WS_EXIT_CODES_H__ + +/* Exit codes */ +#define WS_EXIT_INVALID_OPTION 1 +#define WS_EXIT_INVALID_INTERFACE 2 +#define WS_EXIT_INVALID_FILE 3 +#define WS_EXIT_INVALID_FILTER 4 +#define WS_EXIT_INVALID_CAPABILITY 5 +#define WS_EXIT_IFACE_HAS_NO_LINK_TYPES 6 +#define WS_EXIT_IFACE_HAS_NO_TIMESTAMP_TYPES 7 +#define WS_EXIT_INIT_FAILED 8 +#define WS_EXIT_OPEN_ERROR 9 +#define WS_EXIT_PCAP_NOT_SUPPORTED 10 +#define WS_EXIT_DUMPCAP_NOT_SUPPORTED 11 +#define WS_EXIT_NO_INTERFACES 12 +#define WS_EXIT_PCAP_ERROR 13 + +#endif /* __WS_EXIT_CODES_H__ */ |