|
navit
0.5.3-trunk
|
A interface to handle all plugins inside navit. More...
Modules | |
| vehicle plugins | |
| Generic components of the vehicle object. | |
Data Structures | |
| struct | plugin |
| struct | plugins |
Functions | |
| static struct plugin * | plugin_new_from_path (char *plugin) |
| int | plugin_load (struct plugin *pl) |
| char * | plugin_get_name (struct plugin *pl) |
| int | plugin_get_active (struct plugin *pl) |
| void | plugin_set_active (struct plugin *pl, int active) |
| void | plugin_set_lazy (struct plugin *pl, int lazy) |
| static void | plugin_set_ondemand (struct plugin *pl, int ondemand) |
| void | plugin_call_init (struct plugin *pl) |
| void | plugin_unload (struct plugin *pl) |
| void | plugin_destroy (struct plugin *pl) |
| struct plugins * | plugins_new (struct attr *in, struct attr **out) |
| struct plugin * | plugin_new (struct attr *parent, struct attr **attrs) |
| int | plugins_init (struct plugins *pls) |
| void | plugins_destroy (struct plugins *pls) |
| static void * | find_by_name (enum plugin_category category, const char *name) |
| void * | plugin_get_category (enum plugin_category category, const char *category_name, const char *name) |
Variables | |
| int | plugin::active |
| int | plugin::lazy |
| int | plugin::ondemand |
| char * | plugin::name |
| void(* | plugin::init )(void) |
| GHashTable * | plugins::hash |
| GList * | plugins::list |
| struct plugins * | pls |
A interface to handle all plugins inside navit.
|
static |
References name.
Referenced by plugin_get_category().
| void plugin_call_init | ( | struct plugin * | pl | ) |
References plugin::init.
Referenced by plugin_get_category(), plugin_new(), and plugins_init().
| void plugin_destroy | ( | struct plugin * | pl | ) |
Referenced by plugins_destroy().
| int plugin_get_active | ( | struct plugin * | pl | ) |
References plugin::active.
Referenced by plugin_get_category(), and plugins_init().
| void* plugin_get_category | ( | enum plugin_category | category, |
| const char * | category_name, | ||
| const char * | name | ||
| ) |
References dbg, filename, find_by_name(), list, lvl_debug, name, plugin::name, pls, plugin_call_init(), plugin_get_active(), plugin_load(), and plugin_set_active().
| char* plugin_get_name | ( | struct plugin * | pl | ) |
References plugin::name.
Referenced by plugin_new().
| int plugin_load | ( | struct plugin * | pl | ) |
References dbg, plugin::init, plugin::lazy, lvl_debug, lvl_error, and plugin::name.
Referenced by plugin_get_category(), plugin_new(), and plugins_init().
References active, attr_search(), dbg, file_exists(), file_wordexp_destroy(), file_wordexp_get_array(), file_wordexp_get_count(), file_wordexp_new(), hash, list, lvl_debug, lvl_error, lvl_info, name, attr::num, pls, plugin_call_init(), plugin_get_name(), plugin_load(), plugin_new_from_path(), plugin_set_active(), plugin_set_lazy(), plugin_set_ondemand(), attr::str, attr::u, and file_wordexp::we.
Referenced by add_plugin().
|
static |
References plugin::name.
Referenced by plugin_new().
| void plugin_set_active | ( | struct plugin * | pl, |
| int | active | ||
| ) |
References plugin::active, and active.
Referenced by plugin_get_category(), plugin_new(), and plugins_init().
| void plugin_set_lazy | ( | struct plugin * | pl, |
| int | lazy | ||
| ) |
References plugin::lazy.
Referenced by plugin_new().
|
static |
References plugin::ondemand.
Referenced by plugin_new().
| void plugin_unload | ( | struct plugin * | pl | ) |
Referenced by plugins_destroy().
| void plugins_destroy | ( | struct plugins * | pls | ) |
References hash, list, pls, plugin_destroy(), and plugin_unload().
| int plugins_init | ( | struct plugins * | pls | ) |
References dbg, list, lvl_error, pls, plugin_call_init(), plugin_get_active(), plugin_load(), and plugin_set_active().
Referenced by maptool_init().
Referenced by add_plugin().
| int plugin::active |
Referenced by plugin_get_active(), and plugin_set_active().
| GHashTable* plugins::hash |
Referenced by plugin_new(), plugins_destroy(), and plugins_new().
| void(* plugin::init) (void) |
Referenced by plugin_call_init(), and plugin_load().
| int plugin::lazy |
Referenced by plugin_load(), and plugin_set_lazy().
| GList* plugins::list |
Referenced by plugin_get_category(), plugin_new(), plugins_destroy(), and plugins_init().
| char* plugin::name |
Referenced by plugin_get_category(), plugin_get_name(), plugin_load(), and plugin_new_from_path().
| int plugin::ondemand |
Referenced by plugin_set_ondemand().
| struct plugins * pls |
Referenced by plugin_get_category(), plugin_new(), plugins_destroy(), plugins_init(), and plugins_new().