plugins/simple.c

Mon, 18 Sep 2000 19:13:27 +0000

author
Rob Flynn <gaim@robflynn.com>
date
Mon, 18 Sep 2000 19:13:27 +0000
changeset 928
ab8804a6ef0d
parent 110
ca79cce0ea62
child 1047
783f8520d9a0
permissions
-rw-r--r--

[gaim-migrate @ 938]
Yo

#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