26#ifndef _PURPLE_PRIVACY_H_ 
   27#define _PURPLE_PRIVACY_H_ 
   34    PURPLE_PRIVACY_ALLOW_ALL = 1,
 
   35    PURPLE_PRIVACY_DENY_ALL,
 
   36    PURPLE_PRIVACY_ALLOW_USERS,
 
   37    PURPLE_PRIVACY_DENY_USERS,
 
   38    PURPLE_PRIVACY_ALLOW_BUDDYLIST
 
 
   52    void (*permit_added)(
PurpleAccount *account, 
const char *name);
 
   53    void (*permit_removed)(
PurpleAccount *account, 
const char *name);
 
   55    void (*deny_removed)(
PurpleAccount *account, 
const char *name);
 
   57    void (*_purple_reserved1)(void);
 
   58    void (*_purple_reserved2)(void);
 
   59    void (*_purple_reserved3)(void);
 
   60    void (*_purple_reserved4)(void);
 
 
  100                               gboolean local_only);
 
  113                                  gboolean local_only);
 
gboolean purple_privacy_check(PurpleAccount *account, const char *who)
Check the privacy-setting for a user.
 
gboolean purple_privacy_deny_remove(PurpleAccount *account, const char *name, gboolean local_only)
Removes a user from the account's deny list.
 
void purple_privacy_allow(PurpleAccount *account, const char *who, gboolean local, gboolean restore)
Allow a user to send messages.
 
enum _PurplePrivacyType PurplePrivacyType
Privacy data types.
 
void purple_privacy_set_ui_ops(PurplePrivacyUiOps *ops)
Sets the UI operations structure for the privacy subsystem.
 
_PurplePrivacyType
Privacy data types.
 
void purple_privacy_deny(PurpleAccount *account, const char *who, gboolean local, gboolean restore)
Block messages from a user.
 
void purple_privacy_init(void)
Initializes the privacy subsystem.
 
gboolean purple_privacy_permit_remove(PurpleAccount *account, const char *name, gboolean local_only)
Removes a user from the account's permit list.
 
gboolean purple_privacy_permit_add(PurpleAccount *account, const char *name, gboolean local_only)
Adds a user to the account's permit list.
 
gboolean purple_privacy_deny_add(PurpleAccount *account, const char *name, gboolean local_only)
Adds a user to the account's deny list.
 
PurplePrivacyUiOps * purple_privacy_get_ui_ops(void)
Returns the UI operations structure for the privacy subsystem.
 
Privacy core/UI operations.
 
Structure representing an account.