Added C plugin code from plugins branch

This commit is contained in:
James Booth
2016-02-14 22:28:55 +00:00
parent f887a35c0c
commit 41fe8c22b1
70 changed files with 2668 additions and 287 deletions

View File

@@ -6,9 +6,9 @@
#include <string.h>
#include <glib.h>
#include "config.h"
#include "prof_config.h"
#ifdef HAVE_LIBOTR
#ifdef PROF_HAVE_LIBOTR
#include <libotr/proto.h>
#include "otr/otr.h"
#endif
@@ -24,7 +24,7 @@
#define CMD_OTR "/otr"
#ifdef HAVE_LIBOTR
#ifdef PROF_HAVE_LIBOTR
void cmd_otr_shows_usage_when_no_args(void **state)
{
gchar *args[] = { NULL };