summaryrefslogtreecommitdiff
path: root/navit/plugin.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-27 15:58:27 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-27 15:58:27 +0000
commit2d931e8310372023a069ba5499b954f9ae54d206 (patch)
tree36d5f8e215140a1fc7d0225a0f357995c81d75d4 /navit/plugin.h
parent8e93295b3b9e42934839ba412cf1df7af3f4b1b3 (diff)
downloadnavit-2d931e8310372023a069ba5499b954f9ae54d206.tar.gz
Fix:Core:Further cleanups
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1580 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/plugin.h')
-rw-r--r--navit/plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/navit/plugin.h b/navit/plugin.h
index 6116f732e..4182bd362 100644
--- a/navit/plugin.h
+++ b/navit/plugin.h
@@ -136,7 +136,6 @@ struct attr;
/* prototypes */
void plugin_init(void);
-struct plugin *plugin_new(char *plugin);
int plugin_load(struct plugin *pl);
char *plugin_get_name(struct plugin *pl);
int plugin_get_active(struct plugin *pl);
@@ -146,7 +145,7 @@ void plugin_call_init(struct plugin *pl);
void plugin_unload(struct plugin *pl);
void plugin_destroy(struct plugin *pl);
struct plugins *plugins_new(void);
-void plugins_add_path(struct plugins *pls, struct attr ** attrs);
+struct plugin *plugin_new(struct attr *parent, struct attr ** attrs);
void plugins_init(struct plugins *pls);
void plugins_destroy(struct plugins *pls);
void *plugin_get_type(enum plugin_type type, const char *type_name, const char *name);