comparison libpurple/prpl.h @ 19702:45d028a68774

- Rename attention_types to get_attention_types, which seems more standard. - Change the purple_reserved to number 4, which makes more sense to me. We used up ones before 4, not after 1.
author Richard Laager <rlaager@wiktel.com>
date Mon, 10 Sep 2007 20:04:49 +0000
parents 481749fc0b6b
children 6bf32c9e15a7
comparison
equal deleted inserted replaced
19701:0a87fc5a4e60 19702:45d028a68774
353 */ 353 */
354 void (*unregister_user)(PurpleAccount *, PurpleAccountUnregistrationCb cb, void *user_data); 354 void (*unregister_user)(PurpleAccount *, PurpleAccountUnregistrationCb cb, void *user_data);
355 355
356 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */ 356 /* Attention API for sending & receiving zaps/nudges/buzzes etc. */
357 gboolean (*send_attention)(PurpleConnection *gc, const char *username, guint type); 357 gboolean (*send_attention)(PurpleConnection *gc, const char *username, guint type);
358 GList *(*attention_types)(PurpleAccount *acct); 358 GList *(*get_attention_types)(PurpleAccount *acct);
359 359
360 void (*_purple_reserved1)(void); 360 void (*_purple_reserved4)(void);
361 }; 361 };
362 362
363 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \ 363 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \
364 ((plugin)->info->type == PURPLE_PLUGIN_PROTOCOL) 364 ((plugin)->info->type == PURPLE_PLUGIN_PROTOCOL)
365 365