HACK: pinfo->private_data points to smb_info again
[wireshark-wip.git] / epan / tfs.h
blob100d785a7ba506c1487f96ee7d44285423a59f3f
1 /* tfs.h
2 * true_false strings
3 * Copyright 2007, Jaap Keuter <jaap.keuter@xs4all.nl>
5 * $Id$
7 * Wireshark - Network traffic analyzer
8 * By Gerald Combs <gerald@wireshark.org>
9 * Copyright 1998 Gerald Combs
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.
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.
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.
26 #ifndef __TFS_H__
27 #define __TFS_H__
29 #include "ws_symbol_export.h"
31 /** @file
32 * true_false strings
35 /** Struct for boolean enumerations */
36 typedef struct true_false_string {
37 const char *true_string; /**< The string presented when true */
38 const char *false_string; /**< The string presented when false */
39 } true_false_string;
42 * A default set of true/false strings that dissectors can use for
43 * FT_BOOLEAN header fields.
45 WS_DLL_PUBLIC const true_false_string tfs_true_false;
46 WS_DLL_PUBLIC const true_false_string tfs_yes_no;
47 WS_DLL_PUBLIC const true_false_string tfs_no_yes;
48 WS_DLL_PUBLIC const true_false_string tfs_set_notset;
49 WS_DLL_PUBLIC const true_false_string tfs_enabled_disabled;
50 WS_DLL_PUBLIC const true_false_string tfs_disabled_enabled;
51 WS_DLL_PUBLIC const true_false_string tfs_ok_error;
52 WS_DLL_PUBLIC const true_false_string tfs_error_ok;
53 WS_DLL_PUBLIC const true_false_string tfs_success_fail;
54 WS_DLL_PUBLIC const true_false_string tfs_fail_success;
55 WS_DLL_PUBLIC const true_false_string tfs_on_off;
56 WS_DLL_PUBLIC const true_false_string tfs_ack_nack;
57 WS_DLL_PUBLIC const true_false_string tfs_odd_even;
58 WS_DLL_PUBLIC const true_false_string tfs_allow_block;
59 WS_DLL_PUBLIC const true_false_string tfs_restricted_allowed;
60 WS_DLL_PUBLIC const true_false_string tfs_accept_reject;
61 WS_DLL_PUBLIC const true_false_string tfs_more_nomore;
62 WS_DLL_PUBLIC const true_false_string tfs_present_absent;
63 WS_DLL_PUBLIC const true_false_string tfs_present_not_present;
64 WS_DLL_PUBLIC const true_false_string tfs_active_inactive;
65 WS_DLL_PUBLIC const true_false_string tfs_found_not_found;
66 WS_DLL_PUBLIC const true_false_string tfs_command_response;
67 WS_DLL_PUBLIC const true_false_string tfs_capable_not_capable;
68 WS_DLL_PUBLIC const true_false_string tfs_supported_not_supported;
69 WS_DLL_PUBLIC const true_false_string tfs_used_notused;
70 WS_DLL_PUBLIC const true_false_string tfs_high_low;
71 WS_DLL_PUBLIC const true_false_string tfs_pressed_not_pressed;
72 WS_DLL_PUBLIC const true_false_string tfs_implemented_not_implemented;
73 WS_DLL_PUBLIC const true_false_string tfs_requested_not_requested;
74 WS_DLL_PUBLIC const true_false_string tfs_reliable_not_reliable;
75 WS_DLL_PUBLIC const true_false_string tfs_allowed_not_allowed;
76 WS_DLL_PUBLIC const true_false_string tfs_not_allowed_allowed;
77 WS_DLL_PUBLIC const true_false_string tfs_accepted_not_accepted;
78 WS_DLL_PUBLIC const true_false_string tfs_detected_not_detected;
79 WS_DLL_PUBLIC const true_false_string tfs_available_not_available;
80 WS_DLL_PUBLIC const true_false_string tfs_shared_independent;
81 WS_DLL_PUBLIC const true_false_string tfs_valid_invalid;
82 WS_DLL_PUBLIC const true_false_string tfs_group_unique_name;
83 WS_DLL_PUBLIC const true_false_string tfs_inuse_not_inuse;
84 WS_DLL_PUBLIC const true_false_string tfs_critical_not_critical;
85 WS_DLL_PUBLIC const true_false_string tfs_complete_incomplete;
86 WS_DLL_PUBLIC const true_false_string tfs_valid_not_valid;
87 WS_DLL_PUBLIC const true_false_string tfs_do_not_clear_clear;
88 WS_DLL_PUBLIC const true_false_string tfs_confirmed_unconfirmed;
89 WS_DLL_PUBLIC const true_false_string tfs_enforced_not_enforced;
90 #endif