diff src/protocols/msn/notification.h @ 10463:9bed28273ec7

[gaim-migrate @ 11737] Felipe Contreras fixed the MSN HTTP Method. Yay! Thanks Felipe. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 31 Dec 2004 16:34:22 +0000
parents ab6636c5a136
children bcfea6c3d5c9
line wrap: on
line diff
--- a/src/protocols/msn/notification.h	Fri Dec 31 15:34:18 2004 +0000
+++ b/src/protocols/msn/notification.h	Fri Dec 31 16:34:22 2004 +0000
@@ -36,6 +36,9 @@
 	MsnCmdProc *cmdproc;
 	MsnServConn *servconn;
 
+	gboolean destroying;	/**< A flag that states if the notification is on
+							  the process of being destroyed. */
+
 	gboolean in_use;
 };
 
@@ -56,6 +59,15 @@
 							  const char *host, int port);
 void msn_notification_disconnect(MsnNotification *notification);
 
+/**
+ * Closes a notification.
+ *
+ * It's first closed, and then disconnected.
+ * 
+ * @param notification The notification object to close.
+ */
+void msn_notification_close(MsnNotification *notification);
+
 void msn_got_login_params(MsnSession *session, const char *login_params);
 
 #endif /* _MSN_NOTIFICATION_H_ */