libpurple/server.h

changeset 41769
e5b2368ad3ad
parent 41199
72afb5d62f12
child 41924
7646d24a31be
equal deleted inserted replaced
41768:108bed9875bd 41769:e5b2368ad3ad
91 * @info: Information text to be sent to the server. 91 * @info: Information text to be sent to the server.
92 * 92 *
93 * Set user account information on the server. 93 * Set user account information on the server.
94 */ 94 */
95 void purple_serv_set_info(PurpleConnection *gc, const char *info); 95 void purple_serv_set_info(PurpleConnection *gc, const char *info);
96
97 /******************************************************************************
98 * Privacy interface
99 *****************************************************************************/
100
101 /**
102 * purple_serv_add_permit:
103 * @gc: The connection over which to send the typing notification.
104 * @name: The name of the remote user.
105 *
106 * Add the buddy on the required authorized list.
107 */
108 void purple_serv_add_permit(PurpleConnection *gc, const char *name);
109
110 /**
111 * purple_serv_add_deny:
112 * @gc: The connection over which to send the typing notification.
113 * @name: The name of the remote user.
114 *
115 * Add the buddy on the required blocked list.
116 */
117 void purple_serv_add_deny(PurpleConnection *gc, const char *name);
118
119 /**
120 * purple_serv_remove_permit:
121 * @gc: The connection over which to send the typing notification.
122 * @name: The name of the remote user.
123 *
124 * Remove the buddy from the required authorized list.
125 */
126 void purple_serv_remove_permit(PurpleConnection *gc, const char *name);
127
128 /**
129 * purple_serv_remove_deny:
130 * @gc: The connection over which to send the typing notification.
131 * @name: The name of the remote user.
132 *
133 * Remove the buddy from the required blocked list.
134 */
135 void purple_serv_remove_deny(PurpleConnection *gc, const char *name);
136
137 /**
138 * purple_serv_set_permit_deny:
139 * @gc: The connection over which to send the typing notification.
140 *
141 * Update the server with the privacy information on the permit and deny lists.
142 */
143 void purple_serv_set_permit_deny(PurpleConnection *gc);
144 96
145 /****************************************************************************** 97 /******************************************************************************
146 * Chat Interface 98 * Chat Interface
147 *****************************************************************************/ 99 *****************************************************************************/
148 100

mercurial