plugins/simple.c

Sat, 21 Apr 2001 23:53:06 +0000

author
Decklin Foster <decklin@red-bean.com>
date
Sat, 21 Apr 2001 23:53:06 +0000
changeset 1741
4ee66d726ac7
parent 1489
4465cf08b9b0
child 3551
acce66c34dbd
permissions
-rw-r--r--

[gaim-migrate @ 1751]
thanks decklin :)

committer: Eric Warmenhoven <warmenhoven@yahoo.com>

#define GAIM_PLUGINS

#include <stdio.h>
#include "gaim.h"

static GModule *handle = NULL;

char *gaim_plugin_init(GModule *h) {
	printf("plugin loaded.\n");
	handle = h;
	return NULL;
}

void gaim_plugin_remove() {
	printf("plugin unloaded.\n");
	handle = NULL;
}

void gaim_plugin_config() {
	printf("configuring plugin.\n");
}

char *name() {
	return "Simple Plugin Version 1.0";
}

char *description() {
	return "Tests to see that most things are working.";
}

mercurial