comparison src/module.c @ 3466:7a3f16a375a5

[gaim-migrate @ 3516] some patches from some people. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 29 Aug 2002 01:47:15 +0000
parents c11960537fee
children e23909729192
comparison
equal deleted inserted replaced
3465:ec437d73b2ee 3466:7a3f16a375a5
55 55
56 char *last_dir = NULL; 56 char *last_dir = NULL;
57 57
58 /* --------------- Function Declarations --------------------- */ 58 /* --------------- Function Declarations --------------------- */
59 59
60 struct gaim_plugin * load_plugin(char *); 60 struct gaim_plugin * load_plugin(const char *);
61 void unload_plugin(struct gaim_plugin *p); 61 void unload_plugin(struct gaim_plugin *p);
62 struct gaim_plugin *reload_plugin(struct gaim_plugin *p); 62 struct gaim_plugin *reload_plugin(struct gaim_plugin *p);
63 63
64 void gaim_signal_connect(GModule *, enum gaim_event, void *, void *); 64 void gaim_signal_connect(GModule *, enum gaim_event, void *, void *);
65 void gaim_signal_disconnect(GModule *, enum gaim_event, void *); 65 void gaim_signal_disconnect(GModule *, enum gaim_event, void *);
69 69
70 static void plugin_remove_callbacks(GModule *); 70 static void plugin_remove_callbacks(GModule *);
71 71
72 /* ------------------ Code Below ---------------------------- */ 72 /* ------------------ Code Below ---------------------------- */
73 73
74 struct gaim_plugin *load_plugin(char *filename) 74 struct gaim_plugin *load_plugin(const char *filename)
75 { 75 {
76 struct gaim_plugin *plug; 76 struct gaim_plugin *plug;
77 GList *c = plugins; 77 GList *c = plugins;
78 char *(*gaim_plugin_init)(GModule *); 78 char *(*gaim_plugin_init)(GModule *);
79 char *(*cfunc)(); 79 char *(*cfunc)();