Fix WEP key bug in the AirPcap code that could cause a crash. Enable
[obnox/wireshark/wip.git] / gtk / keys.h
1 /* keys.h
2  * Key definitions for various objects
3  *
4  * $Id$
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23  */
24
25 #ifndef __KEYS_H__
26 #define __KEYS_H__
27
28 /** @file
29  * Various keys for OBJECT_SET_DATA().
30  */
31
32 #define E_DFILTER_TE_KEY                                "display_filter_entry"
33 #define E_RFILTER_TE_KEY                                "read_filter_te"
34 #define E_MPACKET_LIST_KEY                              "menu_packet_list"
35 #define E_MPACKET_LIST_ROW_KEY                  "menu_packet_list_row"
36 #define E_MPACKET_LIST_COL_KEY                  "menu_packet_list_col"
37
38 #define PRINT_CMD_LB_KEY                                "printer_command_label"
39 #define PRINT_CMD_TE_KEY                                "printer_command_entry"
40 #define PRINT_FILE_BT_KEY                               "printer_file_button"
41 #define PRINT_FILE_TE_KEY                               "printer_file_entry"
42
43 #define PLUGINS_DFILTER_TE                              "plugins_dfilter_te"
44
45 #define PM_MENU_LIST_KEY                                "popup_menu_menu_list"
46 #define PM_PACKET_LIST_KEY                              "popup_menu_packet_list"
47 #define PM_TREE_VIEW_KEY                                "popup_menu_tree_view"
48 #define PM_HEXDUMP_KEY                                  "popup_menu_hexdump"
49
50 #ifdef HAVE_AIRPCAP
51 #define AIRPCAP_TOOLBAR_KEY                             "airpcap_toolbar_key"
52 #define AIRPCAP_TOOLBAR_INTERFACE_KEY   "airpcap_toolbar_if_key"
53 #define AIRPCAP_TOOLBAR_LINK_TYPE_KEY   "airpcap_toolbar_lt_key" 
54 #define AIRPCAP_TOOLBAR_CHANNEL_KEY             "airpcap_toolbar_ch_key"
55 #define AIRPCAP_TOOLBAR_CRC_KEY                 "airpcap_toolbar_crc_key"
56 #define AIRPCAP_TOOLBAR_WRONG_CRC_KEY   "airpcap_toolbar_wcrc_key"
57 #define AIRPCAP_TOOLBAR_ADVANCED_KEY    "airpcap_toolbar_advanced_key"
58 #define AIRPCAP_TOOLBAR_DECRYPTION_KEY  "airpcap_toolbar_decryption_key"
59
60 #define AIRPCAP_ADVANCED_KEY                            "airpcap_advanced_key"
61 #define AIRPCAP_ADVANCED_INTERFACE_KEY          "airpcap_advanced_if_key"
62 #define AIRPCAP_ADVANCED_LINK_TYPE_KEY          "airpcap_advanced_lt_key" 
63 #define AIRPCAP_ADVANCED_CHANNEL_KEY            "airpcap_advanced_ch_key"
64 #define AIRPCAP_ADVANCED_CRC_KEY                        "airpcap_advanced_crc_key"
65 #define AIRPCAP_ADVANCED_WRONG_CRC_KEY          "airpcap_advanced_wcrc_key"
66 #define AIRPCAP_ADVANCED_BLINK_KEY                      "airpcap_advanced_blink_key"
67 #define AIRPCAP_ADVANCED_CANCEL_KEY                     "airpcap_advanced_cancel_key"
68 #define AIRPCAP_ADVANCED_OK_KEY                         "airpcap_advanced_ok_key"
69 #define AIRPCAP_ADVANCED_KEYLIST_KEY            "airpcap_advanced_keylist_key"
70 #define AIRPCAP_ADVANCED_ADD_KEY_TEXT_KEY       "airpcap_advanced_add_key_text_key"
71 #define AIRPCAP_ADVANCED_ADD_KEY_OK_KEY         "airpcap_advanced_add_key_ok_key"
72 #define AIRPCAP_ADVANCED_EDIT_KEY_TEXT_KEY      "airpcap_advanced_edit_key_text_key"
73 #define AIRPCAP_ADVANCED_EDIT_KEY_OK_KEY        "airpcap_advanced_edit_key_ok_key"
74 #define AIRPCAP_ADVANCED_EDIT_KEY_LABEL_KEY     "airpcap_advanced_edit_key_label_key"
75 #define AIRPCAP_ADVANCED_WEP_DECRYPTION_KEY     "airpcap_advanced_wep_decryption_key"
76 #define AIRPCAP_ADVANCED_WPA_DECRYPTION_KEY     "airpcap_advanced_wpa_decryption_key"
77 #define AIRPCAP_ADVANCED_NOTEBOOK_KEY           "airpcap_advanced_notebook_key"
78
79 #define AIRPCAP_OPTIONS_ADVANCED_KEY    "airpcap_options_advanced_key"
80
81 #define AIRPCAP_ADVANCED_FROM_KEY               "airpcap_advanced_name_key"
82 #endif
83
84 #endif