aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example_plugin.c
blob: a33907a8be2de19b44d2903fa7aff0eb2037cfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 
 * This is the most simple possible BitlBee plugin. To use, compile it as 
 * a shared library and place it in the plugin directory: 
 *
 * gcc -o example.so -shared example.c `pkg-config --cflags bitlbee`
 * cp example.so /usr/local/lib/bitlbee
 */
#include <stdio.h>
#include <bitlbee.h>

void init_plugin(void)
{
	printf("I am a BitlBee plugin!\n");
}