comparison src/protocols/msn/servconn.h @ 5962:115769a4c6fc

[gaim-migrate @ 6409] Guess I found out. It crashes gaim! This fix should work... hahahaha right. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 26 Jun 2003 10:13:58 +0000
parents 4f72b611f0ee
children b7e113a59b51
comparison
equal deleted inserted replaced
5961:fc8ba872a43f 5962:115769a4c6fc
32 32
33 typedef gboolean (*MsnServConnMsgCb)(MsnServConn *servconn, MsnMessage *msg); 33 typedef gboolean (*MsnServConnMsgCb)(MsnServConn *servconn, MsnMessage *msg);
34 34
35 #include "session.h" 35 #include "session.h"
36 36
37 typedef enum
38 {
39 MSN_MULTILINE_MSG,
40 MSN_MULTILINE_IPG,
41 MSN_MULTILINE_NOT
42
43 } MsnMultilineType;
44
37 struct _MsnServConn 45 struct _MsnServConn
38 { 46 {
39 MsnSession *session; 47 MsnSession *session;
40 48
41 gboolean connected; 49 gboolean connected;
51 59
52 GSList *msg_queue; 60 GSList *msg_queue;
53 61
54 GSList *txqueue; 62 GSList *txqueue;
55 63
56 gboolean parsing_msg; 64 gboolean parsing_multiline;
65 MsnMultilineType multiline_type;
57 char *msg_passport; 66 char *msg_passport;
58 char *msg_friendly; 67 char *msg_friendly;
59 int msg_len; 68 int multiline_len;
60 69
61 GHashTable *commands; 70 GHashTable *commands;
62 GHashTable *msg_types; 71 GHashTable *msg_types;
63 72
64 gboolean (*connect_cb)(gpointer, gint, GaimInputCondition); 73 gboolean (*connect_cb)(gpointer, gint, GaimInputCondition);