A small correction to the documentation to bring it in line with the code.
authorRichard Sharpe <realrichardsharpe@gmail.com>
Sat, 14 Feb 2015 19:41:47 +0000 (11:41 -0800)
committerGerald Combs <gerald@wireshark.org>
Sat, 14 Feb 2015 19:48:07 +0000 (19:48 +0000)
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>
doc/README.dissector

index ff0d5480b1b5e10ecd5e308a64d7cf41351f94e9..3f908efa0b30c06da8bb4ef509820c8caeffa21c 100644 (file)
@@ -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, ...);