50extern int set_wth_priv_table_ref(lua_State* L,
wtap *wth);
53extern void remove_wth_priv(lua_State* L,
wtap *wth);
56extern void create_wdh_priv(lua_State* L,
wtap_dumper *wdh);
Definition wslua_file_common.h:24
Wiretap dumper handle and associated state.
Definition wtap_module.h:163
Definition file_wrappers.c:96
Definition wtap_module.h:58
CaptureInfo * push_CaptureInfo(lua_State *L, wtap *wth, const bool first_time)
Pushes a CaptureInfo object onto the Lua stack.
Definition wslua_capture_info.c:38
void remove_wdh_priv(lua_State *L, wtap_dumper *wdh)
Removes private data associated with a wtap_dumper.
Definition wslua_file_common.c:171
int get_wth_priv_table_ref(lua_State *L, wtap *wth)
Retrieves the private data table reference from a wtap structure.
Definition wslua_file_common.c:46
void create_wth_priv(lua_State *L, wtap *wth)
Creates private data for a wtap structure.
Definition wslua_file_common.c:33
int get_wdh_priv_table_ref(lua_State *L, wtap_dumper *wdh)
Retrieves the private data table reference from a wtap_dumper structure.
Definition wslua_file_common.c:123
File * push_File(lua_State *L, FILE_T ft)
Pushes a File object onto the Lua stack.
Definition wslua_file.c:87
CaptureInfoConst * push_CaptureInfoConst(lua_State *L, wtap_dumper *wdh)
Pushes a CaptureInfoConst object onto the Lua stack.
Definition wslua_capture_info.c:322
File * push_Wdh(lua_State *L, wtap_dumper *wdh)
Pushes a wtap_dumper object to Lua.
Definition wslua_file.c:95
int set_wdh_priv_table_ref(lua_State *L, wtap_dumper *wdh)
Set or remove a Lua table reference in the wtap_dumper's private data.
Definition wslua_file_common.c:139
FrameInfoConst * push_FrameInfoConst(lua_State *L, const wtap_rec *rec, const uint8_t *pd)
Pushes a FrameInfoConst object onto the Lua stack.
Definition wslua_frame_info.c:342
FrameInfo * push_FrameInfo(lua_State *L, wtap_rec *rec)
Pushes a FrameInfo object onto the Lua stack.
Definition wslua_frame_info.c:43