Wireshark - 1.0 Betriebsanweisung

Seite von 284
10.4.9. Utility Functions
10.4.9.1. Dir
A Directory
10.4.9.1.1. Dir.open(pathname, [extension])
usage: for filename in Dir.open(path) do ... end
10.4.9.1.1.1. Arguments
pathname
the pathname of the directory
extension (optional)
if given, only file with this extension will be returned
10.4.9.1.1.2. Returns
the Dir object
10.4.9.1.2. dir:__call()
at every invocation will return one file (nil when done)
10.4.9.1.3. dir:close()
closes the directory
10.4.9.2. Non Method Functions
10.4.9.2.1. format_date(timestamp)
Formats an absolute timestamp into a human readable date
10.4.9.2.1.1. Arguments
timestamp
A timestamp value to convert.
10.4.9.2.1.2. Returns
a string with the formated date
10.4.9.2.2. format_time(timestamp)
Formats a relative timestamp in a human readable form
10.4.9.2.2.1. Arguments
timestamp
a timestamp value to convert
10.4.9.2.2.2. Returns
a string with the formated time
10.4.9.2.3. report_failure(text)
reports a failure to the user
Lua Support in Wireshark
229