/* NOTE: to support code written when proto_tree_add_item() took a gboolean as its last argument, with FALSE meaning "big-endian" and TRUE meaning "little-endian", we treat any non-zero value of "encoding" as meaning "little-endian".  */
void tvb_get_guid(tvbuff_t *tvb, const gint offset, e_guid_t *guid, const guint encoding)
/* NOTE: to support code written when proto_tree_add_item() took a gboolean as its last argument, with FALSE meaning "big-endian" and TRUE meaning "little-endian", we treat any non-zero value of "encoding" as meaning "little-endian".  */
void tvb_get_guid(tvbuff_t *tvb, const gint offset, e_guid_t *guid, const guint encoding)
{
	if (encoding) {
		tvb_get_letohguid(tvb, offset, guid);
	} else {
		tvb_get_ntohguid(tvb, offset, guid);
	}
}