net.c File Reference

Include dependency graph for net.c:


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 []

Define Documentation

#define ADD_CONSTANT ( name,
value   ) 

Value:

lua_pushinteger( L, value ); \
    lua_setfield( L, -2, name );

Referenced by luaopen_net().


Function Documentation

void luaopen_net ( lua_State L  ) 

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_close ( lua_State L  )  [static]

References net_Close.

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]

References net_ListenClose().

Referenced by vlclua_net_listen_tcp().

static int vlclua_net_listen_tcp ( lua_State L  )  [static]

static int vlclua_net_poll ( lua_State L  )  [static]

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]


Variable Documentation

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().


Generated on Tue May 25 08:05:26 2010 for VLC by  doxygen 1.5.6