Use g_get_charset instead of g_get_codeset.
[metze/wireshark/wip.git] / epan / tfs.c
index 69ea4a7ad0f6de94bd87a561b0de8deff634365a..dd98f4f052ab7cd54779e286ac0c7f81ce9fffb6 100644 (file)
@@ -2,8 +2,6 @@
  * 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
@@ -23,9 +21,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
 
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
 
 #include "tfs.h"
 
  */
 const true_false_string tfs_true_false = { "True", "False" };
 const true_false_string tfs_yes_no = { "Yes", "No" };
-const true_false_string tfs_set_notset = { "Set", "Not Set" };
+const true_false_string tfs_no_yes = { "No", "Yes" };
+const true_false_string tfs_set_notset = { "Set", "Not set" };
 const true_false_string tfs_enabled_disabled = { "Enabled", "Disabled" };
+const true_false_string tfs_disabled_enabled = { "Disabled", "Enabled" };
 const true_false_string tfs_ok_error = { "Ok", "Error" };
+const true_false_string tfs_error_ok = { "Error", "Ok" };
 const true_false_string tfs_success_fail = { "Success", "Fail" };
+const true_false_string tfs_fail_success = { "Fail", "Success" };
 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" };
-const true_false_string tfs_more_nomore = { "More", "No More" };
+const true_false_string tfs_more_nomore = { "More", "No more" };
 const true_false_string tfs_present_absent = { "Present", "Absent" };
+const true_false_string tfs_present_not_present = { "Present", "Not Present" };
 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_response_command = { "Response", "Command" };
 const true_false_string tfs_capable_not_capable = { "Capable", "Not capable" };
 const true_false_string tfs_supported_not_supported = { "Supported", "Not supported" };
-
-/* 
- * Old true_false_string from packet.c
- * Retained for backward compatibility until all dissectors are updated.
- */
-const true_false_string flags_set_truth = { "Set", "Not set" };
+const true_false_string tfs_used_notused = { "Used", "Not used" };
+const true_false_string tfs_high_low = { "High", "Low" };
+const true_false_string tfs_pressed_not_pressed = { "Pressed", "Not pressed" };
+const true_false_string tfs_implemented_not_implemented = { "Implemented", "Not Implemented" };
+const true_false_string tfs_requested_not_requested = { "Requested", "Not Requested" };
+const true_false_string tfs_reliable_not_reliable = { "Reliable", "Not Reliable" };
+const true_false_string tfs_allowed_not_allowed = { "Allowed", "Not Allowed" };
+const true_false_string tfs_not_allowed_allowed = { "Not Allowed", "Allowed" };
+const true_false_string tfs_accepted_not_accepted = { "Accepted", "Not Accepted" };
+const true_false_string tfs_detected_not_detected = { "Detected", "Not Detected" };
+const true_false_string tfs_available_not_available = { "Available", "Not available" };
+const true_false_string tfs_shared_independent = { "Shared", "Independent" };
+const true_false_string tfs_valid_invalid = { "Valid", "Invalid" };
+const true_false_string tfs_invalid_valid = { "Invalid", "Valid" };
+const true_false_string tfs_group_unique_name = { "Group name", "Unique name" };
+const true_false_string tfs_inuse_not_inuse = { "In use", "Not in use" };
+const true_false_string tfs_critical_not_critical = { "Critical", "Not critical" };
+const true_false_string tfs_complete_incomplete = { "Complete", "Incomplete" };
+const true_false_string tfs_valid_not_valid = { "Valid", "Not Valid" };
+const true_false_string tfs_do_not_clear_clear = { "Do not clear", "Clear" };
+const true_false_string tfs_confirmed_unconfirmed = { "Confirmed", "Unconfirmed" };
+const true_false_string tfs_enforced_not_enforced = { "Enforced", "Not enforced" };
+const true_false_string tfs_possible_not_possible = { "Possible", "Not possible" };
+const true_false_string tfs_required_not_required = { "Required", "Not required" };
+const true_false_string tfs_registered_not_registered = { "Registered", "Not registered" };
+const true_false_string tfs_provisioned_not_provisioned = { "Provisioned", "Not provisioned" };
+const true_false_string tfs_included_not_included = { "Included", "Not included" };
+const true_false_string tfs_allocated_by_receiver_sender = {"allocated by receiver", "allocated by sender"};
+const true_false_string tfs_asynchronous_synchronous = { "Asynchronous", "Synchronous" };
+const true_false_string tfs_protocol_sensative_bit_transparent = { "Protocol sensitive", "Bit transparent" };
+const true_false_string tfs_full_half = { "Full", "Half" };
+const true_false_string tfs_acknowledged_not_acknowledged = { "Acknowledged", "Not Acknowledged" };
+const true_false_string tfs_segmentation_no_segmentation = { "Segmentation", "No segmentation" };
+const true_false_string tfs_response_request = { "Response", "Request" };
+const true_false_string tfs_defined_not_defined = { "Defined", "Not defined" };
+const true_false_string tfs_constructed_primitive = { "Constructed", "Primitive" };
+const true_false_string tfs_client_server = { "Client", "Server" };
+const true_false_string tfs_server_client = { "Server", "Client" };
+const true_false_string tfs_preferred_no_preference = { "Preferred", "No preference" };
+const true_false_string tfs_encrypt_do_not_encrypt = { "Encrypt", "Do Not Encrypt" };