diff src/protocols/msn/msg.h @ 6701:b7e113a59b51

[gaim-migrate @ 7227] Updated to MSN Protocol 9. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 02 Sep 2003 04:32:16 +0000
parents 4f72b611f0ee
children 8efafdc38718
line wrap: on
line diff
--- a/src/protocols/msn/msg.h	Tue Sep 02 04:28:34 2003 +0000
+++ b/src/protocols/msn/msg.h	Tue Sep 02 04:32:16 2003 +0000
@@ -4,7 +4,7 @@
  * gaim
  *
  * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -24,6 +24,7 @@
 
 typedef struct _MsnMessage MsnMessage;
 
+#include "msnslp.h"
 #include "session.h"
 #include "user.h"
 
@@ -34,6 +35,8 @@
 {
 	size_t ref_count;           /**< The reference count.       */
 
+	gboolean msnslp_message;
+
 	MsnUser *sender;
 	MsnUser *receiver;
 
@@ -48,10 +51,15 @@
 	char *charset;
 	char *body;
 
+	MsnSlpHeader msnslp_header;
+	MsnSlpFooter msnslp_footer;
+
 	GHashTable *attr_table;
 	GList *attr_list;
 };
 
+#define MSN_MESSAGE(msg) ((MsnMessage *)(msg))
+
 /**
  * Creates a new, empty message.
  *
@@ -71,6 +79,8 @@
 
 /**
  * Destroys a message.
+ *
+ * @param msg The message to destroy.
  */
 void msn_message_destroy(MsnMessage *msg);