Mercurial > pidgin
annotate libpurple/purple.h.in @ 21726:56f78bc6c53e
More catching up on things, from 8548e491a5b470d5665cb1cf87a7b0caaa3c87a5:
"Fix all our calls to fcntl(listenfd, F_SETFL, O_NONBLOCK);
fcntl() with F_SETFL overwrites the old flags with the new ones, so
you should call fcntl() with F_GETFL, then OR that value with
O_NONBLOCK before setting the flags. We've been doing this
wrong for a long time and it hasn't seemed to hurt anything,
but I thought it would be good to fix it."
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sun, 02 Dec 2007 17:33:03 +0000 |
parents | b4311f608d80 |
children | 12aa1901081c |
rev | line source |
---|---|
21295
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
1 /** |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
2 * @file purple.h Header files and defines |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
3 * This file contains all the necessary preprocessor directives to include |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
4 * libpurple's headers and other preprocessor directives required for plugins |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
5 * or UIs to build. Inlcuding this file eliminates the need to directly |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
6 * include any other libpurple files. |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
7 * |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
8 * @ingroup core libpurple |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
9 */ |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
10 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
11 /* purple |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
12 * |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
13 * Purple is the legal property of its developers, whose names are too numerous |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
14 * to list here. Please refer to the COPYRIGHT file distributed with this |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
15 * source distribution. |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
16 * |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
17 * This program is free software; you can redistribute it and/or modify |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
18 * it under the terms of the GNU General Public License as published by |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
19 * the Free Software Foundation; either version 2 of the License, or |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
20 * (at your option) any later version. |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
21 * |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
22 * This program is distributed in the hope that it will be useful, |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
25 * GNU General Public License for more details. |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
26 * |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
27 * You should have received a copy of the GNU General Public License |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
28 * along with this program; if not, write to the Free Software |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
29 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
30 */ |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
31 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
32 #ifndef _PURPLE_PURPLE_H_ |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
33 #define _PURPLE_PURPLE_H_ |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
34 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
35 #include <glib.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
36 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
37 #ifndef G_GNUC_NULL_TERMINATED |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
38 # if __GNUC__ >= 4 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
39 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
40 # else |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
41 # define G_GNUC_NULL_TERMINATED |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
42 # endif |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
43 #endif |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
44 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
45 @PLUGINS_DEFINE@ |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
46 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
47 #include <account.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
48 #include <accountopt.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
49 #include <blist.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
50 #include <buddyicon.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
51 #include <certificate.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
52 #include <cipher.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
53 #include <circbuffer.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
54 #include <cmds.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
55 #include <connection.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
56 #include <conversation.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
57 #include <core.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
58 #include <debug.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
59 #include <desktopitem.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
60 #include <dnsquery.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
61 #include <dnssrv.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
62 #include <eventloop.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
63 #include <ft.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
64 #include <idle.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
65 #include <imgstore.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
66 #include <log.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
67 #include <mime.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
68 #include <nat-pmp.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
69 #include <network.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
70 #include <ntlm.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
71 #include <notify.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
72 #include <plugin.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
73 #include <pluginpref.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
74 #include <pounce.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
75 #include <prefs.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
76 #include <privacy.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
77 #include <proxy.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
78 #include <prpl.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
79 #include <request.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
80 #include <roomlist.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
81 #include <savedstatuses.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
82 #include <server.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
83 #include <signals.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
84 #include <status.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
85 #include <stringref.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
86 #include <stun.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
87 #include <sound.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
88 #include <sslconn.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
89 #include <upnp.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
90 #include <util.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
91 #include <value.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
92 #include <version.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
93 #include <xmlnode.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
94 #include <whiteboard.h> |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
95 |
b4311f608d80
Make purple.h a generated file so plugins can just include this and never
Stu Tomlinson <stu@nosnilmot.com>
parents:
diff
changeset
|
96 #endif |