diff options
author | Richard Sharpe <realrichardsharpe@gmail.com> | 2015-02-14 11:41:47 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-02-14 19:48:07 +0000 |
commit | bade5f31da755783d7b882b0605b619b3d1f8a84 (patch) | |
tree | 7c0d4deb71607929da049b9383fff769293edc9e /doc | |
parent | f80a720a885274a9db74c607f382d40e323c72e6 (diff) |
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.dissector | 6 |
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, ...); |