diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-02-24 21:54:54 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-02-24 21:54:54 +0000 |
commit | 6a8533fbb05e7e3f6db016463e0b94a8ae0702cd (patch) | |
tree | 58a5039fd58c16b3d15c2652c10f3e874e10af36 /doc/README.developer | |
parent | b78143e9b113dc5e16d2bfeaec2b2e465fca7cbc (diff) | |
download | wireshark-6a8533fbb05e7e3f6db016463e0b94a8ae0702cd.tar.gz |
Remove obsolete document README.tvbuff
svn path=/trunk/; revision=17401
Diffstat (limited to 'doc/README.developer')
-rw-r--r-- | doc/README.developer | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/README.developer b/doc/README.developer index 91a7561bb6..7c43089a32 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -899,7 +899,7 @@ dissect_PROTOABBREV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); 1.4.2 Extracting data from packets. -NOTE: See the README.tvbuff file for more details +NOTE: See the tvbuff.h file for more details The "tvb" argument to a dissector points to a buffer containing the raw data to be analyzed by the dissector; for example, for a protocol @@ -1015,10 +1015,12 @@ Copies into the specified target the specified length's worth of data from the specified tvbuff, starting at the specified offset. guint8* tvb_memdup(tvbuff_t*, gint offset, gint length); +guint8* ep_tvb_memdup(tvbuff_t*, gint offset, gint length); Returns a buffer, allocated with "g_malloc()", containing the specified length's worth of data from the specified tvbuff, starting at the -specified offset. +specified offset. The ephemeral variant is freed automatically after the +packet is dissected. Pointer-retrieval: /* WARNING! This function is possibly expensive, temporarily allocating |