src/lua_config.h
changeset 106 f00661136ac2
child 217 7728d6ec3abf
equal deleted inserted replaced
105:b6b183fbf373 106:f00661136ac2
       
     1 #ifndef LUA_CONFIG_H
       
     2 #define LUA_CONFIG_H
       
     3 
       
     4 /**
       
     5  * @file
       
     6  *
       
     7  * Read a lua configuration file into a nexus_lua state
       
     8  */
       
     9 #include "error.h"
       
    10 #include "nexus_lua.h"
       
    11 
       
    12 /**
       
    13  * Load a lua config file at the given path into the nexus's lua state.
       
    14  *
       
    15  * Path can also be given as NULL to load from stdin.
       
    16  */
       
    17 err_t lua_config_load (struct nexus_lua *lua, const char *path, struct error_info *err);
       
    18 
       
    19 #endif /* LUA_CONFIG_H */