comparison libpurple/prpl.h @ 30311:ba0571f18075

Fix copy&paste typos.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 10 May 2010 21:27:28 +0000
parents 2a436e0ce977
children 44f53d3fc54f
comparison
equal deleted inserted replaced
30310:193a8e64e373 30311:ba0571f18075
606 PurpleSetPublicAliasSuccessCallback success_cb, 606 PurpleSetPublicAliasSuccessCallback success_cb,
607 PurpleSetPublicAliasFailureCallback failure_cb); 607 PurpleSetPublicAliasFailureCallback failure_cb);
608 /** 608 /**
609 * Retrieve the user's "friendly name" as set on the server. 609 * Retrieve the user's "friendly name" as set on the server.
610 * The protocol plugin should call success_cb or failure_cb 610 * The protocol plugin should call success_cb or failure_cb
611 * *asynchronously* (even if it knows immediately that the set will fail, 611 * *asynchronously* (even if it knows immediately that the get will fail,
612 * call one of the callbacks from an idle/0-second timeout) depending 612 * call one of the callbacks from an idle/0-second timeout) depending
613 * on if the nickname is retrieved. 613 * on if the nickname is retrieved.
614 * 614 *
615 * @param gc The connection for which to retireve the alias 615 * @param gc The connection for which to retireve the alias
616 * @param success_cb Callback to be called with the retrieved alias 616 * @param success_cb Callback to be called with the retrieved alias
618 * retrieve the alias 618 * retrieve the alias
619 * @see purple_account_get_public_alias 619 * @see purple_account_get_public_alias
620 * @since 2.7.0 620 * @since 2.7.0
621 */ 621 */
622 void (*get_public_alias)(PurpleConnection *gc, 622 void (*get_public_alias)(PurpleConnection *gc,
623 PurpleSetPublicAliasSuccessCallback success_cb, 623 PurpleGetPublicAliasSuccessCallback success_cb,
624 PurpleSetPublicAliasFailureCallback failure_cb); 624 PurpleGetPublicAliasFailureCallback failure_cb);
625 }; 625 };
626 626
627 #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \ 627 #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \
628 (((G_STRUCT_OFFSET(PurplePluginProtocolInfo, member) < G_STRUCT_OFFSET(PurplePluginProtocolInfo, struct_size)) \ 628 (((G_STRUCT_OFFSET(PurplePluginProtocolInfo, member) < G_STRUCT_OFFSET(PurplePluginProtocolInfo, struct_size)) \
629 || (G_STRUCT_OFFSET(PurplePluginProtocolInfo, member) < prpl->struct_size)) && \ 629 || (G_STRUCT_OFFSET(PurplePluginProtocolInfo, member) < prpl->struct_size)) && \