Ethereal-cvs: [Ethereal-cvs] rev 17110: /trunk/plugins/lua/: lua_proto.c lua_tap.c lua_tree.c
User: lego
Date: 2006/01/27 09:15 PM
Log:
* packet-lua.h
* SubTreeType (ett) was renamed as SubTree
* lua_tap.c
- change the way the taps register (still to be finished so I won't comment)
* lua_tree.c
* SubTree(ett) moved here, now it autoregisters all subtrees created at once. The user neither does need to create a SubTreeArray(eliminated) anymore nor to register it.
* lua_proto.c
* SubTree moved out from here its "global" variables are used by lua_tree.c .
* SubTreeArray was eliminated (now ett's "autoregister")
* Created usertypes for
- Pref a preference
- Prefs all preferences of one protocol
So far they are transparent to the user.
* Proto has become a pseudo-table instead of a method based (registration in nicer)
* packet-lua.c
* runtime errors go where they are meant to:
- errors in dissector code go to the tree (a-la malformed)
- errors in registration/handoff/init use reporte_failure()
* no more Lua code to be compiled at runtime
Directory: /trunk/plugins/lua/
Changes Path Action
+372 -338 lua_proto.c Modified
+9 -40 lua_tap.c Modified
+91 -6 lua_tree.c Modified
+199 -93 packet-lua.c Modified
+21 -16 packet-lua.h Modified
http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=17110&view=rev