epan: use SPDX indentifiers.
[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  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11
12 #include "config.h"
13
14 #include "tfs.h"
15
16 /*
17  * A default set of true/false strings that dissectors can use for
18  * FT_BOOLEAN header fields.
19  */
20 const true_false_string tfs_true_false = { "True", "False" };
21 const true_false_string tfs_yes_no = { "Yes", "No" };
22 const true_false_string tfs_no_yes = { "No", "Yes" };
23 const true_false_string tfs_set_notset = { "Set", "Not set" };
24 const true_false_string tfs_enabled_disabled = { "Enabled", "Disabled" };
25 const true_false_string tfs_disabled_enabled = { "Disabled", "Enabled" };
26 const true_false_string tfs_ok_error = { "Ok", "Error" };
27 const true_false_string tfs_error_ok = { "Error", "Ok" };
28 const true_false_string tfs_success_fail = { "Success", "Fail" };
29 const true_false_string tfs_fail_success = { "Fail", "Success" };
30 const true_false_string tfs_on_off = { "On", "Off" };
31 const true_false_string tfs_ack_nack = { "Ack", "Nack" };
32 const true_false_string tfs_odd_even = { "Odd", "Even" };
33 const true_false_string tfs_allow_block = { "Allow", "Block" };
34 const true_false_string tfs_restricted_allowed = { "Restricted", "Allowed" };
35 const true_false_string tfs_restricted_not_restricted = { "Restricted", "Not restricted" };
36 const true_false_string tfs_accept_reject = { "Accept", "Reject" };
37 const true_false_string tfs_more_nomore = { "More", "No more" };
38 const true_false_string tfs_present_absent = { "Present", "Absent" };
39 const true_false_string tfs_present_not_present = { "Present", "Not Present" };
40 const true_false_string tfs_active_inactive = { "Active", "Inactive" };
41 const true_false_string tfs_found_not_found = { "Found", "Not found" };
42 const true_false_string tfs_command_response = { "Command", "Response" };
43 const true_false_string tfs_response_command = { "Response", "Command" };
44 const true_false_string tfs_capable_not_capable = { "Capable", "Not capable" };
45 const true_false_string tfs_supported_not_supported = { "Supported", "Not supported" };
46 const true_false_string tfs_used_notused = { "Used", "Not used" };
47 const true_false_string tfs_high_low = { "High", "Low" };
48 const true_false_string tfs_pressed_not_pressed = { "Pressed", "Not pressed" };
49 const true_false_string tfs_implemented_not_implemented = { "Implemented", "Not Implemented" };
50 const true_false_string tfs_requested_not_requested = { "Requested", "Not Requested" };
51 const true_false_string tfs_reliable_not_reliable = { "Reliable", "Not Reliable" };
52 const true_false_string tfs_allowed_not_allowed = { "Allowed", "Not Allowed" };
53 const true_false_string tfs_not_allowed_allowed = { "Not Allowed", "Allowed" };
54 const true_false_string tfs_accepted_not_accepted = { "Accepted", "Not Accepted" };
55 const true_false_string tfs_detected_not_detected = { "Detected", "Not Detected" };
56 const true_false_string tfs_available_not_available = { "Available", "Not available" };
57 const true_false_string tfs_shared_independent = { "Shared", "Independent" };
58 const true_false_string tfs_valid_invalid = { "Valid", "Invalid" };
59 const true_false_string tfs_invalid_valid = { "Invalid", "Valid" };
60 const true_false_string tfs_group_unique_name = { "Group name", "Unique name" };
61 const true_false_string tfs_inuse_not_inuse = { "In use", "Not in use" };
62 const true_false_string tfs_critical_not_critical = { "Critical", "Not critical" };
63 const true_false_string tfs_complete_incomplete = { "Complete", "Incomplete" };
64 const true_false_string tfs_valid_not_valid = { "Valid", "Not Valid" };
65 const true_false_string tfs_do_not_clear_clear = { "Do not clear", "Clear" };
66 const true_false_string tfs_confirmed_unconfirmed = { "Confirmed", "Unconfirmed" };
67 const true_false_string tfs_enforced_not_enforced = { "Enforced", "Not enforced" };
68 const true_false_string tfs_possible_not_possible = { "Possible", "Not possible" };
69 const true_false_string tfs_required_not_required = { "Required", "Not required" };
70 const true_false_string tfs_registered_not_registered = { "Registered", "Not registered" };
71 const true_false_string tfs_provisioned_not_provisioned = { "Provisioned", "Not provisioned" };
72 const true_false_string tfs_included_not_included = { "Included", "Not included" };
73 const true_false_string tfs_allocated_by_receiver_sender = {"allocated by receiver", "allocated by sender"};
74 const true_false_string tfs_asynchronous_synchronous = { "Asynchronous", "Synchronous" };
75 const true_false_string tfs_protocol_sensative_bit_transparent = { "Protocol sensitive", "Bit transparent" };
76 const true_false_string tfs_full_half = { "Full", "Half" };
77 const true_false_string tfs_acknowledged_not_acknowledged = { "Acknowledged", "Not Acknowledged" };
78 const true_false_string tfs_segmentation_no_segmentation = { "Segmentation", "No segmentation" };
79 const true_false_string tfs_response_request = { "Response", "Request" };
80 const true_false_string tfs_defined_not_defined = { "Defined", "Not defined" };
81 const true_false_string tfs_constructed_primitive = { "Constructed", "Primitive" };
82 const true_false_string tfs_client_server = { "Client", "Server" };
83 const true_false_string tfs_server_client = { "Server", "Client" };
84 const true_false_string tfs_preferred_no_preference = { "Preferred", "No preference" };
85 const true_false_string tfs_encrypt_do_not_encrypt = { "Encrypt", "Do Not Encrypt" };
86 const true_false_string tfs_down_up = { "Down", "Up" };
87 const true_false_string tfs_up_down = { "Up", "Down" };
88 const true_false_string tfs_downlink_uplink = { "Downlink", "Uplink" };
89 const true_false_string tfs_uplink_downlink = { "Uplink", "Downlink" };
90 const true_false_string tfs_s2c_c2s = { "Server to Client", "Client to Server" };
91 const true_false_string tfs_c2s_s2c = { "Client to Server", "Server to Client" };
92 const true_false_string tfs_open_closed = { "Open", "Closed" };