Mercurial > pidgin
comparison src/privacy.h @ 6378:01289157fc37
[gaim-migrate @ 6883]
This solves the problem of 50 billion dialogs on your screen and server
requests to re-authorize or re-deny everybody on every privacy list in your
protocol. "Oops."
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 05 Aug 2003 18:59:57 +0000 |
parents | 8f94cce8faa5 |
children | 31c0a9adc1a4 |
comparison
equal
deleted
inserted
replaced
6377:8cbf38789734 | 6378:01289157fc37 |
---|---|
42 } GaimPrivacyUiOps; | 42 } GaimPrivacyUiOps; |
43 | 43 |
44 /** | 44 /** |
45 * Adds a user to the account's permit list. | 45 * Adds a user to the account's permit list. |
46 * | 46 * |
47 * @param account The account. | 47 * @param account The account. |
48 * @Param name The name of the user to add to the list. | 48 * @Param name The name of the user to add to the list. |
49 * @param local_only If TRUE, only the local list is updated, and not | |
50 * the server. | |
49 * | 51 * |
50 * @return TRUE if the user was added successfully, or @c FALSE otherwise. | 52 * @return TRUE if the user was added successfully, or @c FALSE otherwise. |
51 */ | 53 */ |
52 gboolean gaim_privacy_permit_add(GaimAccount *account, const char *name); | 54 gboolean gaim_privacy_permit_add(GaimAccount *account, const char *name, |
55 gboolean local_only); | |
53 | 56 |
54 /** | 57 /** |
55 * Removes a user from the account's permit list. | 58 * Removes a user from the account's permit list. |
56 * | 59 * |
57 * @param account The account. | 60 * @param account The account. |
58 * @Param name The name of the user to add to the list. | 61 * @Param name The name of the user to add to the list. |
62 * @param local_only If TRUE, only the local list is updated, and not | |
63 * the server. | |
59 * | 64 * |
60 * @return TRUE if the user was removed successfully, or @c FALSE otherwise. | 65 * @return TRUE if the user was removed successfully, or @c FALSE otherwise. |
61 */ | 66 */ |
62 gboolean gaim_privacy_permit_remove(GaimAccount *account, const char *name); | 67 gboolean gaim_privacy_permit_remove(GaimAccount *account, const char *name, |
68 gboolean local_only); | |
63 | 69 |
64 /** | 70 /** |
65 * Adds a user to the account's deny list. | 71 * Adds a user to the account's deny list. |
66 * | 72 * |
67 * @param account The account. | 73 * @param account The account. |
68 * @Param name The name of the user to add to the list. | 74 * @Param name The name of the user to add to the list. |
75 * @param local_only If TRUE, only the local list is updated, and not | |
76 * the server. | |
69 * | 77 * |
70 * @return TRUE if the user was added successfully, or @c FALSE otherwise. | 78 * @return TRUE if the user was added successfully, or @c FALSE otherwise. |
71 */ | 79 */ |
72 gboolean gaim_privacy_deny_add(GaimAccount *account, const char *name); | 80 gboolean gaim_privacy_deny_add(GaimAccount *account, const char *name, |
81 gboolean local_only); | |
73 | 82 |
74 /** | 83 /** |
75 * Removes a user from the account's deny list. | 84 * Removes a user from the account's deny list. |
76 * | 85 * |
77 * @param account The account. | 86 * @param account The account. |
78 * @Param name The name of the user to add to the list. | 87 * @Param name The name of the user to add to the list. |
88 * @param local_only If TRUE, only the local list is updated, and not | |
89 * the server. | |
79 * | 90 * |
80 * @return TRUE if the user was removed successfully, or @c FALSE otherwise. | 91 * @return TRUE if the user was removed successfully, or @c FALSE otherwise. |
81 */ | 92 */ |
82 gboolean gaim_privacy_deny_remove(GaimAccount *account, const char *name); | 93 gboolean gaim_privacy_deny_remove(GaimAccount *account, const char *name, |
94 gboolean local_only); | |
83 | 95 |
84 /** | 96 /** |
85 * Sets the UI operations structure for the privacy subsystem. | 97 * Sets the UI operations structure for the privacy subsystem. |
86 * | 98 * |
87 * @param ops The UI operations structure. | 99 * @param ops The UI operations structure. |