| 719 /** @name Protocol Interface API */ |
719 /** @name Protocol Interface API */ |
| 720 /**************************************************************************/ |
720 /**************************************************************************/ |
| 721 /*@{*/ |
721 /*@{*/ |
| 722 |
722 |
| 723 /** @copydoc _PurpleProtocolInterface::get_actions */ |
723 /** @copydoc _PurpleProtocolInterface::get_actions */ |
| 724 GList *purple_protocol_get_actions(PurpleProtocol *, PurpleConnection *); |
724 GList *purple_protocol_iface_get_actions(PurpleProtocol *, PurpleConnection *); |
| 725 |
725 |
| 726 /** @copydoc _PurpleProtocolInterface::list_icon */ |
726 /** @copydoc _PurpleProtocolInterface::list_icon */ |
| 727 const char *purple_protocol_list_icon(PurpleProtocol *, PurpleAccount *account, |
727 const char *purple_protocol_iface_list_icon(PurpleProtocol *, |
| 728 PurpleBuddy *buddy); |
728 PurpleAccount *account, |
| |
729 PurpleBuddy *buddy); |
| 729 |
730 |
| 730 /** @copydoc _PurpleProtocolInterface::list_emblem */ |
731 /** @copydoc _PurpleProtocolInterface::list_emblem */ |
| 731 const char *purple_protocol_list_emblem(PurpleProtocol *, PurpleBuddy *buddy); |
732 const char *purple_protocol_iface_list_emblem(PurpleProtocol *, |
| |
733 PurpleBuddy *buddy); |
| 732 |
734 |
| 733 /** @copydoc _PurpleProtocolInterface::status_text */ |
735 /** @copydoc _PurpleProtocolInterface::status_text */ |
| 734 char *purple_protocol_status_text(PurpleProtocol *, PurpleBuddy *buddy); |
736 char *purple_protocol_iface_status_text(PurpleProtocol *, PurpleBuddy *buddy); |
| 735 |
737 |
| 736 /** @copydoc _PurpleProtocolInterface::tooltip_text */ |
738 /** @copydoc _PurpleProtocolInterface::tooltip_text */ |
| 737 void purple_protocol_tooltip_text(PurpleProtocol *, PurpleBuddy *buddy, |
739 void purple_protocol_iface_tooltip_text(PurpleProtocol *, PurpleBuddy *buddy, |
| 738 PurpleNotifyUserInfo *user_info, |
740 PurpleNotifyUserInfo *user_info, |
| 739 gboolean full); |
741 gboolean full); |
| 740 |
742 |
| 741 /** @copydoc _PurpleProtocolInterface::status_types */ |
743 /** @copydoc _PurpleProtocolInterface::status_types */ |
| 742 GList *purple_protocol_status_types(PurpleProtocol *, PurpleAccount *account); |
744 GList *purple_protocol_iface_status_types(PurpleProtocol *, |
| |
745 PurpleAccount *account); |
| 743 |
746 |
| 744 /** @copydoc _PurpleProtocolInterface::blist_node_menu */ |
747 /** @copydoc _PurpleProtocolInterface::blist_node_menu */ |
| 745 GList *purple_protocol_blist_node_menu(PurpleProtocol *, PurpleBlistNode *node); |
748 GList *purple_protocol_iface_blist_node_menu(PurpleProtocol *, |
| |
749 PurpleBlistNode *node); |
| 746 |
750 |
| 747 /** @copydoc _PurpleProtocolInterface::chat_info */ |
751 /** @copydoc _PurpleProtocolInterface::chat_info */ |
| 748 GList *purple_protocol_chat_info(PurpleProtocol *, PurpleConnection *); |
752 GList *purple_protocol_iface_chat_info(PurpleProtocol *, PurpleConnection *); |
| 749 |
753 |
| 750 /** @copydoc _PurpleProtocolInterface::chat_info_defaults */ |
754 /** @copydoc _PurpleProtocolInterface::chat_info_defaults */ |
| 751 GHashTable *purple_protocol_chat_info_defaults(PurpleProtocol *, |
755 GHashTable *purple_protocol_iface_chat_info_defaults(PurpleProtocol *, |
| |
756 PurpleConnection *, |
| |
757 const char *chat_name); |
| |
758 |
| |
759 /** @copydoc _PurpleProtocolInterface::login */ |
| |
760 void purple_protocol_iface_login(PurpleProtocol *, PurpleAccount *); |
| |
761 |
| |
762 /** @copydoc _PurpleProtocolInterface::close */ |
| |
763 void purple_protocol_iface_close(PurpleProtocol *, PurpleConnection *); |
| |
764 |
| |
765 /** @copydoc _PurpleProtocolInterface::send_im */ |
| |
766 int purple_protocol_iface_send_im(PurpleProtocol *, PurpleConnection *, |
| |
767 const char *who, const char *message, |
| |
768 PurpleMessageFlags flags); |
| |
769 |
| |
770 /** @copydoc _PurpleProtocolInterface::set_info */ |
| |
771 void purple_protocol_iface_set_info(PurpleProtocol *, PurpleConnection *, |
| |
772 const char *info); |
| |
773 |
| |
774 /** @copydoc _PurpleProtocolInterface::send_typing */ |
| |
775 unsigned int purple_protocol_iface_send_typing(PurpleProtocol *, |
| 752 PurpleConnection *, |
776 PurpleConnection *, |
| 753 const char *chat_name); |
777 const char *name, |
| 754 |
778 PurpleIMTypingState state); |
| 755 /** @copydoc _PurpleProtocolInterface::login */ |
|
| 756 void purple_protocol_login(PurpleProtocol *, PurpleAccount *); |
|
| 757 |
|
| 758 /** @copydoc _PurpleProtocolInterface::close */ |
|
| 759 void purple_protocol_close(PurpleProtocol *, PurpleConnection *); |
|
| 760 |
|
| 761 /** @copydoc _PurpleProtocolInterface::send_im */ |
|
| 762 int purple_protocol_send_im(PurpleProtocol *, PurpleConnection *, |
|
| 763 const char *who, const char *message, |
|
| 764 PurpleMessageFlags flags); |
|
| 765 |
|
| 766 /** @copydoc _PurpleProtocolInterface::set_info */ |
|
| 767 void purple_protocol_set_info(PurpleProtocol *, PurpleConnection *, |
|
| 768 const char *info); |
|
| 769 |
|
| 770 /** @copydoc _PurpleProtocolInterface::send_typing */ |
|
| 771 unsigned int purple_protocol_send_typing(PurpleProtocol *, PurpleConnection *, |
|
| 772 const char *name, |
|
| 773 PurpleIMTypingState state); |
|
| 774 |
779 |
| 775 /** @copydoc _PurpleProtocolInterface::get_info */ |
780 /** @copydoc _PurpleProtocolInterface::get_info */ |
| 776 void purple_protocol_get_info(PurpleProtocol *, PurpleConnection *, |
781 void purple_protocol_iface_get_info(PurpleProtocol *, PurpleConnection *, |
| 777 const char *who); |
782 const char *who); |
| 778 |
783 |
| 779 /** @copydoc _PurpleProtocolInterface::set_status */ |
784 /** @copydoc _PurpleProtocolInterface::set_status */ |
| 780 void purple_protocol_set_status(PurpleProtocol *, PurpleAccount *account, |
785 void purple_protocol_iface_set_status(PurpleProtocol *, PurpleAccount *account, |
| 781 PurpleStatus *status); |
786 PurpleStatus *status); |
| 782 |
787 |
| 783 /** @copydoc _PurpleProtocolInterface::set_idle */ |
788 /** @copydoc _PurpleProtocolInterface::set_idle */ |
| 784 void purple_protocol_set_idle(PurpleProtocol *, PurpleConnection *, |
789 void purple_protocol_iface_set_idle(PurpleProtocol *, PurpleConnection *, |
| 785 int idletime); |
790 int idletime); |
| 786 |
791 |
| 787 /** @copydoc _PurpleProtocolInterface::change_passwd */ |
792 /** @copydoc _PurpleProtocolInterface::change_passwd */ |
| 788 void purple_protocol_change_passwd(PurpleProtocol *, PurpleConnection *, |
793 void purple_protocol_iface_change_passwd(PurpleProtocol *, PurpleConnection *, |
| 789 const char *old_pass, const char *new_pass); |
794 const char *old_pass, |
| |
795 const char *new_pass); |
| 790 |
796 |
| 791 /** @copydoc _PurpleProtocolInterface::add_buddy */ |
797 /** @copydoc _PurpleProtocolInterface::add_buddy */ |
| 792 void purple_protocol_add_buddy(PurpleProtocol *, PurpleConnection *pc, |
798 void purple_protocol_iface_add_buddy(PurpleProtocol *, PurpleConnection *pc, |
| 793 PurpleBuddy *buddy, PurpleGroup *group, |
799 PurpleBuddy *buddy, PurpleGroup *group, |
| 794 const char *message); |
800 const char *message); |
| 795 |
801 |
| 796 /** @copydoc _PurpleProtocolInterface::add_buddies */ |
802 /** @copydoc _PurpleProtocolInterface::add_buddies */ |
| 797 void purple_protocol_add_buddies(PurpleProtocol *, PurpleConnection *pc, |
803 void purple_protocol_iface_add_buddies(PurpleProtocol *, PurpleConnection *pc, |
| 798 GList *buddies, GList *groups, |
804 GList *buddies, GList *groups, |
| 799 const char *message); |
805 const char *message); |
| 800 |
806 |
| 801 /** @copydoc _PurpleProtocolInterface::remove_buddy */ |
807 /** @copydoc _PurpleProtocolInterface::remove_buddy */ |
| 802 void purple_protocol_remove_buddy(PurpleProtocol *, PurpleConnection *, |
808 void purple_protocol_iface_remove_buddy(PurpleProtocol *, PurpleConnection *, |
| 803 PurpleBuddy *buddy, PurpleGroup *group); |
809 PurpleBuddy *buddy, PurpleGroup *group); |
| 804 |
810 |
| 805 /** @copydoc _PurpleProtocolInterface::remove_buddies */ |
811 /** @copydoc _PurpleProtocolInterface::remove_buddies */ |
| 806 void purple_protocol_remove_buddies(PurpleProtocol *, PurpleConnection *, |
812 void purple_protocol_iface_remove_buddies(PurpleProtocol *, PurpleConnection *, |
| 807 GList *buddies, GList *groups); |
813 GList *buddies, GList *groups); |
| 808 |
814 |
| 809 /** @copydoc _PurpleProtocolInterface::add_permit */ |
815 /** @copydoc _PurpleProtocolInterface::add_permit */ |
| 810 void purple_protocol_add_permit(PurpleProtocol *, PurpleConnection *, |
816 void purple_protocol_iface_add_permit(PurpleProtocol *, PurpleConnection *, |
| 811 const char *name); |
817 const char *name); |
| 812 |
818 |
| 813 /** @copydoc _PurpleProtocolInterface::add_deny */ |
819 /** @copydoc _PurpleProtocolInterface::add_deny */ |
| 814 void purple_protocol_add_deny(PurpleProtocol *, PurpleConnection *, |
820 void purple_protocol_iface_add_deny(PurpleProtocol *, PurpleConnection *, |
| 815 const char *name); |
821 const char *name); |
| 816 |
822 |
| 817 /* TODO rename */ |
|
| 818 /** @copydoc _PurpleProtocolInterface::rem_permit */ |
823 /** @copydoc _PurpleProtocolInterface::rem_permit */ |
| 819 void purple_protocol_rem_permit(PurpleProtocol *, PurpleConnection *, |
824 void purple_protocol_iface_rem_permit(PurpleProtocol *, PurpleConnection *, |
| 820 const char *name); |
825 const char *name); |
| 821 |
826 |
| 822 /* TODO rename */ |
|
| 823 /** @copydoc _PurpleProtocolInterface::rem_deny */ |
827 /** @copydoc _PurpleProtocolInterface::rem_deny */ |
| 824 void purple_protocol_rem_deny(PurpleProtocol *, PurpleConnection *, |
828 void purple_protocol_iface_rem_deny(PurpleProtocol *, PurpleConnection *, |
| 825 const char *name); |
829 const char *name); |
| 826 |
830 |
| 827 /** @copydoc _PurpleProtocolInterface::set_permit_deny */ |
831 /** @copydoc _PurpleProtocolInterface::set_permit_deny */ |
| 828 void purple_protocol_set_permit_deny(PurpleProtocol *, PurpleConnection *); |
832 void purple_protocol_iface_set_permit_deny(PurpleProtocol *, |
| |
833 PurpleConnection *); |
| 829 |
834 |
| 830 /** @copydoc _PurpleProtocolInterface::join_chat */ |
835 /** @copydoc _PurpleProtocolInterface::join_chat */ |
| 831 void purple_protocol_join_chat(PurpleProtocol *, PurpleConnection *, |
836 void purple_protocol_iface_join_chat(PurpleProtocol *, PurpleConnection *, |
| 832 GHashTable *components); |
837 GHashTable *components); |
| 833 |
838 |
| 834 /** @copydoc _PurpleProtocolInterface::reject_chat */ |
839 /** @copydoc _PurpleProtocolInterface::reject_chat */ |
| 835 void purple_protocol_reject_chat(PurpleProtocol *, PurpleConnection *, |
840 void purple_protocol_iface_reject_chat(PurpleProtocol *, PurpleConnection *, |
| 836 GHashTable *components); |
841 GHashTable *components); |
| 837 |
842 |
| 838 /** @copydoc _PurpleProtocolInterface::get_chat_name */ |
843 /** @copydoc _PurpleProtocolInterface::get_chat_name */ |
| 839 char *purple_protocol_get_chat_name(PurpleProtocol *, GHashTable *components); |
844 char *purple_protocol_iface_get_chat_name(PurpleProtocol *, |
| |
845 GHashTable *components); |
| 840 |
846 |
| 841 /** @copydoc _PurpleProtocolInterface::chat_invite */ |
847 /** @copydoc _PurpleProtocolInterface::chat_invite */ |
| 842 void purple_protocol_chat_invite(PurpleProtocol *, PurpleConnection *, int id, |
848 void purple_protocol_iface_chat_invite(PurpleProtocol *, PurpleConnection *, |
| 843 const char *message, const char *who); |
849 int id, const char *message, |
| |
850 const char *who); |
| 844 |
851 |
| 845 /** @copydoc _PurpleProtocolInterface::chat_leave */ |
852 /** @copydoc _PurpleProtocolInterface::chat_leave */ |
| 846 void purple_protocol_chat_leave(PurpleProtocol *, PurpleConnection *, int id); |
853 void purple_protocol_iface_chat_leave(PurpleProtocol *, PurpleConnection *, |
| |
854 int id); |
| 847 |
855 |
| 848 /** @copydoc _PurpleProtocolInterface::chat_whisper */ |
856 /** @copydoc _PurpleProtocolInterface::chat_whisper */ |
| 849 void purple_protocol_chat_whisper(PurpleProtocol *, PurpleConnection *, int id, |
857 void purple_protocol_iface_chat_whisper(PurpleProtocol *, PurpleConnection *, |
| 850 const char *who, const char *message); |
858 int id, const char *who, |
| |
859 const char *message); |
| 851 |
860 |
| 852 /** @copydoc _PurpleProtocolInterface::chat_send */ |
861 /** @copydoc _PurpleProtocolInterface::chat_send */ |
| 853 int purple_protocol_chat_send(PurpleProtocol *, PurpleConnection *, int id, |
862 int purple_protocol_iface_chat_send(PurpleProtocol *, PurpleConnection *, |
| 854 const char *message, PurpleMessageFlags flags); |
863 int id, const char *message, |
| |
864 PurpleMessageFlags flags); |
| 855 |
865 |
| 856 /** @copydoc _PurpleProtocolInterface::keepalive */ |
866 /** @copydoc _PurpleProtocolInterface::keepalive */ |
| 857 void purple_protocol_keepalive(PurpleProtocol *, PurpleConnection *); |
867 void purple_protocol_iface_keepalive(PurpleProtocol *, PurpleConnection *); |
| 858 |
868 |
| 859 /** @copydoc _PurpleProtocolInterface::register_user */ |
869 /** @copydoc _PurpleProtocolInterface::register_user */ |
| 860 void purple_protocol_register_user(PurpleProtocol *, PurpleAccount *); |
870 void purple_protocol_iface_register_user(PurpleProtocol *, PurpleAccount *); |
| 861 |
871 |
| 862 /** @copydoc _PurpleProtocolInterface::unregister_user */ |
872 /** @copydoc _PurpleProtocolInterface::unregister_user */ |
| 863 void purple_protocol_unregister_user(PurpleProtocol *, PurpleAccount *, |
873 void purple_protocol_iface_unregister_user(PurpleProtocol *, PurpleAccount *, |
| 864 PurpleAccountUnregistrationCb cb, |
874 PurpleAccountUnregistrationCb cb, |
| 865 void *user_data); |
875 void *user_data); |
| 866 |
876 |
| 867 /** @copydoc _PurpleProtocolInterface::get_cb_info */ |
877 /** @copydoc _PurpleProtocolInterface::get_cb_info */ |
| 868 void purple_protocol_get_cb_info(PurpleProtocol *, PurpleConnection *, int, |
878 void purple_protocol_iface_get_cb_info(PurpleProtocol *, PurpleConnection *, |
| 869 const char *who); |
879 int, const char *who); |
| 870 |
880 |
| 871 /** @copydoc _PurpleProtocolInterface::alias_buddy */ |
881 /** @copydoc _PurpleProtocolInterface::alias_buddy */ |
| 872 void purple_protocol_alias_buddy(PurpleProtocol *, PurpleConnection *, |
882 void purple_protocol_iface_alias_buddy(PurpleProtocol *, PurpleConnection *, |
| 873 const char *who, const char *alias); |
883 const char *who, const char *alias); |
| 874 |
884 |
| 875 /** @copydoc _PurpleProtocolInterface::group_buddy */ |
885 /** @copydoc _PurpleProtocolInterface::group_buddy */ |
| 876 void purple_protocol_group_buddy(PurpleProtocol *, PurpleConnection *, |
886 void purple_protocol_iface_group_buddy(PurpleProtocol *, PurpleConnection *, |
| 877 const char *who, const char *old_group, |
887 const char *who, const char *old_group, |
| 878 const char *new_group); |
888 const char *new_group); |
| 879 |
889 |
| 880 /** @copydoc _PurpleProtocolInterface::rename_group */ |
890 /** @copydoc _PurpleProtocolInterface::rename_group */ |
| 881 void purple_protocol_rename_group(PurpleProtocol *, PurpleConnection *, |
891 void purple_protocol_iface_rename_group(PurpleProtocol *, PurpleConnection *, |
| 882 const char *old_name, PurpleGroup *group, |
892 const char *old_name, |
| 883 GList *moved_buddies); |
893 PurpleGroup *group, |
| |
894 GList *moved_buddies); |
| 884 |
895 |
| 885 /** @copydoc _PurpleProtocolInterface::buddy_free */ |
896 /** @copydoc _PurpleProtocolInterface::buddy_free */ |
| 886 void purple_protocol_buddy_free(PurpleProtocol *, PurpleBuddy *); |
897 void purple_protocol_iface_buddy_free(PurpleProtocol *, PurpleBuddy *); |
| 887 |
898 |
| 888 /** @copydoc _PurpleProtocolInterface::convo_closed */ |
899 /** @copydoc _PurpleProtocolInterface::convo_closed */ |
| 889 void purple_protocol_convo_closed(PurpleProtocol *, PurpleConnection *, |
900 void purple_protocol_iface_convo_closed(PurpleProtocol *, PurpleConnection *, |
| 890 const char *who); |
901 const char *who); |
| 891 |
902 |
| 892 /** @copydoc _PurpleProtocolInterface::normalize */ |
903 /** @copydoc _PurpleProtocolInterface::normalize */ |
| 893 const char *purple_protocol_normalize(PurpleProtocol *, |
904 const char *purple_protocol_iface_normalize(PurpleProtocol *, |
| 894 const PurpleAccount *account, |
905 const PurpleAccount *account, |
| 895 const char *who); |
906 const char *who); |
| 896 |
907 |
| 897 /** @copydoc _PurpleProtocolInterface::set_buddy_icon */ |
908 /** @copydoc _PurpleProtocolInterface::set_buddy_icon */ |
| 898 void purple_protocol_set_buddy_icon(PurpleProtocol *, PurpleConnection *, |
909 void purple_protocol_iface_set_buddy_icon(PurpleProtocol *, PurpleConnection *, |
| 899 PurpleStoredImage *img); |
910 PurpleStoredImage *img); |
| 900 |
911 |
| 901 /** @copydoc _PurpleProtocolInterface::remove_group */ |
912 /** @copydoc _PurpleProtocolInterface::remove_group */ |
| 902 void purple_protocol_remove_group(PurpleProtocol *, PurpleConnection *gc, |
913 void purple_protocol_iface_remove_group(PurpleProtocol *, PurpleConnection *gc, |
| 903 PurpleGroup *group); |
914 PurpleGroup *group); |
| 904 |
915 |
| 905 /** @copydoc _PurpleProtocolInterface::get_cb_real_name */ |
916 /** @copydoc _PurpleProtocolInterface::get_cb_real_name */ |
| 906 char *purple_protocol_get_cb_real_name(PurpleProtocol *, PurpleConnection *gc, |
917 char *purple_protocol_iface_get_cb_real_name(PurpleProtocol *, |
| 907 int id, const char *who); |
918 PurpleConnection *gc, int id, |
| |
919 const char *who); |
| 908 |
920 |
| 909 /** @copydoc _PurpleProtocolInterface::set_chat_topic */ |
921 /** @copydoc _PurpleProtocolInterface::set_chat_topic */ |
| 910 void purple_protocol_set_chat_topic(PurpleProtocol *, PurpleConnection *gc, |
922 void purple_protocol_iface_set_chat_topic(PurpleProtocol *, |
| 911 int id, const char *topic); |
923 PurpleConnection *gc, int id, |
| |
924 const char *topic); |
| 912 |
925 |
| 913 /** @copydoc _PurpleProtocolInterface::find_blist_chat */ |
926 /** @copydoc _PurpleProtocolInterface::find_blist_chat */ |
| 914 PurpleChat *purple_protocol_find_blist_chat(PurpleProtocol *, |
927 PurpleChat *purple_protocol_iface_find_blist_chat(PurpleProtocol *, |
| 915 PurpleAccount *account, |
928 PurpleAccount *account, |
| 916 const char *name); |
929 const char *name); |
| 917 |
930 |
| 918 /** @copydoc _PurpleProtocolInterface::roomlist_get_list */ |
931 /** @copydoc _PurpleProtocolInterface::roomlist_get_list */ |
| 919 PurpleRoomlist *purple_protocol_roomlist_get_list(PurpleProtocol *, |
932 PurpleRoomlist *purple_protocol_iface_roomlist_get_list(PurpleProtocol *, |
| 920 PurpleConnection *gc); |
933 PurpleConnection *gc); |
| 921 |
934 |
| 922 /** @copydoc _PurpleProtocolInterface::roomlist_cancel */ |
935 /** @copydoc _PurpleProtocolInterface::roomlist_cancel */ |
| 923 void purple_protocol_roomlist_cancel(PurpleProtocol *, PurpleRoomlist *list); |
936 void purple_protocol_iface_roomlist_cancel(PurpleProtocol *, |
| |
937 PurpleRoomlist *list); |
| 924 |
938 |
| 925 /** @copydoc _PurpleProtocolInterface::roomlist_expand_category */ |
939 /** @copydoc _PurpleProtocolInterface::roomlist_expand_category */ |
| 926 void purple_protocol_roomlist_expand_category(PurpleProtocol *, |
940 void purple_protocol_iface_roomlist_expand_category( |
| 927 PurpleRoomlist *list, |
941 PurpleProtocol *, |
| 928 PurpleRoomlistRoom *category); |
942 PurpleRoomlist *list, |
| |
943 PurpleRoomlistRoom *category); |
| 929 |
944 |
| 930 /** @copydoc _PurpleProtocolInterface::can_receive_file */ |
945 /** @copydoc _PurpleProtocolInterface::can_receive_file */ |
| 931 gboolean purple_protocol_can_receive_file(PurpleProtocol *, PurpleConnection *, |
946 gboolean purple_protocol_iface_can_receive_file(PurpleProtocol *, |
| 932 const char *who); |
947 PurpleConnection *, |
| |
948 const char *who); |
| 933 |
949 |
| 934 /** @copydoc _PurpleProtocolInterface::send_file */ |
950 /** @copydoc _PurpleProtocolInterface::send_file */ |
| 935 void purple_protocol_send_file(PurpleProtocol *, PurpleConnection *, |
951 void purple_protocol_iface_send_file(PurpleProtocol *, PurpleConnection *, |
| 936 const char *who, const char *filename); |
952 const char *who, const char *filename); |
| 937 |
953 |
| 938 /** @copydoc _PurpleProtocolInterface::new_xfer */ |
954 /** @copydoc _PurpleProtocolInterface::new_xfer */ |
| 939 PurpleXfer *purple_protocol_new_xfer(PurpleProtocol *, PurpleConnection *, |
955 PurpleXfer *purple_protocol_iface_new_xfer(PurpleProtocol *, PurpleConnection *, |
| 940 const char *who); |
956 const char *who); |
| 941 |
957 |
| 942 /** @copydoc _PurpleProtocolInterface::offline_message */ |
958 /** @copydoc _PurpleProtocolInterface::offline_message */ |
| 943 gboolean purple_protocol_offline_message(PurpleProtocol *, |
959 gboolean purple_protocol_iface_offline_message(PurpleProtocol *, |
| 944 const PurpleBuddy *buddy); |
960 const PurpleBuddy *buddy); |
| 945 |
961 |
| 946 /** @copydoc _PurpleProtocolInterface::send_raw */ |
962 /** @copydoc _PurpleProtocolInterface::send_raw */ |
| 947 int purple_protocol_send_raw(PurpleProtocol *, PurpleConnection *gc, |
963 int purple_protocol_iface_send_raw(PurpleProtocol *, PurpleConnection *gc, |
| 948 const char *buf, int len); |
964 const char *buf, int len); |
| 949 |
965 |
| 950 /** @copydoc _PurpleProtocolInterface::roomlist_room_serialize */ |
966 /** @copydoc _PurpleProtocolInterface::roomlist_room_serialize */ |
| 951 char *purple_protocol_roomlist_room_serialize(PurpleProtocol *, |
967 char *purple_protocol_iface_roomlist_room_serialize(PurpleProtocol *, |
| 952 PurpleRoomlistRoom *room); |
968 PurpleRoomlistRoom *room); |
| 953 |
969 |
| 954 /** @copydoc _PurpleProtocolInterface::send_attention */ |
970 /** @copydoc _PurpleProtocolInterface::send_attention */ |
| 955 gboolean purple_protocol_send_attention(PurpleProtocol *, PurpleConnection *gc, |
971 gboolean purple_protocol_iface_send_attention(PurpleProtocol *, |
| 956 const char *username, guint type); |
972 PurpleConnection *gc, |
| |
973 const char *username, guint type); |
| 957 |
974 |
| 958 /** @copydoc _PurpleProtocolInterface::get_attention_types */ |
975 /** @copydoc _PurpleProtocolInterface::get_attention_types */ |
| 959 GList *purple_protocol_get_attention_types(PurpleProtocol *, |
976 GList *purple_protocol_iface_get_attention_types(PurpleProtocol *, |
| 960 PurpleAccount *acct); |
977 PurpleAccount *acct); |
| 961 |
978 |
| 962 /** @copydoc _PurpleProtocolInterface::get_account_text_table */ |
979 /** @copydoc _PurpleProtocolInterface::get_account_text_table */ |
| 963 GHashTable *purple_protocol_get_account_text_table(PurpleProtocol *, |
980 GHashTable *purple_protocol_iface_get_account_text_table( |
| 964 PurpleAccount *account); |
981 PurpleProtocol *, |
| |
982 PurpleAccount *account); |
| 965 |
983 |
| 966 /** @copydoc _PurpleProtocolInterface::initiate_media */ |
984 /** @copydoc _PurpleProtocolInterface::initiate_media */ |
| 967 gboolean purple_protocol_initiate_media(PurpleProtocol *, |
985 gboolean purple_protocol_iface_initiate_media(PurpleProtocol *, |
| 968 PurpleAccount *account, const char *who, |
986 PurpleAccount *account, |
| 969 PurpleMediaSessionType type); |
987 const char *who, |
| |
988 PurpleMediaSessionType type); |
| 970 |
989 |
| 971 /** @copydoc _PurpleProtocolInterface::get_media_caps */ |
990 /** @copydoc _PurpleProtocolInterface::get_media_caps */ |
| 972 PurpleMediaCaps purple_protocol_get_media_caps(PurpleProtocol *, |
991 PurpleMediaCaps purple_protocol_iface_get_media_caps(PurpleProtocol *, |
| 973 PurpleAccount *account, |
992 PurpleAccount *account, |
| 974 const char *who); |
993 const char *who); |
| 975 |
994 |
| 976 /** @copydoc _PurpleProtocolInterface::get_moods */ |
995 /** @copydoc _PurpleProtocolInterface::get_moods */ |
| 977 PurpleMood *purple_protocol_get_moods(PurpleProtocol *, PurpleAccount *account); |
996 PurpleMood *purple_protocol_iface_get_moods(PurpleProtocol *, |
| |
997 PurpleAccount *account); |
| 978 |
998 |
| 979 /** @copydoc _PurpleProtocolInterface::set_public_alias */ |
999 /** @copydoc _PurpleProtocolInterface::set_public_alias */ |
| 980 void purple_protocol_set_public_alias( |
1000 void purple_protocol_iface_set_public_alias( |
| 981 PurpleProtocol *, PurpleConnection *gc, |
1001 PurpleProtocol *, PurpleConnection *gc, |
| 982 const char *alias, |
1002 const char *alias, |
| 983 PurpleSetPublicAliasSuccessCallback success_cb, |
1003 PurpleSetPublicAliasSuccessCallback success_cb, |
| 984 PurpleSetPublicAliasFailureCallback failure_cb); |
1004 PurpleSetPublicAliasFailureCallback failure_cb); |
| 985 |
1005 |
| 986 /** @copydoc _PurpleProtocolInterface::get_public_alias */ |
1006 /** @copydoc _PurpleProtocolInterface::get_public_alias */ |
| 987 void purple_protocol_get_public_alias( |
1007 void purple_protocol_iface_get_public_alias( |
| 988 PurpleProtocol *, PurpleConnection *gc, |
1008 PurpleProtocol *, PurpleConnection *gc, |
| 989 PurpleGetPublicAliasSuccessCallback success_cb, |
1009 PurpleGetPublicAliasSuccessCallback success_cb, |
| 990 PurpleGetPublicAliasFailureCallback failure_cb); |
1010 PurpleGetPublicAliasFailureCallback failure_cb); |
| 991 |
1011 |
| 992 /*@}*/ |
1012 /*@}*/ |