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_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
);
}
The protocol privacy interface.
This interface provides privacy callbacks such as to permit/deny users.
Interface members
add_permit |
|
No description available. | |
add_deny |
|
No description available. | |
remove_permit |
|
No description available. | |
remove_deny |
|
No description available. | |
set_permit_deny |
|
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.