comparison plugins/simple.c @ 1047:ece2d1543b20

[gaim-migrate @ 1057] Plugins now use GModule. Protocol plugins can be dynamically updated. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 01 Nov 2000 22:30:36 +0000
parents f7c6366ca703
children 5f5dae3b227d
comparison
equal deleted inserted replaced
1046:4593605da0e2 1047:ece2d1543b20
1 #define GAIM_PLUGINS 1 #define GAIM_PLUGINS
2 2
3 #include <stdio.h> 3 #include <stdio.h>
4 #include "gaim.h" 4 #include "gaim.h"
5 5
6 static void *handle = NULL; 6 static GModule *handle = NULL;
7 7
8 void gaim_plugin_init(void *h) { 8 char *gaim_plugin_init(GModule *h) {
9 printf("plugin loaded.\n"); 9 printf("plugin loaded.\n");
10 handle = h; 10 handle = h;
11 } 11 }
12 12
13 void gaim_plugin_remove() { 13 void gaim_plugin_remove() {