2011-11-12 10:51:01 +00:00
|
|
|
/* xmpp-core.h
|
|
|
|
*
|
|
|
|
* Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com>
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* 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
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2011-11-12 10:51:01 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef XMPP_CORE_H
|
|
|
|
#define XMPP_CORE_H
|
|
|
|
|
2012-07-22 21:48:51 +00:00
|
|
|
#include "epan/tvbparse.h"
|
|
|
|
|
2012-01-19 22:55:37 +00:00
|
|
|
#include "packet-xmpp-utils.h"
|
|
|
|
|
2012-07-22 21:48:51 +00:00
|
|
|
extern void xmpp_init_parsers(void);
|
|
|
|
extern tvbparse_wanted_t *want_ignore;
|
|
|
|
extern tvbparse_wanted_t *want_stream_end_tag;
|
|
|
|
extern tvbparse_wanted_t *want_stream_end_with_ns;
|
|
|
|
|
2012-07-28 03:09:46 +00:00
|
|
|
extern void xmpp_iq(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_presence(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_message(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_auth(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
2011-11-12 10:51:01 +00:00
|
|
|
extern void xmpp_challenge_response_success(proto_tree *tree, tvbuff_t *tvb,
|
2013-08-23 03:17:34 +00:00
|
|
|
packet_info *pinfo, xmpp_element_t *packet, expert_field* ei, gint ett,
|
2012-07-28 03:09:46 +00:00
|
|
|
const char *col_info);
|
|
|
|
extern void xmpp_failure(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_xml_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_stream(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_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,
|
|
|
|
xmpp_element_t *packet);
|
|
|
|
extern void xmpp_starttls(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info);
|
|
|
|
extern void xmpp_proceed(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo,
|
|
|
|
xmpp_element_t *packet, xmpp_conv_info_t *xmpp_info);
|
2011-11-12 10:51:01 +00:00
|
|
|
#endif /* XMPP_CORE_H */
|
|
|
|
|