Fixed mausb valid bit & added invalid_valid TFS
[metze/wireshark/wip.git] / epan / tfs.c
1 /* tfs.c
2  * true_false strings
3  * Copyright 2007, Jaap Keuter <jaap.keuter@xs4all.nl>
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; either version 2
12  * of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
22  */
23
24 #include "config.h"
25
26 #include "tfs.h"
27
28 /*
29  * A default set of true/false strings that dissectors can use for
30  * FT_BOOLEAN header fields.
31  */
32 const true_false_string tfs_true_false = { "True", "False" };
33 const true_false_string tfs_yes_no = { "Yes", "No" };
34 const true_false_string tfs_no_yes = { "No", "Yes" };
35 const true_false_string tfs_set_notset = { "Set", "Not set" };
36 const true_false_string tfs_enabled_disabled = { "Enabled", "Disabled" };
37 const true_false_string tfs_disabled_enabled = { "Disabled", "Enabled" };
38 const true_false_string tfs_ok_error = { "Ok", "Error" };
39 const true_false_string tfs_error_ok = { "Error", "Ok" };
40 const true_false_string tfs_success_fail = { "Success", "Fail" };
41 const true_false_string tfs_fail_success = { "Fail", "Success" };
42 const true_false_string tfs_on_off = { "On", "Off" };
43 const true_false_string tfs_ack_nack = { "Ack", "Nack" };
44 const true_false_string tfs_odd_even = { "Odd", "Even" };
45 const true_false_string tfs_allow_block = { "Allow", "Block" };
46 const true_false_string tfs_restricted_allowed = { "Restricted", "Allowed" };
47 const true_false_string tfs_accept_reject = { "Accept", "Reject" };
48 const true_false_string tfs_more_nomore = { "More", "No more" };
49 const true_false_string tfs_present_absent = { "Present", "Absent" };
50 const true_false_string tfs_present_not_present = { "Present", "Not Present" };
51 const true_false_string tfs_active_inactive = { "Active", "Inactive" };
52 const true_false_string tfs_found_not_found = { "Found", "Not found" };
53 const true_false_string tfs_command_response = { "Command", "Response" };
54 const true_false_string tfs_capable_not_capable = { "Capable", "Not capable" };
55 const true_false_string tfs_supported_not_supported = { "Supported", "Not supported" };
56 const true_false_string tfs_used_notused = { "Used", "Not used" };
57 const true_false_string tfs_high_low = { "High", "Low" };
58 const true_false_string tfs_pressed_not_pressed = { "Pressed", "Not pressed" };
59 const true_false_string tfs_implemented_not_implemented = { "Implemented", "Not Implemented" };
60 const true_false_string tfs_requested_not_requested = { "Requested", "Not Requested" };
61 const true_false_string tfs_reliable_not_reliable = { "Reliable", "Not Reliable" };
62 const true_false_string tfs_allowed_not_allowed = { "Allowed", "Not Allowed" };
63 const true_false_string tfs_not_allowed_allowed = { "Not Allowed", "Allowed" };
64 const true_false_string tfs_accepted_not_accepted = { "Accepted", "Not Accepted" };
65 const true_false_string tfs_detected_not_detected = { "Detected", "Not Detected" };
66 const true_false_string tfs_available_not_available = { "Available", "Not available" };
67 const true_false_string tfs_shared_independent = { "Shared", "Independent" };
68 const true_false_string tfs_valid_invalid = { "Valid", "Invalid" };
69 const true_false_string tfs_invalid_valid = { "Invalid", "Valid" };
70 const true_false_string tfs_group_unique_name = { "Group name", "Unique name" };
71 const true_false_string tfs_inuse_not_inuse = { "In use", "Not in use" };
72 const true_false_string tfs_critical_not_critical = { "Critical", "Not critical" };
73 const true_false_string tfs_complete_incomplete = { "Complete", "Incomplete" };
74 const true_false_string tfs_valid_not_valid = { "Valid", "Not Valid" };
75 const true_false_string tfs_do_not_clear_clear = { "Do not clear", "Clear" };
76 const true_false_string tfs_confirmed_unconfirmed = { "Confirmed", "Unconfirmed" };
77 const true_false_string tfs_enforced_not_enforced = { "Enforced", "Not enforced" };
78