plugins/simple.c

Fri, 15 Mar 2002 20:09:14 +0000

author
Jim Seymour <jseymour@users.sourceforge.net>
date
Fri, 15 Mar 2002 20:09:14 +0000
changeset 3059
bd4d661482f5
parent 1489
4465cf08b9b0
child 3551
acce66c34dbd
permissions
-rw-r--r--

[gaim-migrate @ 3073]
Better support for Jabber resources by Jim Seymour

committer: Sean Egan <seanegan@pidgin.im>

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

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