diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-01 23:09:27 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-09-01 23:09:27 +0100 |
commit | 934db064a58ebec2edea83df4fa07e2c83220344 (patch) | |
tree | b7a4aac7deff47cc743102dcb2bd8ded426c8bcd /otr.h | |
parent | 0c85c08d210e16bb10dc283b4a1478ce53c0c1b1 (diff) |
Do encryption and decryption. Somehow SMP and other things aren't working
so well yet, at least when testing with Pidgin on the other side. Not sure
where the bug is.
Diffstat (limited to 'otr.h')
-rw-r--r-- | otr.h | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -40,7 +40,6 @@ struct im_connection; struct account; -#ifdef WITH_OTR #include <libotr/proto.h> #include <libotr/message.h> #include <libotr/privkey.h> @@ -80,29 +79,4 @@ void otr_rename(const char *onick, const char *nnick); /* called from account_add() */ int otr_check_for_key(struct account *a); -/* called from imcb_buddy_msg() */ -char *otr_handle_message(struct im_connection *ic, const char *handle, - const char *msg); - -/* called from imc_buddy_msg() */ -int otr_send_message(struct im_connection *ic, const char *handle, const char *msg, - int flags); - -#else - -typedef void otr_t; -typedef void *OtrlMessageAppOps; - -#define otr_free(otr) {} -#define otr_load(irc) {} -#define otr_save(irc) {} -#define otr_remove(nick) {} -#define otr_rename(onick,nnick) {} -#define otr_check_for_key(acc) (0) -#define otr_handle_message(ic,handle,msg) (g_strdup(msg)) -#define otr_send_message(ic,h,m,f) (ic->acc->prpl->buddy_msg(ic,h,m,f)) - -void cmd_otr_nosupport(void *, char **); - -#endif #endif |