diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-16 11:44:20 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-16 11:44:20 +0000 |
commit | e4c62806db219ae013652ae479827fb38a0a9635 (patch) | |
tree | bcc3d6ea4d23e60c7841a408e9b1876ed6a93106 /packet-rpc.h | |
parent | 8f0f1f9ae49aca3671a8c4c3aa81858684a4f05c (diff) |
Replace the ETT_ "enum" members, declared in "packet.h", with
dynamically-assigned "ett_" integer values, assigned by
"proto_register_subtree_array()"; this:
obviates the need to update "packet.h" whenever you add a new
subtree type - you only have to add a call to
"proto_register_subtree_array()" to a "register" routine and an
array of pointers to "ett_", if they're not already there, and
add a pointer to the new "ett_" variable to the array, if they
are there;
would allow run-time-loaded dissectors to allocate subtree types
when they're loaded.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1043 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-rpc.h')
-rw-r--r-- | packet-rpc.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-rpc.h b/packet-rpc.h index 31b8fe4e89..d57d3aa495 100644 --- a/packet-rpc.h +++ b/packet-rpc.h @@ -1,5 +1,5 @@ /* packet-rpc.h (c) 1999 Uwe Girlich */ -/* $Id: packet-rpc.h,v 1.6 1999/11/15 17:16:51 nneul Exp $ */ +/* $Id: packet-rpc.h,v 1.7 1999/11/16 11:42:52 guy Exp $ */ #ifndef __PACKET_RPC_H__ #define __PACKET_RPC_H__ @@ -43,8 +43,6 @@ typedef int (dissect_function_t)(const u_char* pd, int offset, frame_data* fd, proto_tree* tree); -extern GHashTable *rpc_progs; - typedef struct _vsff { guint32 value; gchar *strptr; |