core cleanup: move out containers field
[siplcs.git] / src / core / sipe.h
blob70c9e957a5a0459183e169dc2e36979faa538337
1 /**
2 * @file sipe.h
4 *****************************************************************************
5 *** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ***
6 *** ***
7 *** THIS INTERFACE IS DEPECRATED ***
8 *** ***
9 *** DO NOT INCLUDE IT IN ANY NEW CODE ***
10 *** ***
11 *** !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ***
12 *****************************************************************************
14 * pidgin-sipe
16 * Copyright (C) 2010-11 SIPE Project <http://sipe.sourceforge.net/>
17 * Copyright (C) 2008 Novell, Inc.
18 * Copyright (C) 2007 Anibal Avelar <avelar@gmail.com>
19 * Copyright (C) 2005 Thomas Butter <butter@uni-mannheim.de>
21 * This program is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License as published by
23 * the Free Software Foundation; either version 2 of the License, or
24 * (at your option) any later version.
26 * This program is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
31 * You should have received a copy of the GNU General Public License
32 * along with this program; if not, write to the Free Software
33 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 * Interface dependencies:
39 * <time.h>
40 * <glib.h>
43 /* Forward declarations */
44 struct _PurpleAccount;
45 struct _PurpleConnection;
46 struct sipe_core_private;
48 struct sipe_account_data {
49 struct _PurpleConnection *gc;
50 gchar *authdomain;
51 gchar *authuser;
52 gchar *password;
53 /** Allowed server events to subscribe. From register OK response. */
54 GSList *allow_events;
55 GSList *our_publication_keys; /* [MS-PRES] */
56 GHashTable *our_publications; /* [MS-PRES] */
57 GHashTable *user_state_publications; /* [MS-PRES] */
58 int presence_method_version;
59 time_t do_not_publish[SIPE_ACTIVITY_NUM_TYPES];
60 gchar *status;
61 gchar *note;
62 time_t note_since;
63 time_t idle_switch;
64 struct _PurpleAccount *account;
67 /**
68 * THE BIG SPLIT - temporary interfaces
70 * Previously private functions in sipe.c that are
71 * - waiting to be factored out to an appropriate module
72 * - are needed by the already created new modules
75 /* libpurple memory leak workaround */
76 void sipe_blist_menu_free_containers(struct sipe_core_private *sipe_private);
78 /*** THE BIG SPLIT END ***/