summaryrefslogtreecommitdiff
path: root/packet-isis-clv.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-07 22:36:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-07 22:36:55 +0000
commit5a89b3b96570bedd8761c48b3b68e664a8643488 (patch)
treec9dbcef82f9da5c2c5cb07b44a03ee8ad8536ce5 /packet-isis-clv.h
parent107da87b6d28b73fa661972ad28365874e6bd1ad (diff)
downloadwireshark-5a89b3b96570bedd8761c48b3b68e664a8643488.tar.gz
Get rid of unused "pinfo" arguments.
svn path=/trunk/; revision=5112
Diffstat (limited to 'packet-isis-clv.h')
-rw-r--r--packet-isis-clv.h45
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 */