Definicje |
#define | _XOPEN_SOURCE 600 |
#define | __EXTENSIONS__ |
#define | s(x) ((tmpstruct *) x) |
#define | NEXT_ARG(y) temp->argv_type[temp->argc] = y; temp->argc++; |
Funkcje |
static | LIST_FREE_ITEM (list_script_free, script_t *) |
| DYNSTUFF_LIST_DECLARE (scripts, script_t, list_script_free, static __DYNSTUFF_LIST_ADD, static __DYNSTUFF_LIST_REMOVE_SAFE, __DYNSTUFF_NODESTROY) scriptlang_t *scriptlang |
| DYNSTUFF_LIST_DECLARE_NF (scriptlang, scriptlang_t, static __DYNSTUFF_LIST_ADD, static __DYNSTUFF_LIST_UNLINK) static list_t script_timers |
static int | script_command_handlers (const char *name, const char **params, session_t *session, const char *target, int quiet) |
static int | script_timer_handlers (int type, void *data) |
static void | script_var_changed (const char *var) |
static int | script_query_handlers (void *data, va_list ap) |
static int | script_handle_watch (int type, int fd, watch_type_t watch, void *data) |
static int | script_plugin_theme_init () |
static int | scripts_autoload (scriptlang_t *scr) |
static char * | script_find_path (const char *name) |
scriptlang_t * | scriptlang_from_ext (char *name) |
int | scriptlang_register (scriptlang_t *s) |
int | scriptlang_unregister (scriptlang_t *s) |
int | script_autorun (char *scriptname, int isautorun) |
int | script_reset (scriptlang_t *scr) |
int | script_list (scriptlang_t *s) |
int | script_var_list (script_t *scr) |
int | script_unload (script_t *scr) |
script_t * | script_find (scriptlang_t *s, char *name) |
int | script_unload_name (scriptlang_t *s, char *name) |
int | script_unload_lang (scriptlang_t *s) |
int | script_load (scriptlang_t *s, char *tname) |
int | script_variables_read () |
int | script_variables_free (int free) |
int | script_variables_write () |
script_command_t * | script_command_find (const char *name) |
script_var_t * | script_var_find (const char *name) |
int | script_command_unbind (script_command_t *temp, int free) |
int | script_query_unbind (script_query_t *temp, int free) |
int | script_plugin_destroy () |
int | script_timer_unbind (script_timer_t *temp, int remove) |
int | script_watch_unbind (script_watch_t *temp, int remove) |
int | script_var_unbind (script_var_t *temp, int free) |
script_var_t * | script_var_add (scriptlang_t *s, script_t *scr, char *name, char *value, void *handler) |
script_command_t * | script_command_bind (scriptlang_t *s, script_t *scr, char *command, char *params, char *possibilities, void *handler) |
script_plugin_t * | script_plugin_init (scriptlang_t *s, script_t *scr, char *name, plugin_class_t pclass, void *handler) |
script_timer_t * | script_timer_bind (scriptlang_t *s, script_t *scr, int freq, void *handler) |
script_watch_t * | script_watch_add (scriptlang_t *s, script_t *scr, int fd, int type, void *handler, void *data) |
script_query_t * | script_query_bind (scriptlang_t *s, script_t *scr, char *qname, void *handler) |
static int | scripts_loaddir (scriptlang_t *s, const char *path) |
int | cmd_script (const char *name, const char **params, session_t *session, const char *target, int quiet) |
int | scripts_init () |
Zmienne |
script_t * | scripts |
static list_t | script_plugins |
static list_t | script_vars |
static list_t | script_queries |
static list_t | script_commands |
static list_t | script_watches |