Android: Add ADB dissector
[metze/wireshark/wip.git] / epan / dissectors / packet-adb_service.h
1 /* packet-adb_service.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21
22 #ifndef __PACKET_ADB_SERVICE_H__
23 #define __PACKET_ADB_SERVICE_H__
24
25 gint dissect_ascii_uint32(proto_tree *tree, gint hf_hex_ascii, gint ett_hex_ascii,
26         gint hf_value, tvbuff_t *tvb, gint offset, guint32 *value);
27
28 typedef struct {
29     guint32        session_key_length;
30     guint32       *session_key;
31
32     const guint8  *service;
33     gint           direction;
34 } adb_service_data_t;
35
36 #endif /* __PACKET_ADB_SERVICE_H__ */
37
38 /*
39  * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
40  *
41  * Local variables:
42  * c-basic-offset: 4
43  * tab-width: 8
44  * indent-tabs-mode: nil
45  * End:
46  *
47  * vi: set shiftwidth=4 tabstop=8 expandtab:
48  * :indentSize=4:tabSize=8:noTabs=true:
49  */