2 * Copyright (C) 2008 Felipe Contreras.
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
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.
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.
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
23 #ifndef MSN_SESSION_PRIVATE_H
24 #define MSN_SESSION_PRIVATE_H
27 #include "io/pecan_node.h"
29 #include "ab/pecan_contact.h"
30 #include "ab/pecan_contactlist.h"
32 #include "io/pecan_node.h"
34 struct MsnNotification;
38 struct _PurpleAccount;
39 struct _PurpleConversation;
46 struct _PurpleAccount *account;
51 MsnLoginStep login_step; /**< The current step in the login process. */
54 gboolean logged_in; /**< A temporal flag to ignore local buddy list adds. */
55 gboolean destroying; /**< A flag that states if the session is being destroyed. */
57 gboolean server_alias;
60 struct MsnNotification *notification;
61 struct MsnNexus *nexus;
64 PecanContactList *contactlist;
66 int servconns_count; /**< The count of server connections. */
67 GList *switches; /**< The list of all the switchboards. */
68 GList *directconns; /**< The list of all the directconnections. */
69 GList *slplinks; /**< The list of all the slplinks. */
71 int conv_seq; /**< The current conversation sequence number. */
83 gulong mail_url_timestamp;
86 guint inbox_unread_count; /* The number of unread e-mails on the inbox. */
89 #endif /* MSN_SESSION_PRIVATE_H */