plugins/simple.c

Fri, 19 Jan 2001 09:11:16 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Fri, 19 Jan 2001 09:11:16 +0000
changeset 1415
e851476edab1
parent 1047
783f8520d9a0
child 1489
4465cf08b9b0
permissions
-rw-r--r--

[gaim-migrate @ 1425]
woo hoo

#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