aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 14:33:54 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-21 14:33:54 +0000
commit576c7eae45be250478b5317bacfa19ad46f812de (patch)
treed743bd527401fa0287c196c793c43b5fb5aff182 /epan/tvbuff.h
parent3778699fb53cb0ab07a0ca0977f3efd5c3a86681 (diff)
Move base64_to_tvb() to tvbuff_base64.c
svn path=/trunk/; revision=54325
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h9
1 files changed, 9 insertions, 0 deletions
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 ****************/
/** @} */