Add "proto_tree_add_none_format()" to the set of functions exported to
authorGuy Harris <guy@alum.mit.edu>
Tue, 8 Apr 2003 17:20:05 +0000 (17:20 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 8 Apr 2003 17:20:05 +0000 (17:20 -0000)
plugins.

svn path=/trunk/; revision=7423

epan/plugins.c
plugins/plugin_api.c
plugins/plugin_api.h
plugins/plugin_api_decls.h
plugins/plugin_table.h

index af21a5185a409895e22145014ee982cfd7ec1d3b..3191ac529cceae4cd93ba6364c721eb333ec9dbf 100644 (file)
@@ -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 <gerald@ethereal.com>
@@ -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;
index 50bbfcfc2ac8cecaf3fe827a2bf8a60292f95559..89b950307838d8a9d6639df9ac0e6ab6cab12bd0 100644 (file)
@@ -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 <gram@alumni.rice.edu>
@@ -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;
index 04fb8c5c3df629a6e65c86c63c9cab8f7850feac..af09fdeeffc269c089e7441293895641af4ae621 100644 (file)
@@ -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 <gram@alumni.rice.edu>
@@ -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)
index 427f1b48e3f9e4f52c6ba36d5b387a7ed143ddb7..2216d02e5730c0d405cbc4648fa39091c411752b 100644 (file)
@@ -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 <gram@alumni.rice.edu>
@@ -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;
index 3e53a9ae529a4b5f8a7e063910f138f680775c0a..4ef39bd2ec2d67abb2ae16420ef07886f4f50e01 100644 (file)
@@ -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 <gram@alumni.rice.edu>
@@ -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*);