view plugins/simple.c @ 105:c76d4c0c5e3a

[gaim-migrate @ 115] Start of a plugin to let you check your email committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Wed, 12 Apr 2000 06:46:38 +0000
parents 9f6ce50ffb78
children f7c6366ca703
line wrap: on
line source

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

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

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