comparison libpurple/protocols/msn/msg.h @ 20510:b77adb803eca

explicit merge of '7aea471c6710708afa40152f5fc3aaeda3d67e76' and 'de8f03b35895989d67321798cda909c34dfffc24'
author Richard Laager <rlaager@wiktel.com>
date Sun, 16 Sep 2007 17:59:57 +0000
parents 60bc06498746
children 723b5a2f91ce
comparison
equal deleted inserted replaced
19647:33ccac7fd32b 20510:b77adb803eca
31 31
32 #include "command.h" 32 #include "command.h"
33 #include "transaction.h" 33 #include "transaction.h"
34 34
35 typedef void (*MsnMsgCb)(MsnMessage *, void *data); 35 typedef void (*MsnMsgCb)(MsnMessage *, void *data);
36
37 #define MSG_BODY_DEM "\r\n\r\n"
38 #define MSG_LINE_DEM "\r\n"
39
40 #define MSG_OIM_BODY_DEM "\n\n"
41 #define MSG_OIM_LINE_DEM "\n"
36 42
37 /* 43 /*
38 typedef enum 44 typedef enum
39 { 45 {
40 MSN_MSG_NORMAL, 46 MSN_MSG_NORMAL,
178 * @param msg The message. 184 * @param msg The message.
179 * @param payload The payload. 185 * @param payload The payload.
180 * @param payload_len The length of the payload. 186 * @param payload_len The length of the payload.
181 */ 187 */
182 void msn_message_parse_payload(MsnMessage *msg, const char *payload, 188 void msn_message_parse_payload(MsnMessage *msg, const char *payload,
183 size_t payload_len); 189 size_t payload_len,
190 const char *line_dem,const char *body_dem);
184 191
185 /** 192 /**
186 * Destroys a message. 193 * Destroys a message.
187 * 194 *
188 * @param msg The message to destroy. 195 * @param msg The message to destroy.