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
This commit is contained in:
Guy Harris 2001-01-03 07:37:29 +00:00
parent 0e7c1de08a
commit fee98dd944
1 changed files with 2 additions and 2 deletions

View File

@ -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);