aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rmi.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-02-05 06:16:32 +0000
committerGuy Harris <guy@alum.mit.edu>2003-02-05 06:16:32 +0000
commit180ccef84ecd07d82313df8cf0debc09d91593eb (patch)
treea44bb65788fd706bd8d8f6e830685639207d5fc8 /packet-rmi.h
parent7a19ab53239e83542f4eb81ae6193ad7f70a48de (diff)
Get rid of unused ett_ variables (for fields that don't have subfields).
Put in URLs for the RMI and serialization protocols. Move value_string arrays, and declarations of static routines, out of the header file into the .c file. For integral values with associated value_string tables, just put them into the protocol trees as integral values and associate the value_string table with the field. Use "proto_tree_add_item()" whenever possible. Use the #define for "JRMI" rather than hardcoding it. svn path=/trunk/; revision=7076
Diffstat (limited to 'packet-rmi.h')
-rw-r--r--packet-rmi.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/packet-rmi.h b/packet-rmi.h
index d57004c45a..0d7fd7e7d2 100644
--- a/packet-rmi.h
+++ b/packet-rmi.h
@@ -2,7 +2,7 @@
* header file for java rmiregistry dissection
* Copyright 2002, Michael Stiller <ms@2scale.net>
*
- * $Id: packet-rmi.h,v 1.3 2002/08/28 21:00:29 jmayer Exp $
+ * $Id: packet-rmi.h,v 1.4 2003/02/05 06:16:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -66,35 +66,4 @@ typedef enum {
SERIALIZATION_DATA = 128,
} rmi_type;
-static const value_string rmi_protocol_str[] = {
- {RMI_OUTPUTSTREAM_PROTOCOL_STREAM, "StreamProtocol"},
- {RMI_OUTPUTSTREAM_PROTOCOL_SINGLEOP, "SingleOpProtocol"},
- {RMI_OUTPUTSTREAM_PROTOCOL_MULTIPLEX, "MultiPlexProtocol"},
- {0, NULL}
-};
-
-static const value_string rmi_output_message_str[] = {
- {RMI_OUTPUTSTREAM_MESSAGE_CALL, "Call"},
- {RMI_OUTPUTSTREAM_MESSAGE_PING, "Ping"},
- {RMI_OUTPUTSTREAM_MESSAGE_DGCACK, "DgcAck"},
- {0, NULL}
-};
-
-static const value_string rmi_input_message_str[] = {
- {RMI_INPUTSTREAM_MESSAGE_ACK, "ProtocolAck"},
- {RMI_INPUTSTREAM_MESSAGE_NOTSUPPORTED, "ProtocolNotSupported"},
- {RMI_INPUTSTREAM_MESSAGE_RETURNDATA, "ReturnData"},
- {RMI_INPUTSTREAM_MESSAGE_PINGACK, "PingAck"},
- {0, NULL}
-};
-
-static void
-dissect_rmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
-
-static void
-dissect_ser(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
-
-static rmi_type
-get_rmi_type(const guchar *data, int datalen);
-
#endif