Mercurial > pidgin
comparison plugins/msn/msn.c @ 1284:ea91dbf089db
[gaim-migrate @ 1294]
A cute little MSN pixmap
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 15 Dec 2000 01:31:35 +0000 |
parents | 87ad345a6d4f |
children | f8557a227369 |
comparison
equal
deleted
inserted
replaced
1283:87ad345a6d4f | 1284:ea91dbf089db |
---|---|
36 #include "multi.h" | 36 #include "multi.h" |
37 #include "prpl.h" | 37 #include "prpl.h" |
38 #include "gaim.h" | 38 #include "gaim.h" |
39 #include "md5.h" | 39 #include "md5.h" |
40 | 40 |
41 #include "pixmaps/msn_online.xpm" | |
42 | |
41 #define MSN_BUF_LEN 4096 | 43 #define MSN_BUF_LEN 4096 |
42 | 44 |
43 #define MSN_OPT_SERVER 0 | 45 #define MSN_OPT_SERVER 0 |
44 #define MSN_OPT_PORT 1 | 46 #define MSN_OPT_PORT 1 |
45 | 47 |
805 | 807 |
806 write(mdata->fd, buf, strlen(buf)); | 808 write(mdata->fd, buf, strlen(buf)); |
807 | 809 |
808 } | 810 } |
809 | 811 |
812 static char **msn_list_icon(int status) | |
813 { | |
814 return msn_online_xpm; | |
815 } | |
816 | |
810 static struct prpl *my_protocol = NULL; | 817 static struct prpl *my_protocol = NULL; |
811 | 818 |
812 void msn_init(struct prpl *ret) | 819 void msn_init(struct prpl *ret) |
813 { | 820 { |
814 ret->protocol = PROTO_MSN; | 821 ret->protocol = PROTO_MSN; |
815 ret->name = msn_name; | 822 ret->name = msn_name; |
816 ret->list_icon = NULL; | 823 ret->list_icon = msn_list_icon; |
817 ret->action_menu = NULL; | 824 ret->action_menu = NULL; |
818 ret->user_opts = NULL; | 825 ret->user_opts = NULL; |
819 ret->login = msn_login; | 826 ret->login = msn_login; |
820 ret->close = msn_close; | 827 ret->close = msn_close; |
821 ret->send_im = msn_send_im; | 828 ret->send_im = msn_send_im; |