plugins/simple.c

Wed, 31 May 2000 22:48:49 +0000

author
Rob Flynn <gaim@robflynn.com>
date
Wed, 31 May 2000 22:48:49 +0000
changeset 293
4d1b1b230d6f
parent 110
ca79cce0ea62
child 1047
783f8520d9a0
permissions
-rw-r--r--

[gaim-migrate @ 303]
Here we go, 0.9.17 :-)

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

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