Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 86 lines (67 sloc) 2.497 kb
faca3ad @felipec Cleanup session and split into private.
authored
1 /**
2 * Copyright (C) 2008 Felipe Contreras.
3 *
4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */
22
23 #ifndef MSN_SESSION_PRIVATE_H
24 #define MSN_SESSION_PRIVATE_H
25
26 #include "session.h"
70986c2 @felipec Prefix io stuff with 'pecan'.
authored
27 #include "io/pecan_node.h"
faca3ad @felipec Cleanup session and split into private.
authored
28
2149e86 @felipec Rename AB stuff.
authored
29 #include "ab/pecan_contact.h"
30 #include "ab/pecan_contactlist.h"
8a84030 @felipec Move user, userlist and group stuff to 'ab' subir.
authored
31
70986c2 @felipec Prefix io stuff with 'pecan'.
authored
32 #include "io/pecan_node.h"
faca3ad @felipec Cleanup session and split into private.
authored
33
34 struct MsnNotification;
35 struct MsnNexus;
36 struct MsnSync;
37
38 struct _PurpleAccount;
39 struct _PurpleConversation;
40
41 struct MsnSession
42 {
43 struct _PurpleAccount *account;
2149e86 @felipec Rename AB stuff.
authored
44 PecanContact *user;
faca3ad @felipec Cleanup session and split into private.
authored
45
46 guint protocol_ver;
47
48 MsnLoginStep login_step; /**< The current step in the login process. */
49
50 gboolean connected;
51 gboolean logged_in; /**< A temporal flag to ignore local buddy list adds. */
52 gboolean destroying; /**< A flag that states if the session is being destroyed. */
53 gboolean http_method;
70986c2 @felipec Prefix io stuff with 'pecan'.
authored
54 PecanNode *http_conn;
faca3ad @felipec Cleanup session and split into private.
authored
55
56 struct MsnNotification *notification;
57 struct MsnNexus *nexus;
58 struct MsnSync *sync;
59
2149e86 @felipec Rename AB stuff.
authored
60 PecanContactList *contactlist;
faca3ad @felipec Cleanup session and split into private.
authored
61
62 int servconns_count; /**< The count of server connections. */
63 GList *switches; /**< The list of all the switchboards. */
64 GList *directconns; /**< The list of all the directconnections. */
65 GList *slplinks; /**< The list of all the slplinks. */
66
67 int conv_seq; /**< The current conversation sequence number. */
68
69 struct
70 {
71 char *kv;
72 char *sid;
73 char *mspauth;
74 unsigned long sl;
75 char *file;
76 char *client_ip;
77 int client_port;
78
79 } passport_info;
833a95e @felipec Fix initial unread mails notification.
authored
80
81 guint inbox_unread_count; /* The number of unread e-mails on the inbox. */
82 gulong login_timestamp;
faca3ad @felipec Cleanup session and split into private.
authored
83 };
84
85 #endif /* MSN_SESSION_PRIVATE_H */
Something went wrong with that request. Please try again.