comparison src/protocols/msn/oim.h @ 19790:4f21c73a0c48

[gaim-migrate @ 16613] add oim retrieve,can get oim message write the framework of oim send Committed by MaYuan <mayuan2006@gmail.com> committer: Ethan Blanton <elb@pidgin.im>
author Ma Yuan <mayuan2006@gmail.com>
date Wed, 02 Aug 2006 05:44:42 +0000
parents 7e36832172a9
children c2f3cd6626e1
comparison
equal deleted inserted replaced
19789:7e36832172a9 19790:4f21c73a0c48
88 struct _MsnOim 88 struct _MsnOim
89 { 89 {
90 MsnSession *session; 90 MsnSession *session;
91 91
92 MsnSoapConn *retrieveconn; 92 MsnSoapConn *retrieveconn;
93 GList * oim_list;
93 94
94 MsnSoapConn *sendconn; 95 MsnSoapConn *sendconn;
95 gint LockKeyChallenge; 96 gint LockKeyChallenge;
96 }; 97 };
97 98
98 /*function prototype*/ 99 /****************************************************
100 * function prototype
101 * **************************************************/
99 MsnOim * msn_oim_new(MsnSession *session); 102 MsnOim * msn_oim_new(MsnSession *session);
100 void msn_oim_destroy(MsnOim *oim); 103 void msn_oim_destroy(MsnOim *oim);
101 void msn_oim_connect(MsnOim *oim); 104 void msn_oim_connect(MsnOim *oim);
102 105
103 void msn_parse_oim_msg(MsnOim *oim,char *xmlmsg); 106 void msn_parse_oim_msg(MsnOim *oim,char *xmlmsg);
104 107
105 void msn_oim_get_msg(MsnOim *oim,char *msgid); 108 /*get the OIM message*/
109 void msn_oim_get_msg(MsnOim *oim);
110
111 /*report the oim message to the conversation*/
112 void msn_oim_report_user(MsnOim *oim,const char *passport,char *msg);
113
106 #endif/* _MSN_OIM_H_*/ 114 #endif/* _MSN_OIM_H_*/
107 /*endof oim.h*/ 115 /*endof oim.h*/