Mercurial > pidgin
view plugins/simple.c @ 100:da0883dfa7db
[gaim-migrate @ 110]
More ideas for plugins
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 09 Apr 2000 20:48:48 +0000 |
| parents | 9f6ce50ffb78 |
| children | f7c6366ca703 |
line wrap: on
line source
#define GAIM_PLUGINS #include <stdio.h> #include "gaim.h" static void *handle = NULL; void gaim_plugin_init(void *h) { printf("plugin loaded.\n"); handle = h; } void gaim_plugin_remove() { printf("plugin unloaded.\n"); handle = NULL; } char *name() { return "Simple Plugin Version 1.0"; } char *description() { return "Tests to see that most things are working."; }
