Interface

PurpleProtocolPrivacy

Description [src]

interface Purple.ProtocolPrivacy : Purple.Protocol

PurpleProtocolPrivacy describes the privacy API available to protocols.

Prerequisite

In order to implement ProtocolPrivacy, your type must inherit from PurpleProtocol.

Instance methods

purple_protocol_privacy_add_deny

Adds a deny to the privacy settings for connection to deny name from contacting the user.

Available since: 3.0.0

purple_protocol_privacy_add_permit

Adds a permit to the privacy settings for connection to allow name to contact the user.

Available since: 3.0.0

purple_protocol_privacy_remove_deny

Removes an existing deny for name.

Available since: 3.0.0

purple_protocol_privacy_remove_permit

Removes an existing permit for name.

Available since: 3.0.0

purple_protocol_privacy_set_permit_deny

Forces a sync of the privacy settings with server.

Available since: 3.0.0

Interface structure

struct PurpleProtocolPrivacyInterface {
  void (* add_permit) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  );
  void (* add_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  );
  void (* remove_permit) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  );
  void (* remove_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  );
  void (* set_permit_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection
  );
  
}
Interface members
add_permit
void (* add_permit) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  )
 No description available.
add_deny
void (* add_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  )
 No description available.
remove_permit
void (* remove_permit) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  )
 No description available.
remove_deny
void (* remove_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection,
    const gchar* name
  )
 No description available.
set_permit_deny
void (* set_permit_deny) (
    PurpleProtocolPrivacy* privacy,
    PurpleConnection* connection
  )
 No description available.

Virtual methods

Purple.ProtocolPrivacy.add_deny

Adds a deny to the privacy settings for connection to deny name from contacting the user.

Purple.ProtocolPrivacy.add_permit

Adds a permit to the privacy settings for connection to allow name to contact the user.

Purple.ProtocolPrivacy.remove_deny

Removes an existing deny for name.

Purple.ProtocolPrivacy.remove_permit

Removes an existing permit for name.

Purple.ProtocolPrivacy.set_permit_deny

Forces a sync of the privacy settings with server.