comparison src/protocols/irc/irc.c @ 9951:42cdec4f639b

[gaim-migrate @ 10847] <faceprint> datallah: i can just commit that without thinking, right? <audiokat2> faceprint: you can't break HEAD any worse right now :) committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 04 Sep 2004 16:51:49 +0000
parents e4a27c9aec4c
children d908907d9441
comparison
equal deleted inserted replaced
9950:ba085944efee 9951:42cdec4f639b
39 39
40 static void irc_buddy_append(char *name, struct irc_buddy *ib, GString *string); 40 static void irc_buddy_append(char *name, struct irc_buddy *ib, GString *string);
41 41
42 static const char *irc_blist_icon(GaimAccount *a, GaimBuddy *b); 42 static const char *irc_blist_icon(GaimAccount *a, GaimBuddy *b);
43 static void irc_blist_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne); 43 static void irc_blist_emblems(GaimBuddy *b, char **se, char **sw, char **nw, char **ne);
44 static GList *irc_away_states(GaimConnection *gc); 44 static GList *irc_status_types(GaimAccount *account);
45 static GList *irc_actions(GaimPlugin *plugin, gpointer context); 45 static GList *irc_actions(GaimPlugin *plugin, gpointer context);
46 /* static GList *irc_chat_info(GaimConnection *gc); */ 46 /* static GList *irc_chat_info(GaimConnection *gc); */
47 static void irc_login(GaimAccount *account); 47 static void irc_login(GaimAccount *account);
48 static void irc_login_cb(gpointer data, gint source, GaimInputCondition cond); 48 static void irc_login_cb(gpointer data, gint source, GaimInputCondition cond);
49 static void irc_close(GaimConnection *gc); 49 static void irc_close(GaimConnection *gc);
604 static GaimPluginProtocolInfo prpl_info = 604 static GaimPluginProtocolInfo prpl_info =
605 { 605 {
606 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL, 606 OPT_PROTO_CHAT_TOPIC | OPT_PROTO_PASSWORD_OPTIONAL,
607 NULL, /* user_splits */ 607 NULL, /* user_splits */
608 NULL, /* protocol_options */ 608 NULL, /* protocol_options */
609 NO_BUDDY_ICONS, /* icon_spec */ 609 NO_BUDDY_ICONS, /* icon_spec */
610 irc_blist_icon, /* list_icon */ 610 irc_blist_icon, /* list_icon */
611 irc_blist_emblems, /* list_emblems */ 611 irc_blist_emblems, /* list_emblems */
612 NULL, /* status_text */ 612 NULL, /* status_text */
613 NULL, /* tooltip_text */ 613 NULL, /* tooltip_text */
614 irc_away_states, /* away_states */ 614 irc_status_types, /* away_states */
615 NULL, /* blist_node_menu */ 615 NULL, /* blist_node_menu */
616 irc_chat_join_info, /* chat_info */ 616 irc_chat_join_info, /* chat_info */
617 irc_chat_info_defaults, /* chat_info_defaults */ 617 irc_chat_info_defaults, /* chat_info_defaults */
618 irc_login, /* login */ 618 irc_login, /* login */
619 irc_close, /* close */ 619 irc_close, /* close */
620 irc_im_send, /* send_im */ 620 irc_im_send, /* send_im */
621 NULL, /* set_info */ 621 NULL, /* set_info */
622 NULL, /* send_typing */ 622 NULL, /* send_typing */
623 irc_get_info, /* get_info */ 623 irc_get_info, /* get_info */
624 irc_set_away, /* set_away */ 624 irc_set_status, /* set_status */
625 NULL, /* set_idle */ 625 NULL, /* set_idle */
626 NULL, /* change_passwd */ 626 NULL, /* change_passwd */
627 irc_add_buddy, /* add_buddy */ 627 irc_add_buddy, /* add_buddy */
628 NULL, /* add_buddies */ 628 NULL, /* add_buddies */
629 irc_remove_buddy, /* remove_buddy */ 629 irc_remove_buddy, /* remove_buddy */
630 NULL, /* remove_buddies */ 630 NULL, /* remove_buddies */
631 NULL, /* add_permit */ 631 NULL, /* add_permit */
632 NULL, /* add_deny */ 632 NULL, /* add_deny */
633 NULL, /* rem_permit */ 633 NULL, /* rem_permit */
634 NULL, /* rem_deny */ 634 NULL, /* rem_deny */
635 NULL, /* set_permit_deny */ 635 NULL, /* set_permit_deny */
636 NULL, /* warn */ 636 NULL, /* warn */
637 irc_chat_join, /* join_chat */ 637 irc_chat_join, /* join_chat */
638 NULL, /* reject_chat */ 638 NULL, /* reject_chat */
639 irc_get_chat_name, /* get_chat_name */ 639 irc_get_chat_name, /* get_chat_name */
640 irc_chat_invite, /* chat_invite */ 640 irc_chat_invite, /* chat_invite */
641 irc_chat_leave, /* chat_leave */ 641 irc_chat_leave, /* chat_leave */
642 NULL, /* chat_whisper */ 642 NULL, /* chat_whisper */
643 irc_chat_send, /* chat_send */ 643 irc_chat_send, /* chat_send */
644 NULL, /* keepalive */ 644 NULL, /* keepalive */
645 NULL, /* register_user */ 645 NULL, /* register_user */
646 NULL, /* get_cb_info */ 646 NULL, /* get_cb_info */
647 NULL, /* get_cb_away */ 647 NULL, /* get_cb_away */
648 NULL, /* alias_buddy */ 648 NULL, /* alias_buddy */
652 NULL, /* convo_closed */ 652 NULL, /* convo_closed */
653 NULL, /* normalize */ 653 NULL, /* normalize */
654 NULL, /* set_buddy_icon */ 654 NULL, /* set_buddy_icon */
655 NULL, /* remove_group */ 655 NULL, /* remove_group */
656 NULL, /* get_cb_real_name */ 656 NULL, /* get_cb_real_name */
657 irc_chat_set_topic, /* set_chat_topic */ 657 irc_chat_set_topic, /* set_chat_topic */
658 NULL, /* find_blist_chat */ 658 NULL, /* find_blist_chat */
659 irc_roomlist_get_list, /* roomlist_get_list */ 659 irc_roomlist_get_list, /* roomlist_get_list */
660 irc_roomlist_cancel, /* roomlist_cancel */ 660 irc_roomlist_cancel, /* roomlist_cancel */
661 NULL, /* roomlist_expand_category */ 661 NULL, /* roomlist_expand_category */
662 NULL, /* can_receive_file */ 662 NULL, /* can_receive_file */