annotate mcabber/mcabber/api.h @ 1984:b0470ef8669b

XEP 184: don't send receipts to buddies that have no presence subscription In order to not leak our presence, do not send message delivery receipts to senders who are not authorized to view our presence. (XEP-0184, section 8)
author Mikael Berthe <mikael@lilotux.net>
date Sun, 27 Mar 2011 12:45:41 +0200
parents 1c684577705e
children ad77110343d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
1 #ifndef __MCABBER_API_H__
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
2 #define __MCABBER_API_H__ 1
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
3
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
4 #include <mcabber/config.h> // For MCABBER_BRANCH
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
5
1981
1c684577705e Update API ChangeLog (v18)
Mikael Berthe <mikael@lilotux.net>
parents: 1952
diff changeset
6 #define MCABBER_API_VERSION 18
1c684577705e Update API ChangeLog (v18)
Mikael Berthe <mikael@lilotux.net>
parents: 1952
diff changeset
7 #define MCABBER_API_MIN 18
1762
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
8
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
9 extern const gchar *mcabber_branch;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
10 extern const guint mcabber_api_version;
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
11
e7ce50fe19a9 Introduce mcabber/api.h
Myhailo Danylenko <isbear@ukrpost.net>
parents:
diff changeset
12 #endif
1811
e6d355e50d7a Update Vim modelines
Mikael Berthe <mikael@lilotux.net>
parents: 1806
diff changeset
13 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users... */