From a65cbe8e7b3efe25db3cb6861dac302a145655c5 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Mon, 30 Dec 2013 23:58:45 +0000 Subject: Add new function: tvb_skip_guint8() svn path=/trunk/; revision=54505 --- epan/tvbuff.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/tvbuff.h') diff --git a/epan/tvbuff.h b/epan/tvbuff.h index 55236f08b1..424469130c 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -619,6 +619,8 @@ WS_DLL_PUBLIC gint tvb_skip_wsp(tvbuff_t *tvb, const gint offset, WS_DLL_PUBLIC gint tvb_skip_wsp_return(tvbuff_t *tvb, const gint offset); +int tvb_skip_guint8(tvbuff_t *tvb, int offset, const int maxlength, const guint8 ch); + /** * Call strncmp after checking if enough chars left, returning 0 if * it returns 0 (meaning "equal") and -1 otherwise, otherwise return -1. -- cgit v1.2.3