Wireshark-dev: Re: [Wireshark-dev] How do I open a file?

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 29 Sep 2006 15:10:31 -0700

On Sep 29, 2006, at 7:36 AM, LEGO wrote:

-------------------
The Ethereal project is being continued at a new site.  Please go to
http://www.wireshark.org and subscribe to wireshark-dev@xxxxxxxxxxxxx.
Don't forget to unsubscribe from this list at
http://www.ethereal.com/mailman/listinfo/ethereal-dev
-------------------

Oops.

I assume you meant to send this to wireshark-dev.

I want to add open_file(filename) and start_capture(if) to the Lua interface.

is it feasable?
where in the codebase do I find the code that does that?

Is that just "open" in the sense of, for example, fopen(), or does it mean opening a capture file for reading and writing?

And what sort of handle are you expecting to get back from start_capture(if)? I.e., what sort of operations would you do on the result?