Fix broken `priv != NULL` checks in Pidgin.
[pidgin-git.git] / pidgin / gtkconn.h
blob02e446e2c398f1a188dad58b5fb52be987a954cd
1 /* pidgin
3 * Pidgin is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
22 #ifndef _PIDGINCONN_H_
23 #define _PIDGINCONN_H_
24 /**
25 * SECTION:gtkconn
26 * @section_id: pidgin-gtkconn
27 * @short_description: <filename>gtkconn.h</filename>
28 * @title: Connection API
31 G_BEGIN_DECLS
33 /**************************************************************************/
34 /* GTK+ Connection API */
35 /**************************************************************************/
37 /**
38 * pidgin_connections_get_ui_ops:
40 * Gets GTK+ Connection UI ops
42 * Returns: UI operations struct
44 PurpleConnectionUiOps *pidgin_connections_get_ui_ops(void);
46 /**
47 * pidgin_connection_get_handle:
49 * Returns the GTK+ connection handle.
51 * Returns: The handle to the GTK+ connection system.
53 void *pidgin_connection_get_handle(void);
55 /**
56 * pidgin_connection_init:
58 * Initializes the GTK+ connection system.
60 void pidgin_connection_init(void);
62 /**
63 * pidgin_connection_uninit:
65 * Uninitializes the GTK+ connection system.
67 void pidgin_connection_uninit(void);
69 G_END_DECLS
71 #endif /* _PIDGINCONN_H_ */