File: example_plugin.c

package info (click to toggle)
bitlbee 3.2.2-2%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd-proposed-updates
  • size: 3,424 kB
  • sloc: ansic: 46,362; xml: 2,118; sh: 792; python: 648; makefile: 545; perl: 41
file content (14 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (5)
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");
}