Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/otr.h @ 1301:37b41ed9ed35
Fixed compiler warnings
author | Frank Zschockelt <mcabber_otr[at]freakysoft.de> |
---|---|
date | Thu, 30 Aug 2007 02:49:36 +0200 |
parents | 3b338a5c01fc |
children |
comparison
equal
deleted
inserted
replaced
1300:0d4a1699accb | 1301:37b41ed9ed35 |
---|---|
3 | 3 |
4 #ifdef HAVE_LIBOTR | 4 #ifdef HAVE_LIBOTR |
5 | 5 |
6 #include <libotr/proto.h> | 6 #include <libotr/proto.h> |
7 #include <libotr/message.h> | 7 #include <libotr/message.h> |
8 #include <libotr/privkey.h> | |
8 | 9 |
9 enum otr_policy { | 10 enum otr_policy { |
10 plain, | 11 plain, |
11 opportunistic, | 12 opportunistic, |
12 manual, | 13 manual, |
13 always | 14 always |
14 }; | 15 }; |
15 | 16 |
16 int otr_init(const char *jid); | 17 void otr_init(const char *jid); |
17 void otr_terminate(void); | 18 void otr_terminate(void); |
18 | 19 |
19 void otr_establish (const char * buddy); | 20 void otr_establish (const char * buddy); |
20 void otr_disconnect (const char * buddy); | 21 void otr_disconnect (const char * buddy); |
21 void otr_fingerprint(const char * buddy, const char * trust); | 22 void otr_fingerprint(const char * buddy, const char * trust); |