src/lua_config.h
author Tero Marttila <terom@fixme.fi>
Thu, 21 May 2009 16:57:28 +0300
changeset 212 ddc79529a1e0
parent 106 f00661136ac2
child 217 7728d6ec3abf
permissions -rw-r--r--
add a console_callbacks::on_interrupt callback triggered by SIGINT while waiting
#ifndef LUA_CONFIG_H
#define LUA_CONFIG_H

/**
 * @file
 *
 * Read a lua configuration file into a nexus_lua state
 */
#include "error.h"
#include "nexus_lua.h"

/**
 * Load a lua config file at the given path into the nexus's lua state.
 *
 * Path can also be given as NULL to load from stdin.
 */
err_t lua_config_load (struct nexus_lua *lua, const char *path, struct error_info *err);

#endif /* LUA_CONFIG_H */