core cleanup: move out idle_switch field
[siplcs.git] / src / core / sipe.h
blobf662036053f1540ee4d02b8fdb46c70452695461
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 int presence_method_version;
56 gchar *status;
57 gchar *note;
58 time_t note_since;
59 struct _PurpleAccount *account;
62 /**
63 * THE BIG SPLIT - temporary interfaces
65 * Previously private functions in sipe.c that are
66 * - waiting to be factored out to an appropriate module
67 * - are needed by the already created new modules
70 /* libpurple memory leak workaround */
71 void sipe_blist_menu_free_containers(struct sipe_core_private *sipe_private);
73 /*** THE BIG SPLIT END ***/