aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 8e9057e92f..52fdb3e862 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -896,9 +896,10 @@ extern tvbuff_t* base64_to_tvb(tvbuff_t *parent, const char *base64);
* @param offset The offset in tvb from which we begin trying to extract integer.
* @param maxlen The maximum distance from offset that we may try to extract integer
* @param value if parsing succeeds, parsed varint will store here.
+ * @param encoding The ENC_* that defines the format (e.g., ENC_VARINT_PROTOBUF, ENC_VARINT_QUIC)
* @return the length of this varint in tvb. 0 means parsing failed.
*/
-WS_DLL_PUBLIC guint tvb_get_varint(tvbuff_t *tvb, guint offset, guint maxlen, guint64 *value);
+WS_DLL_PUBLIC guint tvb_get_varint(tvbuff_t *tvb, guint offset, guint maxlen, guint64 *value, const guint encoding);
/************** END OF ACCESSORS ****************/