diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-03-10 11:58:22 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-03-10 11:58:22 +0000 |
commit | 923855bb20845f55472dfe8e62b7b43660f2f63b (patch) | |
tree | 79879c08850761a73e66166eea9838551d75b3e7 /epan/tvbuff.h | |
parent | 281e4a7ebb92c705d0d757e472fd6285eaf2636f (diff) | |
download | wireshark-923855bb20845f55472dfe8e62b7b43660f2f63b.tar.gz |
new FT_GUID handling - big/little endian supported
svn path=/trunk/; revision=17566
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r-- | epan/tvbuff.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h index efe9ef6d4a..144af28666 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -37,6 +37,7 @@ #include <glib.h> #include <epan/ipv6-utils.h> +#include <epan/guid-utils.h> #include "exceptions.h" /** @file @@ -330,6 +331,12 @@ extern guint32 tvb_get_ipv4(tvbuff_t*, gint offset); /* Fetch an IPv6 address. */ extern void tvb_get_ipv6(tvbuff_t*, gint offset, struct e_in6_addr *addr); +/* Fetch a GUID. */ +extern void tvb_get_ntohguid(tvbuff_t *tvb, gint offset, e_guid_t *guid); +extern void tvb_get_letohguid(tvbuff_t *tvb, gint offset, e_guid_t *guid); +extern void tvb_get_guid(tvbuff_t *tvb, gint offset, e_guid_t *guid, gboolean little_endian); + + /** Returns target for convenience. Does not suffer from possible * expense of tvb_get_ptr(), since this routine is smart enough * to copy data in chunks if the request range actually exists in |