Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/api.h @ 2213:0c78d31c753d
Change otr_send() prototype
This patch updates otr_send() in order to differenciate original and
encrypted messages.
It should also fix a memory leak of OTR-encrypted messages.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 05 Nov 2015 19:46:09 +0100 |
parents | ccd4ffa41a1b |
children | d703d6b42b32 |
comparison
equal
deleted
inserted
replaced
2212:778280b01bcb | 2213:0c78d31c753d |
---|---|
2 #define __MCABBER_API_H__ 1 | 2 #define __MCABBER_API_H__ 1 |
3 | 3 |
4 #include <glib.h> | 4 #include <glib.h> |
5 #include <mcabber/config.h> // For MCABBER_BRANCH | 5 #include <mcabber/config.h> // For MCABBER_BRANCH |
6 | 6 |
7 #define MCABBER_API_VERSION 40 | 7 #define MCABBER_API_VERSION 41 |
8 #define MCABBER_API_MIN 38 | 8 #define MCABBER_API_MIN 41 |
9 | 9 |
10 #define MCABBER_BRANCH_DEV 1 | 10 #define MCABBER_BRANCH_DEV 1 |
11 | 11 |
12 // cmd_add returns gpointer id | 12 // cmd_add returns gpointer id |
13 #define MCABBER_API_HAVE_CMD_ID 1 | 13 #define MCABBER_API_HAVE_CMD_ID 1 |