35 const char *filename);
bool script_server_unsafe_do_string(struct connection *caller, const char *str)
Parse and execute the script in str in an unsafe instance.
void script_server_signal_emit(const char *signal_name,...)
Invoke all the callback functions attached to a given signal.
bool script_server_init()
Initialize the scripting state.
bool script_server_do_string(struct connection *caller, const char *str)
Parse and execute the script in str in the same instance as the ruleset.
bool script_server_call(const char *func_name,...)
Call a lua function.
void script_server_state_save(struct section_file *file)
Save the scripting state to file.
void script_server_free()
Free the scripting data.
void script_server_state_load(struct section_file *file)
Load the scripting state from file.
void script_server_remove_exported_object(void *object)
Mark any, if exported, full userdata representing 'object' in the current script state as 'Nonexisten...
bool script_server_unsafe_do_file(struct connection *caller, const char *filename)
Parse and execute the script at filename in an unsafe instance.
bool script_server_load_file(const char *filename, char **buf)
Load script to a buffer.
bool script_server_do_file(struct connection *caller, const char *filename)
Parse and execute the script at filename in the same instance as the ruleset.