src/t_enc_l.c
int
luaopen_t_enc( lua_State *L )
{
	luaL_newlib( L, t_enc_cf );
	luaopen_t_enc_rc4( L );
	lua_setfield( L, -2, T_ENC_RC4_IDNT );
	luaopen_t_enc_crc( L );
	lua_setfield( L, -2, T_ENC_CRC_IDNT );
	luaopen_t_enc_b64( L );
	lua_setfield( L, -2, T_ENC_B64_IDNT );
	lua_pushcfunction( L, lt_enc_crypt );
	lua_setfield( L, -2, "crypt" );
	return 1;
}
/** -------------------------------------------------------------------------
 * Export the t_enc libray to Lua
 * \param   L   The Lua state.
 * \return  int # of values pushed onto the stack.
 *-------------------------------------------------------------------------*/
Export the t_enc libray to Lua
\param   L   The Lua state.
\return  int # of values pushed onto the stack.
Export the t_enc libray to Lua \ param L The Lua state . \ return int # of values pushed onto the stack .
int
luaopen_t_enc( lua_State *L )
{
	luaL_newlib( L, t_enc_cf );
	luaopen_t_enc_rc4( L );
	lua_setfield( L, -2, T_ENC_RC4_IDNT );
	luaopen_t_enc_crc( L );
	lua_setfield( L, -2, T_ENC_CRC_IDNT );
	luaopen_t_enc_b64( L );
	lua_setfield( L, -2, T_ENC_B64_IDNT );
	lua_pushcfunction( L, lt_enc_crypt );
	lua_setfield( L, -2, "crypt" );
	return 1;
}
int luaopen_t_enc ( lua_State * L ) { luaL_newlib ( L , t_enc_cf ) ; luaopen_t_enc_rc4 ( L ) ; lua_setfield ( L , -2 , T_ENC_RC4_IDNT ) ; luaopen_t_enc_crc ( L ) ; lua_setfield ( L , -2 , T_ENC_CRC_IDNT ) ; luaopen_t_enc_b64 ( L ) ; lua_setfield ( L , -2 , T_ENC_B64_IDNT ) ; lua_pushcfunction ( L , lt_enc_crypt ) ; lua_setfield ( L , -2 , " " ) ; return 1 ; }
Export the t_enc libray to Lua
 \param   L   The Lua state.
Export the t_enc libray to Lua \ param L The Lua state .