navit
0.5.1-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 (void) |
struct plugin * | plugin_new (struct attr *parent, struct attr **attrs) |
void | 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 |
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().
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, find_by_name(), list, lvl_debug, 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().
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::plugins, attr::str, attr::u, and file_wordexp::we.
Referenced by add_plugin().
|
static |
References plugin::name.
Referenced by plugin_new().
References active, and plugin::active.
Referenced by plugin_get_category(), plugin_new(), and plugins_init().
References plugin::lazy.
Referenced by plugin_new().
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, plugin_destroy(), and plugin_unload().
void plugins_init | ( | struct plugins * | pls | ) |
References dbg, list, lvl_error, plugin_call_init(), plugin_get_active(), plugin_load(), and plugin_set_active().
Referenced by maptool_init().
struct plugins* plugins_new | ( | void | ) |
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(), and plugins_new().