aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-28 05:50:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-28 05:50:52 +0000
commit3de139644b5ff8e595614178a67fcc34f7be3e8f (patch)
tree608fc6f0f89c5bc8fff99276eccaa4dc19a825df /doc
parent590098604498f12e8d1700e05ca19acbc1548c25 (diff)
downloadwireshark-3de139644b5ff8e595614178a67fcc34f7be3e8f.tar.gz
wireshark-3de139644b5ff8e595614178a67fcc34f7be3e8f.tar.bz2
wireshark-3de139644b5ff8e595614178a67fcc34f7be3e8f.zip
Clarify the previous checkin - that applies to the 'value' argument.
svn path=/trunk/; revision=8797
Diffstat (limited to 'doc')
-rw-r--r--doc/README.developer15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/README.developer b/doc/README.developer
index 8f9add0065..4a2d8ac4bb 100644
--- a/doc/README.developer
+++ b/doc/README.developer
@@ -1,4 +1,4 @@
-$Id: README.developer,v 1.83 2003/10/28 05:49:29 guy Exp $
+$Id: README.developer,v 1.84 2003/10/28 05:50:52 guy Exp $
This file is a HOWTO for Ethereal developers. It describes how to start coding
a Ethereal protocol dissector and the use some of the important functions and
@@ -235,7 +235,7 @@ code inside
is needed only if you are using the "snprintf()" function.
-The "$Id: README.developer,v 1.83 2003/10/28 05:49:29 guy Exp $"
+The "$Id: README.developer,v 1.84 2003/10/28 05:50:52 guy Exp $"
in the comment will be updated by CVS when the file is
checked in; it will allow the RCS "ident" command to report which
version of the file is currently checked out.
@@ -245,7 +245,7 @@ version of the file is currently checked out.
* Routines for PROTONAME dissection
* Copyright 2000, YOUR_NAME <YOUR_EMAIL_ADDRESS>
*
- * $Id: README.developer,v 1.83 2003/10/28 05:49:29 guy Exp $
+ * $Id: README.developer,v 1.84 2003/10/28 05:50:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1375,10 +1375,11 @@ These routines are used to add items to the protocol tree if either:
The 'value' argument has the value to be added to the tree.
-NOTE: in all cases where the argument is a pointer, a copy is made of
-the object pointed to; if you have dynamically allocated a buffer for
-the object, that buffer will not be freed when the protocol tree is
-freed - you must free the buffer yourself when you don't need it any more.
+NOTE: in all cases where the 'value' argument is a pointer, a copy is
+made of the object pointed to; if you have dynamically allocated a
+buffer for the object, that buffer will not be freed when the protocol
+tree is freed - you must free the buffer yourself when you don't need it
+any more.
For proto_tree_add_bytes(), the 'value_ptr' argument is a pointer to a
sequence of bytes.