From 292a5b6f93765751cf57278e77b67cd98a4f0bc8 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 12 Nov 2011 10:51:01 +0000 Subject: =?UTF-8?q?From=20Mariusz=20Okr=C3=B3j=20and=20Sebastien=20Vincent?= =?UTF-8?q?=20via=20https://bugs.wireshark.org/bugzilla/show=5Fbug.cgi=3Fi?= =?UTF-8?q?d=3D6225=20Enhance=20XMPP=20Dissector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XMPP is communication protocol that is based on XML. Existing Jabber dissector has only few filtering possibilities and displays packets in inconvenient way. This dissector is a result of cooperation with Jitsi community as Google Summer of Code project (http://www.jitsi.org/index.php/GSOC2011/XmppWireshark). From me : Add Mariusz Okrój in AUTHORS File Add Modelines information svn path=/trunk/; revision=39799 --- epan/dissectors/packet-xmpp-core.h | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 epan/dissectors/packet-xmpp-core.h (limited to 'epan/dissectors/packet-xmpp-core.h') diff --git a/epan/dissectors/packet-xmpp-core.h b/epan/dissectors/packet-xmpp-core.h new file mode 100644 index 0000000000..e3de62854e --- /dev/null +++ b/epan/dissectors/packet-xmpp-core.h @@ -0,0 +1,43 @@ +/* xmpp-core.h + * + * Copyright 2011, Mariusz Okroj + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef XMPP_CORE_H +#define XMPP_CORE_H + +extern void xmpp_iq(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_presence(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_message(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_auth(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_challenge_response_success(proto_tree *tree, tvbuff_t *tvb, + packet_info *pinfo, element_t *packet, gint hf, gint ett, const char *col_info); +extern void xmpp_failure(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_xml_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_stream(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern gboolean xmpp_stream_close(proto_tree *tree, tvbuff_t *tvb, packet_info* pinfo); +extern void xmpp_features(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_starttls(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +extern void xmpp_proceed(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, element_t *packet); +#endif /* XMPP_CORE_H */ + -- cgit v1.2.3