diff --git a/epan/plugins.c b/epan/plugins.c index af21a5185a..3191ac529c 100644 --- a/epan/plugins.c +++ b/epan/plugins.c @@ -1,7 +1,7 @@ /* plugins.c * plugin routines * - * $Id: plugins.c,v 1.63 2003/03/06 09:01:43 sahlberg Exp $ + * $Id: plugins.c,v 1.64 2003/04/08 17:20:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -332,6 +332,7 @@ init_plugins(const char *plugin_dir) patable.p_proto_item_add_subtree = proto_item_add_subtree; patable.p_proto_tree_add_item = proto_tree_add_item; patable.p_proto_tree_add_item_hidden = proto_tree_add_item_hidden; + patable.p_proto_tree_add_none_format = proto_tree_add_none_format; patable.p_proto_tree_add_protocol_format = proto_tree_add_protocol_format; patable.p_proto_tree_add_bytes = proto_tree_add_bytes; patable.p_proto_tree_add_bytes_hidden = proto_tree_add_bytes_hidden; diff --git a/plugins/plugin_api.c b/plugins/plugin_api.c index 50bbfcfc2a..89b9503078 100644 --- a/plugins/plugin_api.c +++ b/plugins/plugin_api.c @@ -1,7 +1,7 @@ /* plugin_api.c * Routines for Ethereal plugins. * - * $Id: plugin_api.c,v 1.44 2003/03/06 09:01:44 sahlberg Exp $ + * $Id: plugin_api.c,v 1.45 2003/04/08 17:20:05 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez @@ -69,6 +69,7 @@ plugin_address_table_init(plugin_address_table_t *pat) p_proto_item_add_subtree = pat->p_proto_item_add_subtree; p_proto_tree_add_item = pat->p_proto_tree_add_item; p_proto_tree_add_item_hidden = pat->p_proto_tree_add_item_hidden; + p_proto_tree_add_none_format = pat->p_proto_tree_add_none_format; p_proto_tree_add_protocol_format = pat->p_proto_tree_add_protocol_format; p_proto_tree_add_bytes = pat->p_proto_tree_add_bytes; p_proto_tree_add_bytes_hidden = pat->p_proto_tree_add_bytes_hidden; diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h index 04fb8c5c3d..af09fdeeff 100644 --- a/plugins/plugin_api.h +++ b/plugins/plugin_api.h @@ -1,7 +1,7 @@ /* plugin_api.h * Routines for Ethereal plugins. * - * $Id: plugin_api.h,v 1.45 2003/03/06 09:01:45 sahlberg Exp $ + * $Id: plugin_api.h,v 1.46 2003/04/08 17:20:05 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez @@ -82,6 +82,7 @@ #define proto_item_add_subtree (*p_proto_item_add_subtree) #define proto_tree_add_item (*p_proto_tree_add_item) #define proto_tree_add_item_hidden (*p_proto_tree_add_item_hidden) +#define proto_tree_add_none_format (*p_proto_tree_add_none_format) #define proto_tree_add_protocol_format (*p_proto_tree_add_protocol_format) #define proto_tree_add_bytes (*p_proto_tree_add_bytes) #define proto_tree_add_bytes_hidden (*p_proto_tree_add_bytes_hidden) diff --git a/plugins/plugin_api_decls.h b/plugins/plugin_api_decls.h index 427f1b48e3..2216d02e57 100644 --- a/plugins/plugin_api_decls.h +++ b/plugins/plugin_api_decls.h @@ -2,7 +2,7 @@ * Declarations of a list of "p_" names; included in various places * to declare them as variables or as function members. * - * $Id: plugin_api_decls.h,v 1.7 2003/03/06 09:01:45 sahlberg Exp $ + * $Id: plugin_api_decls.h,v 1.8 2003/04/08 17:20:05 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez @@ -81,6 +81,7 @@ addr_proto_item_append_text p_proto_item_append_text; addr_proto_item_add_subtree p_proto_item_add_subtree; addr_proto_tree_add_item p_proto_tree_add_item; addr_proto_tree_add_item_hidden p_proto_tree_add_item_hidden; +addr_proto_tree_add_none_format p_proto_tree_add_none_format; addr_proto_tree_add_protocol_format p_proto_tree_add_protocol_format; addr_proto_tree_add_bytes p_proto_tree_add_bytes; diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h index 3e53a9ae52..4ef39bd2ec 100644 --- a/plugins/plugin_table.h +++ b/plugins/plugin_table.h @@ -1,7 +1,7 @@ /* plugin_table.h * Table of exported addresses for Ethereal plugins. * - * $Id: plugin_table.h,v 1.57 2003/03/06 09:01:45 sahlberg Exp $ + * $Id: plugin_table.h,v 1.58 2003/04/08 17:20:05 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez @@ -85,6 +85,7 @@ typedef void (*addr_proto_item_append_text)(proto_item*, const char*, ...); typedef proto_tree* (*addr_proto_item_add_subtree)(proto_item*, gint); typedef proto_item* (*addr_proto_tree_add_item)(proto_tree*, int, tvbuff_t*, gint, gint, gboolean); typedef proto_item* (*addr_proto_tree_add_item_hidden)(proto_tree*, int, tvbuff_t*, gint, gint, gboolean); +typedef proto_item* (*addr_proto_tree_add_none_format)(proto_tree*, int, tvbuff_t*, gint, gint, const char*, ...); typedef proto_item* (*addr_proto_tree_add_protocol_format)(proto_tree*, int, tvbuff_t*, gint, gint, const char*, ...); typedef proto_item* (*addr_proto_tree_add_bytes)(proto_tree*, int, tvbuff_t*, gint, gint, const guint8*);