2 * Routines for AIM Instant Messenger (OSCAR) dissection
3 * Copyright 2004, Jelmer Vernooij <jelmer@samba.org>
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.
30 #include <epan/packet.h>
31 #include <epan/strutil.h>
33 #include "packet-aim.h"
35 void proto_register_aim_oft(void);
36 void proto_reg_handoff_aim_oft(void);
39 #define FAMILY_OFT 0xfffe
41 static int proto_aim_oft
= -1;
43 /*static int ett_aim_recvfile = -1;
44 static int ett_aim_sendfile = -1;*/
69 * macfileinfo (16 chars)
72 * filename (raw, 64 chars)
74 * length of file (uint16)
79 /* Register the protocol with Wireshark */
81 proto_register_aim_oft(void)
84 /* Setup list of header fields */
85 /* static hf_register_info hf[] = {
88 /* Setup protocol subtree array */
89 /* static gint *ett[] = {
92 /* Register the protocol name and description */
93 proto_aim_oft
= proto_register_protocol("AIM OFT", "AIM OFT", "aim_oft");
95 /* Required function calls to register the header fields and subtrees used */
96 /* proto_register_field_array(proto_aim_oft, hf, array_length(hf));*/
97 /* proto_register_subtree_array(ett, array_length(ett));*/
101 proto_reg_handoff_aim_oft(void)
103 /* dissector_handle_t aim_handle;*/
106 aim_handle = new_create_dissector_handle(dissect_aim, proto_aim);
107 dissector_add_uint("tcp.port", TCP_PORT_AIM, aim_handle);*/