diff src/protocols/msn/command.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 a7affa2e2986
children ab6636c5a136
line wrap: on
line diff
--- a/src/protocols/msn/command.h	Sun Jun 06 02:16:08 2004 +0000
+++ b/src/protocols/msn/command.h	Sun Jun 06 02:39:08 2004 +0000
@@ -27,8 +27,10 @@
 #include "cmdproc.h"
 #include "transaction.h"
 
-/* typedef void (*MsnPayloadCb)(MsnCmdProc *cmdproc, MsnCommand *cmd, char
- * *payload, size_t len); */
+#if 1
+typedef void (*MsnPayloadCb)(MsnCmdProc *cmdproc, MsnCommand *cmd,
+							 char *payload, size_t len);
+#endif
 
 /**
  * A received command.
@@ -44,7 +46,11 @@
 	int ref_count;
 
 	MsnTransaction *trans;
-	/* MsnPayloadCb payload_cb; */
+
+	char *payload;
+	size_t payload_len;
+
+	MsnPayloadCb payload_cb;
 };
 
 MsnCommand *msn_command_from_string(const char *string);