source: doc/example_plugin.c @ d1d6776

Last change on this file since d1d6776 was f7f3ada, checked in by Jelmer Vernooij <jelmer@…>, at 2005-11-07T16:19:24Z

Add very simple example plugin

  • Property mode set to 100644
File size: 308 bytes
Line 
1/*
2 * This is the most simple possible BitlBee plugin. To use, compile it as
3 * a shared library and place it in the plugin directory:
4 *
5 * gcc -o example.so -shared example.c
6 * cp example.so /usr/local/lib/bitlbee
7 */
8#include <stdio.h>
9
10void init_plugin(void)
11{
12        printf("I am a BitlBee plugin!\n");
13}
Note: See TracBrowser for help on using the repository browser.