summaryrefslogtreecommitdiff
path: root/ui/rtp_analysis.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/rtp_analysis.h')
-rw-r--r--ui/rtp_analysis.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/rtp_analysis.h b/ui/rtp_analysis.h
index a10d628c95..65dae42699 100644
--- a/ui/rtp_analysis.h
+++ b/ui/rtp_analysis.h
@@ -39,6 +39,10 @@
* @todo what's this?
*/
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
void rtp_analysis(
address *ip_src_fwd,
guint32 port_src_fwd,
@@ -88,7 +92,7 @@ typedef struct _tap_rtp_stat_t {
double sumt2;
double sumtTS;
double time; /**< Unit is ms */
- double start_time;
+ double start_time; /**< Unit is ms */
double lastnominaltime;
double max_delta;
double max_jitter;
@@ -127,6 +131,10 @@ extern int rtp_packet_analyse(tap_rtp_stat_t *statinfo,
packet_info *pinfo,
const struct _rtp_info *rtpinfo);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __RTP_ANALYSIS_H__ */
/*