aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-03 07:37:29 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-03 07:37:29 +0000
commitfee98dd94462787123ec7fa0d660044a4b1800c4 (patch)
tree6e911a3f7b8e96ade6d292e07bbf3a7717d207a6
parent0e7c1de08a9e6b453b47c60a698a24387d63719a (diff)
Have "proto_register_protocol()" build a list of data structures for
protocols, in addition to adding structures to the list of filterable fields. Give it an extra argument that specifies a "short name" for the protocol, for use in such places as pinfo->current_proto; the dialog box for constructing filters; the preferences tab for the protocol; and so on (although we're not yet using it in all those places). Make the preference name that appears in the preferences file and the command line for the DIAMETER protocol "diameter", not "Diameter"; the convention is that the name in question be all-lower-case. Make some routines and variables that aren't exported static. Update a comment in the ICP dissector to make it clear that the dissector won't see fragments other than the first fragment of a fragmented datagram. svn path=/trunk/; revision=2811
-rw-r--r--plugins/plugin_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index 2476290348..f8507279c2 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.11 2000/11/18 21:41:40 guy Exp $
+ * $Id: plugin_table.h,v 1.12 2001/01/03 07:37:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.org>
@@ -39,7 +39,7 @@ typedef void (*addr_col_append_str)(frame_data*, gint, gchar*);
typedef void (*addr_dfilter_init)(void);
typedef void (*addr_dfilter_cleanup)(void);
-typedef int (*addr_proto_register_protocol)(char*, char*);
+typedef int (*addr_proto_register_protocol)(char*, char*, char*);
typedef void (*addr_proto_register_field_array)(int, hf_register_info*, int);
typedef void (*addr_proto_register_subtree_array)(int**, int);