forked from osmocom/wireshark
Add "proto_tree_add_none_format()" to the set of functions exported to
plugins. svn path=/trunk/; revision=7423
This commit is contained in:
parent
a7cd846b47
commit
d3daad1bec
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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*);
|
||||
|
|
Loading…
Reference in New Issue