Mon, 07 Apr 2014 20:02:22 +0530
Merged default branch
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19859
diff
changeset
|
1 | /* purple |
| 5872 | 2 | * |
| 15884 | 3 | * Purple is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
|
11137
cf40226ddff7
[gaim-migrate @ 13201]
Mark Doliner <markdoliner@pidgin.im>
parents:
10589
diff
changeset
|
6 | * |
| 5872 | 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. | |
| 11 | * | |
| 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. | |
| 16 | * | |
| 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 | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19742
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5872 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35469
diff
changeset
|
21 | |
| 15884 | 22 | #ifndef _PURPLE_INTERNAL_H_ |
| 23 | #define _PURPLE_INTERNAL_H_ | |
|
35462
901dfa763f15
Fix some gtk-doc warnings till proxy.c
Ankit Vani <a@nevitus.org>
parents:
35440
diff
changeset
|
24 | /* |
|
35440
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
25 | * SECTION:internal |
|
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
26 | * @section_id: libpurple-internal |
|
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
27 | * @short_description: <filename>internal.h</filename> |
|
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
28 | * @title: Internal definitions and includes |
|
467bb21b82a1
Add section blocks for debug.h to prpl.h
Ankit Vani <a@nevitus.org>
parents:
35397
diff
changeset
|
29 | */ |
| 5872 | 30 | |
| 31 | #ifdef HAVE_CONFIG_H | |
|
6371
e92b66ee5518
[gaim-migrate @ 6876]
Christian Hammond <chipx86@chipx86.com>
parents:
6170
diff
changeset
|
32 | # include <config.h> |
| 5872 | 33 | #endif |
| 34 | ||
|
19742
4e76841db5c0
Fix compilation on SkyOS. This patch is from Peter Speybrouk, a.k.a.
Ethan Blanton <elb@pidgin.im>
parents:
18609
diff
changeset
|
35 | /* for SIOCGIFCONF in SKYOS */ |
|
4e76841db5c0
Fix compilation on SkyOS. This patch is from Peter Speybrouk, a.k.a.
Ethan Blanton <elb@pidgin.im>
parents:
18609
diff
changeset
|
36 | #ifdef SKYOS |
|
4e76841db5c0
Fix compilation on SkyOS. This patch is from Peter Speybrouk, a.k.a.
Ethan Blanton <elb@pidgin.im>
parents:
18609
diff
changeset
|
37 | #include <net/sockios.h> |
|
4e76841db5c0
Fix compilation on SkyOS. This patch is from Peter Speybrouk, a.k.a.
Ethan Blanton <elb@pidgin.im>
parents:
18609
diff
changeset
|
38 | #endif |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
39 | /* |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
40 | * If we're using NLS, make sure gettext works. If not, then define |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
41 | * dummy macros in place of the normal gettext macros. |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
42 | * |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
43 | * Also, the perl XS config.h file sometimes defines _ So we need to |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
44 | * make sure _ isn't already defined before trying to define it. |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
45 | * |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
46 | * The Singular/Plural/Number ngettext dummy definition below was |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
47 | * taken from an email to the texinfo mailing list by Manuel Guerrero. |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
48 | * Thank you Manuel, and thank you Alex's good friend Google. |
|
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
49 | */ |
| 5872 | 50 | #ifdef ENABLE_NLS |
|
8737
b9f8de95d6bb
[gaim-migrate @ 9492]
Mark Doliner <markdoliner@pidgin.im>
parents:
8735
diff
changeset
|
51 | # include <locale.h> |
|
35660
c7a49364ce5f
Fix load of warnings on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35556
diff
changeset
|
52 | # ifndef __APPLE_CC__ |
|
c7a49364ce5f
Fix load of warnings on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35556
diff
changeset
|
53 | # define __APPLE_CC__ 0 |
|
c7a49364ce5f
Fix load of warnings on win32
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35556
diff
changeset
|
54 | # endif |
| 5872 | 55 | # include <libintl.h> |
|
35139
c30787ce6256
Use external libgadu for win32 build and update some dependencies. Refs #343
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35091
diff
changeset
|
56 | # undef printf |
|
16124
8e5e3e9ada60
Hopefully prevent libpurple causing problems for 3rd party UIs if they also
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15929
diff
changeset
|
57 | # define _(String) ((const char *)dgettext(PACKAGE, String)) |
| 5872 | 58 | # ifdef gettext_noop |
| 59 | # define N_(String) gettext_noop (String) | |
| 60 | # else | |
| 61 | # define N_(String) (String) | |
| 62 | # endif | |
| 63 | #else | |
| 8730 | 64 | # include <locale.h> |
| 5872 | 65 | # define N_(String) (String) |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
66 | # ifndef _ |
|
14342
9059c7771ef1
[gaim-migrate @ 16965]
Mark Doliner <markdoliner@pidgin.im>
parents:
14333
diff
changeset
|
67 | # define _(String) ((const char *)String) |
|
9999
86e89e1dee10
[gaim-migrate @ 10913]
Mark Doliner <markdoliner@pidgin.im>
parents:
8793
diff
changeset
|
68 | # endif |
|
13107
704041197f4d
[gaim-migrate @ 15468]
Richard Laager <rlaager@pidgin.im>
parents:
13105
diff
changeset
|
69 | # define ngettext(Singular, Plural, Number) ((Number == 1) ? ((const char *)Singular) : ((const char *)Plural)) |
|
16124
8e5e3e9ada60
Hopefully prevent libpurple causing problems for 3rd party UIs if they also
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15929
diff
changeset
|
70 | # define dngettext(Domain, Singular, Plural, Number) ((Number == 1) ? ((const char *)Singular) : ((const char *)Plural)) |
| 5872 | 71 | #endif |
| 72 | ||
| 73 | #ifdef HAVE_ENDIAN_H | |
| 74 | # include <endian.h> | |
| 75 | #endif | |
| 76 | ||
| 77 | #define MSG_LEN 2048 | |
| 78 | /* The above should normally be the same as BUF_LEN, | |
|
8735
01248ea222d3
[gaim-migrate @ 9490]
Jonathan Champ <royanee@users.sourceforge.net>
parents:
8730
diff
changeset
|
79 | * but just so we're explicitly asking for the max message |
| 5872 | 80 | * length. */ |
| 81 | #define BUF_LEN MSG_LEN | |
| 82 | #define BUF_LONG BUF_LEN * 2 | |
| 83 | ||
| 84 | #include <sys/types.h> | |
|
5912
32619a71edd2
[gaim-migrate @ 6344]
Herman Bloggs <herman@bluedigits.com>
parents:
5872
diff
changeset
|
85 | #ifndef _WIN32 |
|
14333
13d7807ae88c
[gaim-migrate @ 16954]
Daniel Atallah <datallah@pidgin.im>
parents:
14254
diff
changeset
|
86 | #include <sys/time.h> |
| 5872 | 87 | #include <sys/wait.h> |
| 13875 | 88 | #include <sys/time.h> |
|
5912
32619a71edd2
[gaim-migrate @ 6344]
Herman Bloggs <herman@bluedigits.com>
parents:
5872
diff
changeset
|
89 | #endif |
| 5872 | 90 | #include <ctype.h> |
| 91 | #include <errno.h> | |
| 92 | #include <fcntl.h> | |
| 93 | #include <math.h> | |
| 94 | #include <stdio.h> | |
| 95 | #include <stdlib.h> | |
| 96 | #include <string.h> | |
| 97 | #include <time.h> | |
| 98 | ||
| 99 | #ifdef HAVE_ICONV | |
| 100 | #include <iconv.h> | |
| 101 | #endif | |
| 102 | ||
| 103 | #ifdef HAVE_LANGINFO_CODESET | |
| 104 | #include <langinfo.h> | |
| 105 | #endif | |
| 106 | ||
| 15884 | 107 | #ifdef PURPLE_PLUGINS |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
24569
diff
changeset
|
108 | # ifdef HAVE_DLFCN_H |
| 5872 | 109 | # include <dlfcn.h> |
| 110 | # endif | |
| 111 | #endif | |
| 112 | ||
|
5912
32619a71edd2
[gaim-migrate @ 6344]
Herman Bloggs <herman@bluedigits.com>
parents:
5872
diff
changeset
|
113 | #ifndef _WIN32 |
| 5872 | 114 | # include <netinet/in.h> |
| 115 | # include <sys/socket.h> | |
| 6170 | 116 | # include <arpa/inet.h> |
| 5872 | 117 | # include <sys/un.h> |
| 118 | # include <sys/utsname.h> | |
| 119 | # include <netdb.h> | |
| 120 | # include <signal.h> | |
| 121 | # include <unistd.h> | |
| 122 | #endif | |
| 123 | ||
| 124 | #ifndef HOST_NAME_MAX | |
| 125 | # define HOST_NAME_MAX 255 | |
| 126 | #endif | |
| 127 | ||
| 128 | #include <glib.h> | |
|
29491
31c1d615772e
Kill off unneeded GLIB_CHECK_VERSION checks in libpurple. Refs #10024.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27708
diff
changeset
|
129 | #include <glib/gstdio.h> |
|
10589
4e10236e06d4
[gaim-migrate @ 11994]
Daniel Atallah <datallah@pidgin.im>
parents:
10588
diff
changeset
|
130 | |
|
14974
8180f0f2e20c
[gaim-migrate @ 17684]
Daniel Atallah <datallah@pidgin.im>
parents:
14707
diff
changeset
|
131 | #ifdef _WIN32 |
|
8180f0f2e20c
[gaim-migrate @ 17684]
Daniel Atallah <datallah@pidgin.im>
parents:
14707
diff
changeset
|
132 | #include "win32dep.h" |
|
8180f0f2e20c
[gaim-migrate @ 17684]
Daniel Atallah <datallah@pidgin.im>
parents:
14707
diff
changeset
|
133 | #endif |
|
8180f0f2e20c
[gaim-migrate @ 17684]
Daniel Atallah <datallah@pidgin.im>
parents:
14707
diff
changeset
|
134 | |
|
27708
5dc9e57a6685
HAVE_CONFIG_H is not defined when building the perl plugin, so work around
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27705
diff
changeset
|
135 | #ifdef HAVE_CONFIG_H |
|
27705
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
136 | #if SIZEOF_TIME_T == 4 |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
137 | # define PURPLE_TIME_T_MODIFIER "lu" |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
138 | #elif SIZEOF_TIME_T == 8 |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
139 | # define PURPLE_TIME_T_MODIFIER "zu" |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
140 | #else |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
141 | #error Unknown size of time_t |
|
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
142 | #endif |
|
27708
5dc9e57a6685
HAVE_CONFIG_H is not defined when building the perl plugin, so work around
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27705
diff
changeset
|
143 | #endif |
|
27705
06cdb9c6366f
Fix this compiler warning:
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
27539
diff
changeset
|
144 | |
|
35681
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
145 | #ifdef __clang__ |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
146 | |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
147 | #define PURPLE_BEGIN_IGNORE_CAST_ALIGN \ |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
148 | _Pragma ("clang diagnostic push") \ |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
149 | _Pragma ("clang diagnostic ignored \"-Wcast-align\"") |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
150 | |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
151 | #define PURPLE_END_IGNORE_CAST_ALIGN \ |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
152 | _Pragma ("clang diagnostic pop") |
|
26615
2171a9101814
Add G_DEFINE_TYPE compatibility define from gobjectification branch.
Michael Ruprecht <maiku@pidgin.im>
parents:
25888
diff
changeset
|
153 | |
|
35681
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
154 | #else |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
155 | |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
156 | #define PURPLE_BEGIN_IGNORE_CAST_ALIGN |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
157 | #define PURPLE_END_IGNORE_CAST_ALIGN |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
158 | |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
159 | #endif /* __clang__ */ |
|
54694ef14d46
Silc: ignore Wcast-align in silc.h
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
35578
diff
changeset
|
160 | |
|
26615
2171a9101814
Add G_DEFINE_TYPE compatibility define from gobjectification branch.
Michael Ruprecht <maiku@pidgin.im>
parents:
25888
diff
changeset
|
161 | #include <glib-object.h> |
|
13105
8f9c66e4af87
[gaim-migrate @ 15466]
Richard Laager <rlaager@pidgin.im>
parents:
11677
diff
changeset
|
162 | |
|
35556
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
163 | typedef union |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
164 | { |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
165 | struct sockaddr sa; |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
166 | struct sockaddr_in in; |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
167 | struct sockaddr_in6 in6; |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
168 | struct sockaddr_storage storage; |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
169 | } common_sockaddr_t; |
|
eeb82d3d33b1
Add missing typedef
Tomasz Wasilczyk <twasilczyk@pidgin.im>
parents:
29491
diff
changeset
|
170 | |
|
33955
55aa58076485
Use https URLs for pidgin.im and developer.pidgin.im.
Mark Doliner <mark@kingant.net>
parents:
33940
diff
changeset
|
171 | #define PURPLE_WEBSITE "https://pidgin.im/" |
|
55aa58076485
Use https URLs for pidgin.im and developer.pidgin.im.
Mark Doliner <mark@kingant.net>
parents:
33940
diff
changeset
|
172 | #define PURPLE_DEVEL_WEBSITE "https://developer.pidgin.im/" |
| 5872 | 173 | |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
174 | |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
175 | /* INTERNAL FUNCTIONS */ |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
176 | |
|
34575
e08f2d070470
Refactored libpurple/plugins according to changes to PurpleAccount
Ankit Vani <a@nevitus.org>
parents:
33955
diff
changeset
|
177 | #include "accounts.h" |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
178 | #include "connection.h" |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
179 | |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
180 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
181 | * _purple_account_set_current_error: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
182 | * @account: The account to set the error for. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
183 | * @new_err: The #PurpleConnectionErrorInfo instance representing the |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
184 | * error. |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
185 | * |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
186 | * Sets an error for an account. |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
187 | */ |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
188 | void _purple_account_set_current_error(PurpleAccount *account, |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
189 | PurpleConnectionErrorInfo *new_err); |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
190 | |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
191 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
192 | * _purple_account_to_xmlnode: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
193 | * @account: The account |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
194 | * |
|
35178
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
195 | * Get an XML description of an account. |
|
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
196 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
197 | * Returns: The XML description of the account. |
|
35178
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
198 | */ |
|
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
199 | PurpleXmlNode *_purple_account_to_xmlnode(PurpleAccount *account); |
|
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
200 | |
|
7c775624f964
Move (_)purple_account_to_xmlnode to internal.h
Ankit Vani <a@nevitus.org>
parents:
35139
diff
changeset
|
201 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
202 | * _purple_blist_get_last_child: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
203 | * @node: The node whose last child is to be retrieved. |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
204 | * |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
205 | * Returns the last child of a particular node. |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
206 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
207 | * Returns: The last child of the node. |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
208 | */ |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
209 | PurpleBlistNode *_purple_blist_get_last_child(PurpleBlistNode *node); |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
210 | |
|
16565
f5cd28cc7367
Ref the filenames for account buddy icons on load.
Richard Laager <rlaager@pidgin.im>
parents:
16421
diff
changeset
|
211 | /* This is for the accounts code to notify the buddy icon code that |
|
f5cd28cc7367
Ref the filenames for account buddy icons on load.
Richard Laager <rlaager@pidgin.im>
parents:
16421
diff
changeset
|
212 | * it's done loading. We may want to replace this with a signal. */ |
|
f5cd28cc7367
Ref the filenames for account buddy icons on load.
Richard Laager <rlaager@pidgin.im>
parents:
16421
diff
changeset
|
213 | void |
|
16696
450ba3bd5b63
The GNOME coding guidelines recommend prefixing internal symbols with an underscore.
Richard Laager <rlaager@pidgin.im>
parents:
16565
diff
changeset
|
214 | _purple_buddy_icons_account_loaded_cb(void); |
|
16565
f5cd28cc7367
Ref the filenames for account buddy icons on load.
Richard Laager <rlaager@pidgin.im>
parents:
16421
diff
changeset
|
215 | |
|
16421
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
16158
diff
changeset
|
216 | /* This is for the buddy list to notify the buddy icon code that |
|
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
16158
diff
changeset
|
217 | * it's done loading. We may want to replace this with a signal. */ |
|
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
16158
diff
changeset
|
218 | void |
|
16696
450ba3bd5b63
The GNOME coding guidelines recommend prefixing internal symbols with an underscore.
Richard Laager <rlaager@pidgin.im>
parents:
16565
diff
changeset
|
219 | _purple_buddy_icons_blist_loaded_cb(void); |
|
16421
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
16158
diff
changeset
|
220 | |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
221 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
222 | * _purple_connection_new: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
223 | * @account: The account the connection should be connecting to. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
224 | * @regist: Whether we are registering a new account or just |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
225 | * trying to do a normal signon. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
226 | * @password: The password to use. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
227 | * |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
228 | * Creates a connection to the specified account and either connects |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
229 | * or attempts to register a new account. If you are logging in, |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
230 | * the connection uses the current active status for this account. |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
231 | * So if you want to sign on as "away," for example, you need to |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
232 | * have called purple_account_set_status(account, "away"). |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
233 | * (And this will call purple_account_connect() automatically). |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
234 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
235 | * Note: This function should only be called by purple_account_connect() |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
236 | * in account.c. If you're trying to sign on an account, use that |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
237 | * function instead. |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
238 | */ |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
239 | void _purple_connection_new(PurpleAccount *account, gboolean regist, |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
240 | const char *password); |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
241 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
242 | * _purple_connection_new_unregister: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
243 | * @account: The account to unregister |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
244 | * @password: The password to use. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
245 | * @cb: Optional callback to be called when unregistration is complete |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
246 | * @user_data: user data to pass to the callback |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
247 | * |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
248 | * Tries to unregister the account on the server. If the account is not |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
249 | * connected, also creates a new connection. |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
250 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
251 | * Note: This function should only be called by purple_account_unregister() |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
252 | * in account.c. |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
253 | */ |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
254 | void _purple_connection_new_unregister(PurpleAccount *account, const char *password, |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
255 | PurpleAccountUnregistrationCb cb, void *user_data); |
|
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
256 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
257 | * _purple_connection_wants_to_die: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
258 | * @gc: The connection to check |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
259 | * |
|
34751
374a9500c430
Added _purple_connection_wants_to_die() to internal.h to be used by account.c. Removed _purple_connection_destroy().
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
260 | * Checks if a connection is disconnecting, and should not attempt to reconnect. |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
261 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
262 | * Note: This function should only be called by purple_account_set_enabled() |
|
34751
374a9500c430
Added _purple_connection_wants_to_die() to internal.h to be used by account.c. Removed _purple_connection_destroy().
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
263 | * in account.c. |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
264 | */ |
|
34751
374a9500c430
Added _purple_connection_wants_to_die() to internal.h to be used by account.c. Removed _purple_connection_destroy().
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
265 | gboolean _purple_connection_wants_to_die(const PurpleConnection *gc); |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
266 | |
|
34755
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
267 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
268 | * _purple_connection_add_active_chat: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
269 | * @gc: The connection |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
270 | * @chat: The chat conversation to add |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
271 | * |
|
34755
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
272 | * Adds a chat to the active chats list of a connection |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
273 | * |
|
35499
c4c5e0a670b1
Fix namespaces issues in libpurple.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
274 | * Note: This function should only be called by purple_serv_got_joined_chat() |
|
34755
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
275 | * in server.c. |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
276 | */ |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
277 | void _purple_connection_add_active_chat(PurpleConnection *gc, |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
278 | PurpleChatConversation *chat); |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
279 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
280 | * _purple_connection_remove_active_chat: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
281 | * @gc: The connection |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
282 | * @chat: The chat conversation to remove |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
283 | * |
|
34755
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
284 | * Removes a chat from the active chats list of a connection |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
285 | * |
|
35499
c4c5e0a670b1
Fix namespaces issues in libpurple.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
286 | * Note: This function should only be called by purple_serv_got_chat_left() |
|
34755
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
287 | * in server.c. |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
288 | */ |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
289 | void _purple_connection_remove_active_chat(PurpleConnection *gc, |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
290 | PurpleChatConversation *chat); |
|
9336815f86b6
Refactored the remaining libpurple to use the initial GObject connection API
Ankit Vani <a@nevitus.org>
parents:
34751
diff
changeset
|
291 | |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
292 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
293 | * _purple_conversations_update_cache: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
294 | * @conv: The conversation. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
295 | * @name: The new name. If no change, use %NULL. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
296 | * @account: The new account. If no change, use %NULL. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
297 | * |
|
35307
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
298 | * Updates the conversation cache to use a new conversation name and/or |
|
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
299 | * account. This function only updates the conversation cache. It is the |
|
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
300 | * caller's responsibility to actually update the conversation. |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
301 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
302 | * Note: This function should only be called by purple_conversation_set_name() |
|
35307
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
303 | * and purple_conversation_set_account() in conversation.c. |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
304 | */ |
|
35307
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
305 | void _purple_conversations_update_cache(PurpleConversation *conv, |
|
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
306 | const char *name, PurpleAccount *account); |
|
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
307 | |
|
2af82f31e6a8
Move (_)purple_conversations_update_cache to internal.h
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
308 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
309 | * _purple_statuses_get_primitive_scores: |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
310 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35307
diff
changeset
|
311 | * Note: This function should only be called by |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
312 | * purple_buddy_presence_compute_score() in presence.c. |
|
35462
901dfa763f15
Fix some gtk-doc warnings till proxy.c
Ankit Vani <a@nevitus.org>
parents:
35440
diff
changeset
|
313 | * |
|
901dfa763f15
Fix some gtk-doc warnings till proxy.c
Ankit Vani <a@nevitus.org>
parents:
35440
diff
changeset
|
314 | * Returns: The primitive scores array from status.c. |
|
35091
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
315 | */ |
|
cb6e94789b5a
Moved declaerations of shared private functions to internal.h
Ankit Vani <a@nevitus.org>
parents:
34755
diff
changeset
|
316 | int *_purple_statuses_get_primitive_scores(void); |
|
24569
5dbd0617a27d
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
Richard Laager <rlaager@pidgin.im>
parents:
23542
diff
changeset
|
317 | |
| 15884 | 318 | #endif /* _PURPLE_INTERNAL_H_ */ |