plugins/simple.c

Sat, 13 Jan 2001 09:05:41 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Sat, 13 Jan 2001 09:05:41 +0000
changeset 1406
45a8e718dd86
parent 1047
783f8520d9a0
child 1489
4465cf08b9b0
permissions
-rw-r--r--

[gaim-migrate @ 1416]
bah

#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;
}

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