Wireshark-bugs: [Wireshark-bugs] [Bug 1243] New: Lua documentation inaccurate
Date: Sat, 25 Nov 2006 01:33:53 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1243

           Summary: Lua documentation inaccurate
           Product: Web sites
           Version: N/A
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Medium
         Component: Wiki - wiki.wireshark.org
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: sebbaz+ws@xxxxxxxxx


Build Information:
0.99.4 - Lua 5.1
--
The Lua class documentation does not seem to correspond with the methods
actually exposed in Wireshark 0.99.4.

For example, as far as I can make out, the only classes that are available are
the ones defined in declare_wslua.h, i.e.

ByteArray
Tvb    
TvbRange
Pref      
Prefs
ProtoField
Proto    
Dissector
DissectorTable
TreeItem
Address
Column
Columns
Pinfo    
Listener
TextWindow
Dir     
FieldInfo
Field  
PseudoHeader
Dumper

yet the class list on the Wiki page also includes:

Tap
ProtoFieldArray
ProtoTree

etc.

The examples also use some more classes that don't exist:

Protocol
new_tap

As the only documentation seems to be the Wiki, this makes it rather difficult
to use the Lua plugin...


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.