From 0c85c08d210e16bb10dc283b4a1478ce53c0c1b1 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 1 Sep 2010 01:18:21 +0200 Subject: Pluginify this thing a little bit. Not so much in the dynamically loadable sense of the word, more in a way that core files don't have to include otr.h. --- otr.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'otr.h') diff --git a/otr.h b/otr.h index c0c06e76..c18d12af 100644 --- a/otr.h +++ b/otr.h @@ -71,10 +71,6 @@ typedef struct otr { /* called from main() */ void otr_init(void); -/* called from irc_new()/irc_free() */ -otr_t *otr_new(); -void otr_free(otr_t *otr); - /* called by storage_* functions */ void otr_load(struct irc *irc); void otr_save(struct irc *irc); @@ -97,8 +93,6 @@ int otr_send_message(struct im_connection *ic, const char *handle, const char *m typedef void otr_t; typedef void *OtrlMessageAppOps; -#define otr_init() {} -#define otr_new() (NULL) #define otr_free(otr) {} #define otr_load(irc) {} #define otr_save(irc) {} -- cgit v1.2.3