Add some more strings.
[metze/wireshark/wip.git] / epan / tfs.h
1 /* tfs.h
2  * true_false strings
3  * Copyright 2007, Jaap Keuter <jaap.keuter@xs4all.nl>
4  *
5  * $Id$
6  *
7  * Wireshark - Network traffic analyzer
8  * By Gerald Combs <gerald@wireshark.org>
9  * Copyright 1998 Gerald Combs
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
24  */
25
26 #ifndef __TFS_H__
27 #define __TFS_H__
28
29 /* Struct for boolean enumerations */
30 typedef struct true_false_string {
31         const char      *true_string;
32         const char      *false_string;
33 } true_false_string;
34
35 /*
36  * A default set of true/false strings that dissectors can use for
37  * FT_BOOLEAN header fields.
38  */
39 WS_VAR_IMPORT const true_false_string tfs_true_false;
40 WS_VAR_IMPORT const true_false_string tfs_yes_no;
41 WS_VAR_IMPORT const true_false_string tfs_set_notset;
42 WS_VAR_IMPORT const true_false_string tfs_enabled_disabled;
43 WS_VAR_IMPORT const true_false_string tfs_ok_error;
44 WS_VAR_IMPORT const true_false_string tfs_error_ok;
45 WS_VAR_IMPORT const true_false_string tfs_success_fail;
46 WS_VAR_IMPORT const true_false_string tfs_fail_success;
47 WS_VAR_IMPORT const true_false_string tfs_on_off;
48 WS_VAR_IMPORT const true_false_string tfs_ack_nack;
49 WS_VAR_IMPORT const true_false_string tfs_odd_even;
50 WS_VAR_IMPORT const true_false_string tfs_allow_block;
51 WS_VAR_IMPORT const true_false_string tfs_restricted_allowed;
52 WS_VAR_IMPORT const true_false_string tfs_accept_reject;
53 WS_VAR_IMPORT const true_false_string tfs_more_nomore;
54 WS_VAR_IMPORT const true_false_string tfs_present_absent;
55 WS_VAR_IMPORT const true_false_string tfs_active_inactive;
56 WS_VAR_IMPORT const true_false_string tfs_found_not_found;
57 WS_VAR_IMPORT const true_false_string tfs_command_response;
58 WS_VAR_IMPORT const true_false_string tfs_capable_not_capable;
59 WS_VAR_IMPORT const true_false_string tfs_supported_not_supported;
60 WS_VAR_IMPORT const true_false_string tfs_used_notused;
61 WS_VAR_IMPORT const true_false_string tfs_high_low;
62 WS_VAR_IMPORT const true_false_string tfs_pressed_not_pressed;
63
64 #endif