comparison libpurple/protocols/msn/notification.h @ 20482:1754155051a4

propagate from branch 'im.pidgin.pidgin' (head 4313008137cace2c9699584ec7308c1e888ae137) to branch 'im.pidgin.cpw.khc.msnp14' (head d42c2c6500b8f7eb1ad6340caf7f1b95d9b02c1b)
author Carlos Silva <typ0@pidgin.im>
date Tue, 28 Aug 2007 04:38:24 +0000
parents eb93710aec4d
children 723b5a2f91ce
comparison
equal deleted inserted replaced
19508:f0c3497e2ea6 20482:1754155051a4
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */ 23 */
24 #ifndef _MSN_NOTIFICATION_H_ 24 #ifndef _MSN_NOTIFICATION_H_
25 #define _MSN_NOTIFICATION_H_ 25 #define _MSN_NOTIFICATION_H_
26 26
27 /*MSN protocol challenge info*/
28 /*MSNP13 challenge*/
29 #define MSNP13_WLM_PRODUCT_KEY "O4BG@C7BWLYQX?5G"
30 #define MSNP13_WLM_PRODUCT_ID "PROD01065C%ZFN6F"
31
32 #define MSNP10_PRODUCT_KEY "VT6PX?UQTM4WM%YR"
33 #define MSNP10_PRODUCT_ID "PROD0038W!61ZTF9"
34
27 typedef struct _MsnNotification MsnNotification; 35 typedef struct _MsnNotification MsnNotification;
28 36
29 #include "session.h" 37 #include "session.h"
30 #include "servconn.h" 38 #include "servconn.h"
31 #include "cmdproc.h" 39 #include "cmdproc.h"
38 46
39 gboolean in_use; 47 gboolean in_use;
40 }; 48 };
41 49
42 #include "state.h" 50 #include "state.h"
51 void uum_send_msg(MsnSession *session,MsnMessage *msg);
43 52
44 void msn_notification_end(void); 53 void msn_notification_end(void);
45 void msn_notification_init(void); 54 void msn_notification_init(void);
46 55
47 void msn_notification_add_buddy(MsnNotification *notification, 56 void msn_notification_add_buddy_to_list(MsnNotification *notification,
48 const char *list, const char *who, 57 MsnListId list_id, const char *who);
49 const char *store_name, int group_id); 58 void msn_notification_rem_buddy_from_list(MsnNotification *notification,
50 void msn_notification_rem_buddy(MsnNotification *notification, 59 MsnListId list_id, const char *who);
51 const char *list, const char *who, 60
52 int group_id); 61 void msn_notification_send_fqy(MsnSession *session, const char *passport);
62
53 MsnNotification *msn_notification_new(MsnSession *session); 63 MsnNotification *msn_notification_new(MsnSession *session);
54 void msn_notification_destroy(MsnNotification *notification); 64 void msn_notification_destroy(MsnNotification *notification);
55 gboolean msn_notification_connect(MsnNotification *notification, 65 gboolean msn_notification_connect(MsnNotification *notification,
56 const char *host, int port); 66 const char *host, int port);
57 void msn_notification_disconnect(MsnNotification *notification); 67 void msn_notification_disconnect(MsnNotification *notification);
68 void msn_notification_dump_contact(MsnSession *session);
58 69
59 /** 70 /**
60 * Closes a notification. 71 * Closes a notification.
61 * 72 *
62 * It's first closed, and then disconnected. 73 * It's first closed, and then disconnected.