Sorry but I been very busy lately. Most lua functions are just wrappers for functions of wireshark's "API". Don't use the Lua wrappers, use the very same C functions they use instead, you can use the code in them instead!
you can take the code in wslua_retap_packets() and wslua_register_menu() and instead of fetching the parameters from the lua_State you should get them yourself. BTW I do not see any good use in a dissector for retap_packets(), which kind of plugin are you working on? Luis On 9/27/07, Илья Куделин <[EMAIL PROTECTED]> wrote: > > > Hi > > can anybody tell me how i can use lua functions (f.e.retap_packets() ) > from > > plugin which written in C ? > > -------------- next part -------------- > > > > Nobody know how it use? > f.e. wslua_retap_packets(lua_State *L) or wslua_register_menu(lua_State *L) > what is lua_State? how make it work? > pls help me. > > _______________________________________________ > Wireshark-dev mailing list > [email protected] > http://www.wireshark.org/mailman/listinfo/wireshark-dev > > -- This information is top security. When you have read it, destroy yourself. -- Marshall McLuhan _______________________________________________ Wireshark-dev mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-dev
