aboutsummaryrefslogtreecommitdiffstats
path: root/ui/exit_codes.h
blob: 67ea73f4b62775cce0a7baf66df9034bd2c936a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/** @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 __EXIT_CODES_H__
#define __EXIT_CODES_H__

/* Exit codes */
#define INVALID_OPTION               1
#define INVALID_INTERFACE            2
#define INVALID_FILE                 2
#define INVALID_FILTER               2
#define INVALID_CAPABILITY           2
#define IFACE_HAS_NO_LINK_TYPES      2
#define IFACE_HAS_NO_TIMESTAMP_TYPES 2
#define INIT_FAILED                  2
#define OPEN_ERROR                   2

#endif /* __EXIT_CODES_H__ */