comparison src/prpl.h @ 5944:158196b2db19

[gaim-migrate @ 6385] Added #ifdef __cplusplus lines so that things will link right with C++. Also added some doxygen comment blocks that didn't previously exist. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 23 Jun 2003 06:40:13 +0000
parents a4f2aba0848d
children 209cae24a51d
comparison
equal deleted inserted replaced
5943:a4f2aba0848d 5944:158196b2db19
302 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL) 302 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL)
303 303
304 #define GAIM_PLUGIN_PROTOCOL_INFO(plugin) \ 304 #define GAIM_PLUGIN_PROTOCOL_INFO(plugin) \
305 ((GaimPluginProtocolInfo *)(plugin)->info->extra_info) 305 ((GaimPluginProtocolInfo *)(plugin)->info->extra_info)
306 306
307
308 #ifdef __cplusplus
309 extern "C" {
310 #endif
311
307 /** 312 /**
308 * Returns the plugin ID for a protocol number. 313 * Returns the plugin ID for a protocol number.
309 * 314 *
310 * @param protocol The protocol number. 315 * @param protocol The protocol number.
311 * 316 *
361 * 366 *
362 * @return The buddy icon data. 367 * @return The buddy icon data.
363 */ 368 */
364 void *get_icon_data(GaimConnection *gc, const char *who, int *len); 369 void *get_icon_data(GaimConnection *gc, const char *who, int *len);
365 370
371 #ifdef __cplusplus
372 }
373 #endif
374
366 #endif /* _PRPL_H_ */ 375 #endif /* _PRPL_H_ */