comparison libpurple/prpl.h @ 25008:a4d6e2c1e73b

Update the comment for add_buddy in prpl.h to note it may be called to mean 'request authorization'
author Paul Aurich <paul@darkrain42.org>
date Sun, 21 Dec 2008 22:12:23 +0000
parents 9216da5184a2
children 9ea3474065dc
comparison
equal deleted inserted replaced
25007:071414f413a4 25008:a4d6e2c1e73b
292 void (*set_status)(PurpleAccount *account, PurpleStatus *status); 292 void (*set_status)(PurpleAccount *account, PurpleStatus *status);
293 293
294 void (*set_idle)(PurpleConnection *, int idletime); 294 void (*set_idle)(PurpleConnection *, int idletime);
295 void (*change_passwd)(PurpleConnection *, const char *old_pass, 295 void (*change_passwd)(PurpleConnection *, const char *old_pass,
296 const char *new_pass); 296 const char *new_pass);
297 /**
298 * Add a buddy to a group on the server.
299 *
300 * This PRPL function may be called in situations in which the buddy is
301 * already in the specified group. If the protocol supports
302 * authorization and the user is not already authorized to see the
303 * status of \a buddy, \a add_buddy should request authorization.
304 */
297 void (*add_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group); 305 void (*add_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group);
298 void (*add_buddies)(PurpleConnection *, GList *buddies, GList *groups); 306 void (*add_buddies)(PurpleConnection *, GList *buddies, GList *groups);
299 void (*remove_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group); 307 void (*remove_buddy)(PurpleConnection *, PurpleBuddy *buddy, PurpleGroup *group);
300 void (*remove_buddies)(PurpleConnection *, GList *buddies, GList *groups); 308 void (*remove_buddies)(PurpleConnection *, GList *buddies, GList *groups);
301 void (*add_permit)(PurpleConnection *, const char *name); 309 void (*add_permit)(PurpleConnection *, const char *name);