source: doc/example_plugin.c

Last change on this file was 5ebff60, checked in by dequis <dx@…>, at 2015-02-20T22:50:54Z

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

  • Property mode set to 100644
File size: 356 bytes
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 -shared example.c `pkg-config --cflags bitlbee`
6 * cp /usr/local/lib/bitlbee
7 */
8#include <stdio.h>
9#include <bitlbee.h>
11void init_plugin(void)
13        printf("I am a BitlBee plugin!\n");
Note: See TracBrowser for help on using the repository browser.