From 500d3993934d988fa5231333dd8c484513a81473 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 26 Jun 2013 02:12:12 +0000 Subject: Move tap-*-common.{h,c} into ui/ since that's the home for common UI functions. svn path=/trunk/; revision=50165 --- ui/tap-rtp-common.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ui/tap-rtp-common.h (limited to 'ui/tap-rtp-common.h') diff --git a/ui/tap-rtp-common.h b/ui/tap-rtp-common.h new file mode 100644 index 0000000000..003f4f4771 --- /dev/null +++ b/ui/tap-rtp-common.h @@ -0,0 +1,43 @@ +/* tap-rtp-common.h + * RTP streams handler functions used by tshark and wireshark + * + * $Id$ + * + * Copyright 2008, Ericsson AB + * By Balint Reczey + * + * most functions are copied from ui/gtk/rtp_stream.c and ui/gtk/rtp_analisys.c + * Copyright 2003, Alcatel Business Systems + * By Lars Ruoff + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef TAP_RTP_COMMON_H_INCLUDED +#define TAP_RTP_COMMON_H_INCLUDED + +#include "ui/gtk/rtp_stream.h" + +gint rtp_stream_info_cmp(gconstpointer, gconstpointer); +void rtpstream_reset_cb(void*); +void rtp_write_header(rtp_stream_info_t*, FILE*); +void rtp_write_sample(rtp_sample_t*, FILE*); +int rtpstream_packet(void*, packet_info*, epan_dissect_t *, const void *); + +#endif /*TAP_RTP_COMMON_H_INCLUDED*/ -- cgit v1.2.1