aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbuff-int.h')
-rw-r--r--epan/tvbuff-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/tvbuff-int.h b/epan/tvbuff-int.h
index 2aee4c16a2..d8d4cba314 100644
--- a/epan/tvbuff-int.h
+++ b/epan/tvbuff-int.h
@@ -37,6 +37,8 @@ struct tvb_ops {
gint (*tvb_find_guint8)(tvbuff_t *tvb, guint abs_offset, guint limit, guint8 needle);
gint (*tvb_pbrk_guint8)(tvbuff_t *tvb, guint abs_offset, guint limit, const guint8 *needles, guchar *found_needle);
+
+ tvbuff_t *(*tvb_clone)(tvbuff_t *tvb, guint abs_offset, guint abs_length);
};
typedef struct {
@@ -114,5 +116,6 @@ struct tvb_composite {
tvb_comp_t composite;
};
+WS_DLL_PUBLIC tvbuff_t *tvb_new(const struct tvb_ops *ops);
#endif