Mercurial > pidgin.yaz
comparison src/protocols/msn/notification.h @ 9193:502707ca1836
[gaim-migrate @ 9988]
Patch by Felipe Contreras to add MSN file transfer and buddy icons. Please
test and report any bugs!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 06 Jun 2004 02:39:08 +0000 |
parents | bbd8cdaf0ad5 |
children | ab6636c5a136 |
comparison
equal
deleted
inserted
replaced
9192:5655dcd94d0f | 9193:502707ca1836 |
---|---|
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 */ | 21 */ |
22 #ifndef _MSN_NOTIFICATION_H_ | 22 #ifndef _MSN_NOTIFICATION_H_ |
23 #define _MSN_NOTIFICATION_H_ | 23 #define _MSN_NOTIFICATION_H_ |
24 | 24 |
25 typedef struct _MsnNotification MsnNotification; | |
26 | |
25 #include "session.h" | 27 #include "session.h" |
26 #include "servconn.h" | 28 #include "servconn.h" |
29 #include "cmdproc.h" | |
27 | 30 |
28 /** | 31 struct _MsnNotification |
29 * Initialize the variables for notifiaction server creation. | 32 { |
30 */ | 33 MsnSession *session; |
34 MsnCmdProc *cmdproc; | |
35 MsnServConn *servconn; | |
36 | |
37 gboolean in_use; | |
38 }; | |
39 | |
40 #include "state.h" | |
41 | |
42 void msn_notification_end(void); | |
31 void msn_notification_init(void); | 43 void msn_notification_init(void); |
32 | 44 |
33 /** | 45 void msn_notification_add_buddy(MsnNotification *notification, |
34 * Destroy the variables for notification server creation. | 46 const char *list, const char *who, |
35 */ | 47 const char *store_name, int group_id); |
36 void msn_notification_end(void); | 48 void msn_notification_rem_buddy(MsnNotification *notification, |
49 const char *list, const char *who, | |
50 int group_id); | |
51 MsnNotification *msn_notification_new(MsnSession *session); | |
52 void msn_notification_destroy(MsnNotification *notification); | |
53 gboolean msn_notification_connect(MsnNotification *notification, | |
54 const char *host, int port); | |
55 void msn_notification_disconnect(MsnNotification *notification); | |
37 | 56 |
38 MsnServConn *msn_notification_new(MsnSession *session); | 57 void msn_got_login_params(MsnSession *session, const char *login_params); |
39 gboolean msn_notification_connect(MsnServConn *notification, | |
40 const char *host, int port); | |
41 void msn_notification_disconnect(MsnServConn *notification); | |
42 | 58 |
43 #endif /* _MSN_NOTIFICATION_H_ */ | 59 #endif /* _MSN_NOTIFICATION_H_ */ |