diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-04-27 18:23:48 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-04-28 01:24:39 +0000 |
commit | 015d9194e1471455371ce7a8a591125a7c492619 (patch) | |
tree | 9dba30c8ab161598763f954da89ea4cdc6d5d8d3 /doc | |
parent | b9d3db608de194d6f0e8bfeb1f1cbe9c5d8c858b (diff) | |
download | wireshark-015d9194e1471455371ce7a8a591125a7c492619.tar.gz |
Add proto_tree_add_item_ret_boolean().
It does what it says on the label. You get back TRUE or FALSE in a
gboolean.
While we're at it, remove a copied-and-pasted comment that doesn't
apply, and update another comment.
Change-Id: I117391d2ffe44124a614a7f64dad1b389c1ebc6a
Reviewed-on: https://code.wireshark.org/review/21394
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dissector | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/README.dissector b/doc/README.dissector index 91fae35cd1..9f585c2b5c 100644 --- a/doc/README.dissector +++ b/doc/README.dissector @@ -1253,6 +1253,10 @@ protocol or field labels to the proto_tree: *retval); proto_item* + proto_tree_add_item_ret_boolean(tree, id, tvb, start, length, encoding, + *retval); + + proto_item* proto_tree_add_subtree(tree, tvb, start, length, idx, tree_item, text); |