2007-01-10 07:47:00 +00:00
|
|
|
/* tfs.c
|
|
|
|
* true_false strings
|
|
|
|
* Copyright 2007, Jaap Keuter <jaap.keuter@xs4all.nl>
|
|
|
|
*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
2012-09-20 01:48:30 +00:00
|
|
|
#include "config.h"
|
2007-01-10 07:47:00 +00:00
|
|
|
|
|
|
|
#include "tfs.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A default set of true/false strings that dissectors can use for
|
|
|
|
* FT_BOOLEAN header fields.
|
|
|
|
*/
|
|
|
|
const true_false_string tfs_true_false = { "True", "False" };
|
|
|
|
const true_false_string tfs_yes_no = { "Yes", "No" };
|
2012-09-25 01:00:41 +00:00
|
|
|
const true_false_string tfs_no_yes = { "No", "Yes" };
|
2009-07-07 14:58:25 +00:00
|
|
|
const true_false_string tfs_set_notset = { "Set", "Not set" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_enabled_disabled = { "Enabled", "Disabled" };
|
2012-07-23 15:27:52 +00:00
|
|
|
const true_false_string tfs_disabled_enabled = { "Disabled", "Enabled" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_ok_error = { "Ok", "Error" };
|
2010-04-27 16:29:37 +00:00
|
|
|
const true_false_string tfs_error_ok = { "Error", "Ok" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_success_fail = { "Success", "Fail" };
|
2010-04-27 16:29:37 +00:00
|
|
|
const true_false_string tfs_fail_success = { "Fail", "Success" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_on_off = { "On", "Off" };
|
|
|
|
const true_false_string tfs_ack_nack = { "Ack", "Nack" };
|
|
|
|
const true_false_string tfs_odd_even = { "Odd", "Even" };
|
|
|
|
const true_false_string tfs_allow_block = { "Allow", "Block" };
|
|
|
|
const true_false_string tfs_restricted_allowed = { "Restricted", "Allowed" };
|
|
|
|
const true_false_string tfs_accept_reject = { "Accept", "Reject" };
|
2009-07-07 14:58:25 +00:00
|
|
|
const true_false_string tfs_more_nomore = { "More", "No more" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_present_absent = { "Present", "Absent" };
|
2011-01-17 13:09:08 +00:00
|
|
|
const true_false_string tfs_present_not_present = { "Present", "Not Present" };
|
2007-01-10 07:47:00 +00:00
|
|
|
const true_false_string tfs_active_inactive = { "Active", "Inactive" };
|
|
|
|
const true_false_string tfs_found_not_found = { "Found", "Not found" };
|
|
|
|
const true_false_string tfs_command_response = { "Command", "Response" };
|
|
|
|
const true_false_string tfs_capable_not_capable = { "Capable", "Not capable" };
|
|
|
|
const true_false_string tfs_supported_not_supported = { "Supported", "Not supported" };
|
2009-03-05 22:25:36 +00:00
|
|
|
const true_false_string tfs_used_notused = { "Used", "Not used" };
|
2010-04-27 16:29:37 +00:00
|
|
|
const true_false_string tfs_high_low = { "High", "Low" };
|
|
|
|
const true_false_string tfs_pressed_not_pressed = { "Pressed", "Not pressed" };
|
2011-01-17 13:09:08 +00:00
|
|
|
const true_false_string tfs_implemented_not_implemented = { "Implemented", "Not Implemented" };
|
2011-01-25 13:55:20 +00:00
|
|
|
const true_false_string tfs_requested_not_requested = { "Requested", "Not Requested" };
|
|
|
|
const true_false_string tfs_reliable_not_reliable = { "Reliable", "Not Reliable" };
|
2011-01-26 19:36:00 +00:00
|
|
|
const true_false_string tfs_allowed_not_allowed = { "Allowed", "Not Allowed" };
|
2012-04-12 14:07:31 +00:00
|
|
|
const true_false_string tfs_not_allowed_allowed = { "Not Allowed", "Allowed" };
|
2011-01-31 20:37:17 +00:00
|
|
|
const true_false_string tfs_accepted_not_accepted = { "Accepted", "Not Accepted" };
|
|
|
|
const true_false_string tfs_detected_not_detected = { "Detected", "Not Detected" };
|
2012-07-21 12:38:59 +00:00
|
|
|
const true_false_string tfs_available_not_available = { "Available", "Not available" };
|
2012-09-26 18:19:15 +00:00
|
|
|
const true_false_string tfs_shared_independent = { "Shared", "Independent" };
|
|
|
|
const true_false_string tfs_valid_invalid = { "Valid", "Invalid" };
|
|
|
|
const true_false_string tfs_group_unique_name = { "Group name", "Unique name" };
|
2013-02-24 19:09:04 +00:00
|
|
|
const true_false_string tfs_inuse_not_inuse = { "In use", "Not in use" };
|
2013-07-03 16:46:29 +00:00
|
|
|
const true_false_string tfs_critical_not_critical = { "Critical", "Not critical" };
|
2013-07-17 10:44:08 +00:00
|
|
|
const true_false_string tfs_complete_incomplete = { "Complete", "Incomplete" };
|
|
|
|
const true_false_string tfs_valid_not_valid = { "Valid", "Not Valid" };
|
2013-07-17 10:44:26 +00:00
|
|
|
const true_false_string tfs_do_not_clear_clear = { "Do not clear", "Clear" };
|
|
|
|
const true_false_string tfs_confirmed_unconfirmed = { "Confirmed", "Unconfirmed" };
|
2013-07-17 10:44:35 +00:00
|
|
|
const true_false_string tfs_enforced_not_enforced = { "Enforced", "Not enforced" };
|
2010-04-27 16:29:37 +00:00
|
|
|
|