From 576c7eae45be250478b5317bacfa19ad46f812de Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 21 Dec 2013 14:33:54 +0000 Subject: Move base64_to_tvb() to tvbuff_base64.c svn path=/trunk/; revision=54325 --- epan/tvbuff.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'epan/tvbuff.h') diff --git a/epan/tvbuff.h b/epan/tvbuff.h index cb9f2f1f50..43f13d7792 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -681,6 +681,8 @@ WS_DLL_PUBLIC const gchar *tvb_bcd_dig_to_wmem_packet_str(tvbuff_t *tvb, WS_DLL_PUBLIC gint tvb_find_tvb(tvbuff_t *haystack_tvb, tvbuff_t *needle_tvb, const gint haystack_offset); +/* From tvbuff_zlib.c */ + /** * Uncompresses a zlib compressed packet inside a tvbuff at offset with * length comprlen. Returns an uncompressed tvbuffer if uncompression @@ -697,6 +699,13 @@ WS_DLL_PUBLIC tvbuff_t *tvb_uncompress(tvbuff_t *tvb, const int offset, extern tvbuff_t *tvb_child_uncompress(tvbuff_t *parent, tvbuff_t *tvb, const int offset, int comprlen); +/* From tvbuff_base64.c */ + +/** Return a tvb that contains the binary representation of a base64 + * string + */ +extern tvbuff_t* base64_to_tvb(tvbuff_t *parent, const char *base64); + /************** END OF ACCESSORS ****************/ /** @} */ -- cgit v1.2.3