diff options
author | Christian Pointner <equinox@helsinki.at> | 2013-09-16 14:56:54 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2013-09-16 14:56:54 (GMT) |
commit | 4dbc730656002f93cbbc0824e4b2d46d1ede6983 (patch) | |
tree | 3a21f56519155a35d75d6ff5dbf548a7b4c65cb2 /l_sig_handler.c | |
parent | 6aef19e1b31044795ecd2d356315ad5506a292a2 (diff) |
licence updates
Diffstat (limited to 'l_sig_handler.c')
-rw-r--r-- | l_sig_handler.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/l_sig_handler.c b/l_sig_handler.c index 0bdcffc..1be30ce 100644 --- a/l_sig_handler.c +++ b/l_sig_handler.c @@ -1,14 +1,14 @@ /* * anylike * - * anylike is an IKEv2 Implementation written in Lua and C. It's main - * design goal is to provide anytun and uanytun or any other SATP - * implementation with a key exchange mechanism but it should also be - * possible to use anylike as key exchange daemon for IPSec security - * associations. The use of Lua guarantees that anylike is easily - * portable to many platforms including very small ones like wireless + * anylike is an IKEv2 Implementation written in Lua and C. It's main + * design goal is to provide anytun and uanytun or any other SATP + * implementation with a key exchange mechanism but it should also be + * possible to use anylike as key exchange daemon for IPSec security + * associations. The use of Lua guarantees that anylike is easily + * portable to many platforms including very small ones like wireless * routers. - * + * * * Copyright (C) 2009-2010 Markus Grueneis <gimpf@anylike.org> * Christian Pointner <equinox@anylike.org> @@ -42,7 +42,7 @@ static int l_signal_getfd(lua_State *L) luaL_error(L, "can't retreive signal fd"); lua_pushliteral(L, "fd"); - lua_gettable(L, -2); + lua_gettable(L, -2); return 1; } @@ -85,14 +85,14 @@ static int l_signal_handle(lua_State *L) } static const struct luaL_reg signal_funcs [] = { - { "init", l_signal_init }, - { "stop", l_signal_stop }, + { "init", l_signal_init }, + { "stop", l_signal_stop }, { "handle", l_signal_handle }, { NULL, NULL } }; -LUALIB_API int luaopen_signal(lua_State *L) +LUALIB_API int luaopen_signal(lua_State *L) { luaL_register(L, LUA_SIGNALLIBNAME, signal_funcs); return 1; |