aboutsummaryrefslogtreecommitdiffstats
path: root/epan/expert.h
diff options
context:
space:
mode:
authorDavid Perry <boolean263@protonmail.com>2023-08-24 05:38:12 +0000
committerAndersBroman <a.broman58@gmail.com>2023-08-24 05:38:12 +0000
commit3a8163349548cf2e033a0780f10b9f213b04cd40 (patch)
tree5855fcfd8044aaf16ce6cfb625b674178831e894 /epan/expert.h
parentaaa989b2678e5d4028f2782a3726c9e1405df0bb (diff)
Hide expert info of packet comments in packet tree
Diffstat (limited to 'epan/expert.h')
-rw-r--r--epan/expert.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/expert.h b/epan/expert.h
index e152b89f5f..c67ce5c27e 100644
--- a/epan/expert.h
+++ b/epan/expert.h
@@ -102,8 +102,9 @@ expert_update_comment_count(guint64 count);
pi is supplied
@param pi Current protocol item (or NULL)
@param eiindex The registered expert info item
+ @return the newly created expert info tree
*/
-WS_DLL_PUBLIC void
+WS_DLL_PUBLIC proto_item *
expert_add_info(packet_info *pinfo, proto_item *pi, expert_field *eiindex);
/** Add an expert info.
@@ -114,8 +115,9 @@ expert_add_info(packet_info *pinfo, proto_item *pi, expert_field *eiindex);
@param pi Current protocol item (or NULL)
@param eiindex The registered expert info item
@param format Printf-style format string for additional arguments
+ @return the newly created expert info tree
*/
-WS_DLL_PUBLIC void
+WS_DLL_PUBLIC proto_item *
expert_add_info_format(packet_info *pinfo, proto_item *pi, expert_field *eiindex,
const char *format, ...) G_GNUC_PRINTF(4, 5);