aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-09-23 07:32:16 +0000
committerGuy Harris <guy@alum.mit.edu>2004-09-23 07:32:16 +0000
commit55d15a436bddbd51da65fc954cdf2441920b3669 (patch)
tree330afdc05909c3da983cef9d32757edf5dffe80d
parent79c706baf91e1aad2b36a287c0d801861066cf42 (diff)
Add proto_tree_add_debug_text(), rtcp_add_address(), and
rtp_add_address() to the list of functions exported from libethereal.dll and exported via the plugin function table. svn path=/trunk/; revision=12067
-rw-r--r--epan/libethereal.def3
-rw-r--r--epan/plugins.c2
-rw-r--r--plugins/plugin_api.h2
-rw-r--r--plugins/plugin_api_list.c7
4 files changed, 14 insertions, 0 deletions
diff --git a/epan/libethereal.def b/epan/libethereal.def
index e1b663da6b..9c3ef2091c 100644
--- a/epan/libethereal.def
+++ b/epan/libethereal.def
@@ -374,6 +374,7 @@ proto_tree_add_boolean_hidden
proto_tree_add_bytes
proto_tree_add_bytes_format
proto_tree_add_bytes_hidden
+proto_tree_add_debug_text
proto_tree_add_double
proto_tree_add_double_format
proto_tree_add_double_hidden
@@ -446,6 +447,8 @@ rpc_progs DATA
rpc_prog_hf
rpc_prog_name
rpc_roundup
+rtcp_add_address
+rtp_add_address
rtp_payload_type_vals DATA
set_actual_length
set_timestamp_setting
diff --git a/epan/plugins.c b/epan/plugins.c
index 5345e3a8bf..6459fab9fa 100644
--- a/epan/plugins.c
+++ b/epan/plugins.c
@@ -70,6 +70,8 @@
#include "asn1.h"
#include <epan/dissectors/packet-per.h>
#include <epan/dissectors/packet-ber.h>
+#include <epan/dissectors/packet-rtp.h>
+#include <epan/dissectors/packet-rtcp.h>
#include "xdlc.h"
#include "crc16.h"
#include "report_err.h"
diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h
index fab5d44eee..d9e29340ce 100644
--- a/plugins/plugin_api.h
+++ b/plugins/plugin_api.h
@@ -56,6 +56,8 @@
#include "asn1.h"
#include <epan/dissectors/packet-per.h>
#include <epan/dissectors/packet-ber.h>
+#include <epan/dissectors/packet-rtp.h>
+#include <epan/dissectors/packet-rtcp.h>
#include "xdlc.h"
#include "crc16.h"
#include "epan/except.h"
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c
index 38ca90bfd8..710f390d49 100644
--- a/plugins/plugin_api_list.c
+++ b/plugins/plugin_api_list.c
@@ -39,6 +39,8 @@
#include <epan/dissectors/packet-tpkt.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/dissectors/packet-rpc.h>
+#include <epan/dissectors/packet-rtp.h>
+#include <epan/dissectors/packet-rtcp.h>
#include "tap.h"
#include "asn1.h"
#include "xdlc.h"
@@ -492,3 +494,8 @@ gfloat tvb_get_ntohieee_float(tvbuff_t*, gint offset);
gdouble tvb_get_ntohieee_double(tvbuff_t*, gint offset);
gfloat tvb_get_letohieee_float(tvbuff_t*, gint offset);
gdouble tvb_get_letohieee_double(tvbuff_t*, gint offset);
+
+proto_item *proto_tree_add_debug_text(proto_tree *tree, const char *format, ...);
+
+void rtp_add_address(packet_info *pinfo, address *addr, int port, int other_port, gchar *setup_method, guint32 setup_frame_number);
+void rtcp_add_address(packet_info *pinfo, address *addr, int port, int other_port, gchar *setup_method, guint32 setup_frame_number);