Mercurial > pidgin
comparison libpurple/privacy.h @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 02 Jun 2012 02:30:49 +0000 |
parents | 98520ee78f12 |
children |
comparison
equal
deleted
inserted
replaced
32818:01ff09d4a463 | 32819:2c6510167895 |
---|---|
27 #define _PURPLE_PRIVACY_H_ | 27 #define _PURPLE_PRIVACY_H_ |
28 | 28 |
29 /** | 29 /** |
30 * Privacy data types. | 30 * Privacy data types. |
31 */ | 31 */ |
32 typedef enum _PurplePrivacyType | 32 typedef enum |
33 { | 33 { |
34 PURPLE_PRIVACY_ALLOW_ALL = 1, | 34 PURPLE_PRIVACY_ALLOW_ALL = 1, |
35 PURPLE_PRIVACY_DENY_ALL, | 35 PURPLE_PRIVACY_DENY_ALL, |
36 PURPLE_PRIVACY_ALLOW_USERS, | 36 PURPLE_PRIVACY_ALLOW_USERS, |
37 PURPLE_PRIVACY_DENY_USERS, | 37 PURPLE_PRIVACY_DENY_USERS, |
38 PURPLE_PRIVACY_ALLOW_BUDDYLIST | 38 PURPLE_PRIVACY_ALLOW_BUDDYLIST |
39 } PurplePrivacyType; | 39 } PurplePrivacyType; |
40 | 40 |
41 #include "account.h" | 41 #include "account.h" |
42 | |
43 #ifdef __cplusplus | |
44 extern "C" { | |
45 #endif | |
46 | 42 |
47 /** | 43 /** |
48 * Privacy core/UI operations. | 44 * Privacy core/UI operations. |
49 */ | 45 */ |
50 typedef struct | 46 typedef struct |
57 void (*_purple_reserved1)(void); | 53 void (*_purple_reserved1)(void); |
58 void (*_purple_reserved2)(void); | 54 void (*_purple_reserved2)(void); |
59 void (*_purple_reserved3)(void); | 55 void (*_purple_reserved3)(void); |
60 void (*_purple_reserved4)(void); | 56 void (*_purple_reserved4)(void); |
61 } PurplePrivacyUiOps; | 57 } PurplePrivacyUiOps; |
58 | |
59 G_BEGIN_DECLS | |
62 | 60 |
63 /** | 61 /** |
64 * Adds a user to the account's permit list. | 62 * Adds a user to the account's permit list. |
65 * | 63 * |
66 * @param account The account. | 64 * @param account The account. |
185 /** | 183 /** |
186 * Initializes the privacy subsystem. | 184 * Initializes the privacy subsystem. |
187 */ | 185 */ |
188 void purple_privacy_init(void); | 186 void purple_privacy_init(void); |
189 | 187 |
190 #ifdef __cplusplus | 188 G_END_DECLS |
191 } | |
192 #endif | |
193 | 189 |
194 #endif /* _PURPLE_PRIVACY_H_ */ | 190 #endif /* _PURPLE_PRIVACY_H_ */ |