navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
Plugins

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 pluginplugin_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 pluginsplugins_new (void)
 
struct pluginplugin_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
 
GListplugins::list
 
struct pluginspls
 

Detailed Description

A interface to handle all plugins inside navit.

Function Documentation

static void* find_by_name ( enum plugin_category  category,
const char *  name 
)
static

Referenced by plugin_get_category().

void plugin_call_init ( struct plugin pl)
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 
)
char* plugin_get_name ( struct plugin pl)

References plugin::name.

Referenced by plugin_new().

int plugin_load ( struct plugin pl)
static struct plugin* plugin_new_from_path ( char *  plugin)
static

References plugin::name.

Referenced by plugin_new().

void plugin_set_active ( struct plugin pl,
int  active 
)
void plugin_set_lazy ( struct plugin pl,
int  lazy 
)

References plugin::lazy.

Referenced by plugin_new().

static void plugin_set_ondemand ( struct plugin pl,
int  ondemand 
)
static

References plugin::ondemand.

Referenced by plugin_new().

void plugin_unload ( struct plugin pl)

Referenced by plugins_destroy().

void plugins_destroy ( struct plugins pls)
void plugins_init ( struct plugins pls)
struct plugins* plugins_new ( void  )

References hash, and pls.

Referenced by add_plugin().

Variable Documentation

int plugin::active
GHashTable* plugins::hash
void(* plugin::init)(void)

Referenced by plugin_call_init(), and plugin_load().

int plugin::lazy

Referenced by plugin_load(), and plugin_set_lazy().

int plugin::ondemand

Referenced by plugin_set_ondemand().

struct plugins * pls