summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2015-02-14 11:41:47 -0800
committerGerald Combs <gerald@wireshark.org>2015-02-14 19:48:07 +0000
commitbade5f31da755783d7b882b0605b619b3d1f8a84 (patch)
tree7c0d4deb71607929da049b9383fff769293edc9e /doc
parentf80a720a885274a9db74c607f382d40e323c72e6 (diff)
downloadwireshark-bade5f31da755783d7b882b0605b619b3d1f8a84.tar.gz
A small correction to the documentation to bring it in line with the code.
Change-Id: I5818b9f3348a70d817bf885697cd67440d812889 Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Reviewed-on: https://code.wireshark.org/review/7121 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.dissector6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/README.dissector b/doc/README.dissector
index ff0d5480b1..3f908efa0b 100644
--- a/doc/README.dissector
+++ b/doc/README.dissector
@@ -1102,10 +1102,12 @@ protocol or field labels to the proto_tree:
proto_tree_add_item(tree, id, tvb, start, length, encoding);
proto_item*
- proto_tree_add_subtree(tree, tvb, start, length, label);
+ proto_tree_add_subtree(tree, tvb, start, length, subtree_id, tree_item,
+ label);
proto_item*
- proto_tree_add_subtree_format(tree, tvb, start, length, format, ...);
+ proto_tree_add_subtree_format(tree, tvb, start, length, subtree_id,
+ tree_item. format, ...);
proto_item*
proto_tree_add_none_format(tree, id, tvb, start, length, format, ...);