* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#ifndef RTP_STREAM_H_INCLUDED
-#define RTP_STREAM_H_INCLUDED
+#ifndef __RTP_STREAM_H__
+#define __RTP_STREAM_H__
#include "rtp_analysis.h"
#include <glib.h>
#include <stdio.h>
#include <epan/address.h>
-/** @file
- * ???
- * @ingroup dialog_group
- * @todo what's this?
- */
/****************************************************************************/
/* type for storing rtp frame information */
typedef struct st_rtp_sample_header {
- guint32 rec_time; /* miliseconds since start of recording */
+ guint32 rec_time; /* milliseconds since start of recording */
guint16 frame_length; /* number of bytes in *frame */
} rtp_sample_header_t;
/****************************************************************************/
/* INTERFACE */
-/*
+/**
* Registers the rtp_streams tap listener (if not already done).
* From that point on, the RTP streams list will be updated with every redissection.
* This function is also the entry point for the initialization routine of the tap system.
*/
void register_tap_listener_rtp_stream(void);
-/*
+/**
* Removes the rtp_streams tap listener (if not already done)
* From that point on, the RTP streams list won't be updated any more.
*/
void remove_tap_listener_rtp_stream(void);
-/*
+/**
* Retrieves a constant reference to the unique info structure of the rtp_streams tap listener.
* The user should not modify the data pointed to.
*/
const rtpstream_tapinfo_t* rtpstream_get_info(void);
-/*
+/**
* Cleans up memory of rtp streams tap.
*/
void rtpstream_reset(rtpstream_tapinfo_t *tapinfo);
-/*
+/**
* Scans all packets for RTP streams and updates the RTP streams list.
* (redissects all packets)
*/
void rtpstream_scan(void);
-/*
+/**
* Saves an RTP stream as raw data stream with timestamp information for later RTP playback.
* (redissects all packets)
*/
gboolean rtpstream_save(rtp_stream_info_t* stream, const gchar *filename);
-/*
+/**
* Marks all packets belonging to either of stream_fwd or stream_rev.
* (both can be NULL)
* (redissects all packets)
void rtpstream_mark(rtp_stream_info_t* stream_fwd, rtp_stream_info_t* stream_rev);
-#endif /*RTP_STREAM_H_INCLUDED*/
+#endif /* __RTP_STREAM_H__ */