diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-07 22:36:55 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-07 22:36:55 +0000 |
commit | 4942557be0ba41c27af5baf2e581d8dbf6b218ba (patch) | |
tree | c9dbcef82f9da5c2c5cb07b44a03ee8ad8536ce5 /packet-isis-clv.h | |
parent | c8100c35c10c68ca7f2043ab00be8bd30b34e80f (diff) |
Get rid of unused "pinfo" arguments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5112 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-isis-clv.h')
-rw-r--r-- | packet-isis-clv.h | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/packet-isis-clv.h b/packet-isis-clv.h index 4f2136da16..399566cef6 100644 --- a/packet-isis-clv.h +++ b/packet-isis-clv.h @@ -1,7 +1,7 @@ /* packet-isis-clv.h * Declares for common clv decoding functions. * - * $Id: packet-isis-clv.h,v 1.7 2001/07/02 00:19:34 guy Exp $ + * $Id: packet-isis-clv.h,v 1.8 2002/04/07 22:36:55 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -21,9 +21,8 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * */ + #ifndef _PACKET_ISIS_CLV_H #define _PACKET_ISIS_CLV_H @@ -34,7 +33,7 @@ typedef struct { int optcode; /* code for option */ char *tree_text; /* text for fold out */ gint *tree_id; /* id for add_item */ - void (*dissect)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, + void (*dissect)(tvbuff_t *tvb, proto_tree *tree, int offset, int id_length, int length); } isis_clv_handle_t; @@ -42,30 +41,28 @@ typedef struct { * Published API functions. NOTE, this are "local" API functions and * are only valid from with isis decodes. */ -extern void isis_dissect_clvs(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, +extern void isis_dissect_clvs(tvbuff_t *tvb, proto_tree *tree, int offset, const isis_clv_handle_t *opts, int len, int id_length, int unknown_tree_id); -extern void isis_dissect_nlpid_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length); -extern void isis_dissect_te_router_id_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length, int tree_id); -extern void isis_dissect_ipv6_int_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length, int tree_id); -extern void isis_dissect_ip_int_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length, int tree_id); -extern void isis_dissect_mt_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length, int tree_id); -extern void isis_dissect_hostname_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length); -extern void isis_dissect_authentication_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length, char *meaning); -extern void isis_dissect_area_address_clv(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, int length); +extern void isis_dissect_nlpid_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length); +extern void isis_dissect_te_router_id_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length, int tree_id); +extern void isis_dissect_ipv6_int_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length, int tree_id); +extern void isis_dissect_ip_int_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length, int tree_id); +extern void isis_dissect_mt_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length, int tree_id); +extern void isis_dissect_hostname_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length); +extern void isis_dissect_authentication_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length, char *meaning); +extern void isis_dissect_area_address_clv(tvbuff_t *tvb, proto_tree *tree, + int offset, int length); -extern void isis_dissect_metric(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, int offset, +extern void isis_dissect_metric(tvbuff_t *tvb, proto_tree *tree, int offset, guint8 value, char *pstr, int force_supported); #endif /* _PACKET_ISIS_CLV_H */ |