From 0d85b75305677a1298b76718112c4e440f84b94c Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sun, 14 Jul 2013 07:42:19 +0000 Subject: Move tvb real and subset implementations to seperate files. svn path=/trunk/; revision=50569 --- epan/tvbuff-int.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'epan/tvbuff-int.h') diff --git a/epan/tvbuff-int.h b/epan/tvbuff-int.h index d8d4cba314..3609a39606 100644 --- a/epan/tvbuff-int.h +++ b/epan/tvbuff-int.h @@ -97,13 +97,6 @@ struct tvbuff { gint raw_offset; }; -struct tvb_real { - struct tvbuff tvb; - - /** Func to call when actually freed */ - tvbuff_free_cb_t free_cb; -}; - struct tvb_subset { struct tvbuff tvb; @@ -118,4 +111,9 @@ struct tvb_composite { WS_DLL_PUBLIC tvbuff_t *tvb_new(const struct tvb_ops *ops); +void tvb_add_to_chain(tvbuff_t *parent, tvbuff_t *child); + +guint tvb_offset_from_real_beginning_counter(const tvbuff_t *tvb, const guint counter); + +void tvb_check_offset_length(const tvbuff_t *tvb, const gint offset, gint const length_val, guint *offset_ptr, guint *length_ptr); #endif -- cgit v1.2.3