diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-14 07:42:19 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-14 07:42:19 +0000 |
commit | 0d85b75305677a1298b76718112c4e440f84b94c (patch) | |
tree | 70ddebed4e192eb88700d2dd208d58b6d4c32477 /epan/tvbuff-int.h | |
parent | c089afca5c353aec09a7bd7d918f58b21bcc9437 (diff) |
Move tvb real and subset implementations to seperate files.
svn path=/trunk/; revision=50569
Diffstat (limited to 'epan/tvbuff-int.h')
-rw-r--r-- | epan/tvbuff-int.h | 12 |
1 files changed, 5 insertions, 7 deletions
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 |