
Defines | |
| #define | ADD_CONSTANT(name, value) |
Functions | |
| static int | vlclua_url_parse (lua_State *L) |
| static int | vlclua_net_listen_close (lua_State *) |
| static int | vlclua_net_accept (lua_State *) |
| static int | vlclua_net_fds (lua_State *) |
| static int | vlclua_net_listen_tcp (lua_State *L) |
| static int | vlclua_net_connect_tcp (lua_State *L) |
| static int | vlclua_net_close (lua_State *L) |
| static int | vlclua_net_send (lua_State *L) |
| static int | vlclua_net_recv (lua_State *L) |
| static int | vlclua_net_poll (lua_State *L) |
| static int | vlclua_fd_write (lua_State *L) |
| static int | vlclua_fd_read (lua_State *L) |
| static int | vlclua_stat (lua_State *L) |
| static int | vlclua_opendir (lua_State *L) |
| void | luaopen_net (lua_State *L) |
Variables | |
| static const luaL_Reg | vlclua_net_listen_reg [] |
| static const luaL_Reg | vlclua_net_reg [] |
| void luaopen_net | ( | lua_State * | L | ) |
References ADD_CONSTANT, POLLERR, POLLHUP, POLLIN, POLLNVAL, POLLOUT, POLLPRI, and vlclua_net_reg.
Referenced by GetLuaState(), Open_LuaIntf(), and Open_LuaSD().
| static int vlclua_fd_read | ( | lua_State * | L | ) | [static] |
| static int vlclua_fd_write | ( | lua_State * | L | ) | [static] |
| static int vlclua_net_accept | ( | lua_State * | L | ) | [static] |
References net_Accept, and vlclua_get_this().
| static int vlclua_net_connect_tcp | ( | lua_State * | L | ) | [static] |
References net_Connect, and vlclua_get_this().
| static int vlclua_net_fds | ( | lua_State * | L | ) | [static] |
| static int vlclua_net_listen_close | ( | lua_State * | L | ) | [static] |
| static int vlclua_net_listen_tcp | ( | lua_State * | L | ) | [static] |
References net_ListenTCP, vlclua_get_this(), vlclua_net_listen_close(), and vlclua_net_listen_reg.
| static int vlclua_net_poll | ( | lua_State * | L | ) | [static] |
References pollfd::events, pollfd::fd, i, poll, pollfd::revents, vlc_cleanup_push, and vlc_cleanup_run.
| static int vlclua_net_recv | ( | lua_State * | L | ) | [static] |
| static int vlclua_net_send | ( | lua_State * | L | ) | [static] |
| static int vlclua_opendir | ( | lua_State * | L | ) | [static] |
References closedir, i, vlc_opendir(), and vlc_readdir().
| static int vlclua_stat | ( | lua_State * | L | ) | [static] |
References vlc_stat().
| static int vlclua_url_parse | ( | lua_State * | L | ) | [static] |
const luaL_Reg vlclua_net_listen_reg[] [static] |
Initial value:
{
{ "accept", vlclua_net_accept },
{ "fds", vlclua_net_fds },
{ NULL, NULL }
}
Referenced by vlclua_net_listen_tcp().
const luaL_Reg vlclua_net_reg[] [static] |
Initial value:
{
{ "url_parse", vlclua_url_parse },
{ "listen_tcp", vlclua_net_listen_tcp },
{ "connect_tcp", vlclua_net_connect_tcp },
{ "close", vlclua_net_close },
{ "send", vlclua_net_send },
{ "recv", vlclua_net_recv },
{ "poll", vlclua_net_poll },
{ "read", vlclua_fd_read },
{ "write", vlclua_fd_write },
{ "stat", vlclua_stat },
{ "opendir", vlclua_opendir },
{ NULL, NULL }
}
Referenced by luaopen_net().
1.5.6