aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bluetooth.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2015-01-22 12:27:23 +0100
committerMichal Labedzki <michal.labedzki@tieto.com>2015-02-07 16:35:39 +0000
commitfb00452b30b51d4f10a34dfb616bf29df455aee8 (patch)
tree5328a51147f32e2d6151c4ec375231b69b90afb2 /epan/dissectors/packet-bluetooth.h
parent2ff79ddeb235ccf56cbbf430f8a31c9b6c0596a2 (diff)
Bluetooth/GUI: ATT: Add Server Attribute Table
It is a GUI+QT feature that introduce Bluetooth menu and "ATT Server Attributes" that present all handle+UUID pairs as table. User may copy cell value, row, selected rows or whole table within header. On activate user will go to packet that introduce UUID for specified handle. Change-Id: If17e53aff5feb89ededc740a595ba5882b90be5e Reviewed-on: https://code.wireshark.org/review/6911 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-bluetooth.h')
-rw-r--r--epan/dissectors/packet-bluetooth.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/epan/dissectors/packet-bluetooth.h b/epan/dissectors/packet-bluetooth.h
index a02a535a3f..18e69e5493 100644
--- a/epan/dissectors/packet-bluetooth.h
+++ b/epan/dissectors/packet-bluetooth.h
@@ -22,6 +22,10 @@
#ifndef __PACKET_BLUETOOTH_H__
#define __PACKET_BLUETOOTH_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <epan/wmem/wmem.h>
#include "packet-usb.h"
@@ -203,16 +207,16 @@ typedef struct _uuid_t {
guint8 data[16];
} uuid_t;
-typedef struct _custom_uuid_t {
+typedef struct _bluetooth_uuid_custom {
const guint8 uuid[16];
const guint8 size;
const gchar *name;
-} custom_uuid_t;
+} bluetooth_uuid_custom_t;
-extern const value_string bluetooth_uuid_vals[];
-extern const custom_uuid_t custom_uuid[];
+WS_DLL_PUBLIC const value_string bluetooth_uuid_vals[];
+WS_DLL_PUBLIC const bluetooth_uuid_custom_t bluetooth_uuid_custom[];
-extern value_string_ext bluetooth_uuid_vals_ext;
+WS_DLL_PUBLIC value_string_ext bluetooth_uuid_vals_ext;
extern value_string_ext bluetooth_company_id_vals_ext;
extern guint32 max_disconnect_in_frame;
@@ -226,6 +230,10 @@ extern gchar *print_numeric_uuid(uuid_t *uuid);
extern void save_local_device_name_from_eir_ad(tvbuff_t *tvb, gint offset,
packet_info *pinfo, guint8 size, bluetooth_data_t *bluetooth_data);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif
/*