00001
00002
00003
00004
00005
00006
00007
00008 #include "config.h"
00009
00010 #ifndef LUABUNDLECORE_H_
00011 #define LUABUNDLECORE_H_
00012
00013 #ifdef HAVE_LIBLUA5_1
00014
00015 #include "utils/Luna.h"
00016
00017 namespace dtn
00018 {
00019 namespace lua
00020 {
00021 class LuaBundleCore
00022 {
00023 public:
00024 LuaBundleCore(lua_State *L);
00025 ~LuaBundleCore();
00026
00027 int setLocalURI(lua_State *L);
00028 int setLocalisation(lua_State *L);
00029 int addConvergenceLayer(lua_State *L);
00030 int addStaticRoute(lua_State *L);
00031 int addConnection(lua_State *L);
00032 int setStorage(lua_State *L);
00033
00034 int startup(lua_State *L);
00035 int shutdown(lua_State *L);
00036
00037 static const char className[];
00038 static const Luna<LuaBundleCore>::RegType Register[];
00039 };
00040 }
00041 }
00042
00043 #endif
00044
00045 #endif