Sat, 02 Jan 2021 19:06:28 -0600
Use PurpleCredentialManager instead of the old keyring api.
Testing Done:
Connected with bonjour (no password), irc (optional password, non set), and xmpp (password required, not saved, entered manually, not saved) and verified that all of them connected properly.
Reviewed at https://reviews.imfreedom.org/r/289/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19897
diff
changeset
|
1 | /* purple |
| 5563 | 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. | |
|
6485
3c7ba18e32f1
[gaim-migrate @ 6999]
Christian Hammond <chipx86@chipx86.com>
parents:
6368
diff
changeset
|
6 | * |
| 5563 | 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:
19335
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5563 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
21 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40333
diff
changeset
|
22 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40333
diff
changeset
|
23 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40333
diff
changeset
|
24 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40333
diff
changeset
|
25 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39514
diff
changeset
|
26 | #ifndef PURPLE_ACCOUNT_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39514
diff
changeset
|
27 | #define PURPLE_ACCOUNT_H |
|
40524
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
28 | |
|
35433
8dcae6cd6628
Add section blocks for account.h to connection.h
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
29 | /** |
|
8dcae6cd6628
Add section blocks for account.h to connection.h
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
30 | * SECTION:account |
|
8dcae6cd6628
Add section blocks for account.h to connection.h
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
31 | * @section_id: libpurple-account |
|
35436
a69d2e5604c5
Swap @title and @short_description roles
Ankit Vani <a@nevitus.org>
parents:
35433
diff
changeset
|
32 | * @short_description: <filename>account.h</filename> |
| 35444 | 33 | * @title: Account Object |
|
35433
8dcae6cd6628
Add section blocks for account.h to connection.h
Ankit Vani <a@nevitus.org>
parents:
35419
diff
changeset
|
34 | */ |
| 5563 | 35 | |
|
10021
5aa380278a15
[gaim-migrate @ 10946]
Mark Doliner <markdoliner@pidgin.im>
parents:
10008
diff
changeset
|
36 | #include <glib.h> |
|
16180
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
37 | #include <glib-object.h> |
|
8289
234429bac6b5
[gaim-migrate @ 9013]
Christian Hammond <chipx86@chipx86.com>
parents:
8235
diff
changeset
|
38 | |
|
40524
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
39 | /** |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
40 | * PURPLE_TYPE_ACCOUNT: |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
41 | * |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
42 | * The standard _get_type macro for #PurpleAccount. |
|
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
43 | */ |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
44 | #define PURPLE_TYPE_ACCOUNT (purple_account_get_type()) |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
45 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
46 | typedef struct _PurpleAccount PurpleAccount; |
| 5563 | 47 | |
| 15884 | 48 | typedef gboolean (*PurpleFilterAccountFunc)(PurpleAccount *account); |
|
38745
f4376b1f4682
A ton more of introspection cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
38635
diff
changeset
|
49 | typedef void (*PurpleAccountRequestAuthorizationCb)(const char *response, void *data); |
|
17815
232d57a6b6df
Simplified registration callback per request of Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17814
diff
changeset
|
50 | typedef void (*PurpleAccountRegistrationCb)(PurpleAccount *account, gboolean succeeded, void *user_data); |
|
18994
310e9d853e2b
Implemented a callback for unregistering, mirroring the registration callback. Since this is a new API, I can do it properly by passing it right in the unregister function call, instead of having a separate function for setting it.
Andreas Monitzer <am@adiumx.com>
parents:
18912
diff
changeset
|
51 | typedef void (*PurpleAccountUnregistrationCb)(PurpleAccount *account, gboolean succeeded, void *user_data); |
|
30138
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
52 | typedef void (*PurpleSetPublicAliasSuccessCallback)(PurpleAccount *account, const char *new_alias); |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
53 | typedef void (*PurpleSetPublicAliasFailureCallback)(PurpleAccount *account, const char *error); |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
54 | typedef void (*PurpleGetPublicAliasSuccessCallback)(PurpleAccount *account, const char *alias); |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
55 | typedef void (*PurpleGetPublicAliasFailureCallback)(PurpleAccount *account, const char *error); |
|
8289
234429bac6b5
[gaim-migrate @ 9013]
Christian Hammond <chipx86@chipx86.com>
parents:
8235
diff
changeset
|
56 | |
| 5563 | 57 | #include "connection.h" |
|
9718
aeee69c6c784
[gaim-migrate @ 10579]
Mark Doliner <markdoliner@pidgin.im>
parents:
9713
diff
changeset
|
58 | #include "log.h" |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
59 | #include "proxy.h" |
|
36543
a8c3fecee2d3
Renamed prpl.[ch] to protocol.[ch]
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
60 | #include "protocol.h" |
| 9947 | 61 | #include "status.h" |
|
33983
317cd0a252c2
Fixed a bunch of bugs/errors, worked on making calls async, on configuration UI, and on Makefiles.
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
parents:
22592
diff
changeset
|
62 | #include "keyring.h" |
|
34581
b4e0236019e6
Fixed more PurpleAccount stuff.
Ankit Vani <a@nevitus.org>
parents:
34578
diff
changeset
|
63 | #include "xmlnode.h" |
| 5563 | 64 | |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
65 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
66 | * PurpleAccountRequestType: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
67 | * @PURPLE_ACCOUNT_REQUEST_AUTHORIZATION: Account authorization request |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
68 | * |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
69 | * Account request types. |
|
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
70 | */ |
|
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
71 | typedef enum |
|
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
72 | { |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
73 | PURPLE_ACCOUNT_REQUEST_AUTHORIZATION = 0 |
| 15884 | 74 | } PurpleAccountRequestType; |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
75 | |
|
31325
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
76 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
77 | * PurpleAccountRequestResponse: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
78 | * |
|
31325
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
79 | * Account request response types |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
80 | */ |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
81 | typedef enum |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
82 | { |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
83 | PURPLE_ACCOUNT_RESPONSE_IGNORE = -2, |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
84 | PURPLE_ACCOUNT_RESPONSE_DENY = -1, |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
85 | PURPLE_ACCOUNT_RESPONSE_PASS = 0, |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
86 | PURPLE_ACCOUNT_RESPONSE_ACCEPT = 1 |
|
2bb18e0658e7
Patch from Stefan Ott to add the account-authorization-requested-with-message
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
30138
diff
changeset
|
87 | } PurpleAccountRequestResponse; |
|
19114
5b707fe77bcb
Document PurpleAccountUiOps, and fix a documentation typo.
Will Thompson <resiak@pidgin.im>
parents:
18243
diff
changeset
|
88 | |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
89 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
90 | * PurpleAccountPrivacyType: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
91 | * |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
92 | * Privacy data types. |
|
19114
5b707fe77bcb
Document PurpleAccountUiOps, and fix a documentation typo.
Will Thompson <resiak@pidgin.im>
parents:
18243
diff
changeset
|
93 | */ |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
94 | typedef enum |
|
7015
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
95 | { |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
96 | PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL = 1, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
97 | PURPLE_ACCOUNT_PRIVACY_DENY_ALL, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
98 | PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
99 | PURPLE_ACCOUNT_PRIVACY_DENY_USERS, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
100 | PURPLE_ACCOUNT_PRIVACY_ALLOW_BUDDYLIST |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
101 | } PurpleAccountPrivacyType; |
|
19114
5b707fe77bcb
Document PurpleAccountUiOps, and fix a documentation typo.
Will Thompson <resiak@pidgin.im>
parents:
18243
diff
changeset
|
102 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32722
diff
changeset
|
103 | G_BEGIN_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
104 | |
|
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
105 | /**************************************************************************/ |
| 35472 | 106 | /* Account API */ |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
107 | /**************************************************************************/ |
|
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
108 | |
| 5563 | 109 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
110 | * purple_account_get_type: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
111 | * |
|
35458
385156e1b493
Fix some gtk-doc warnings from account to connection
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
112 | * Returns: The #GType for the Account object. |
|
34674
2e45aee0af19
Documented functions of PurpleCipher, PurpleHash and purple_account_get_type()
Ankit Vani <a@nevitus.org>
parents:
34591
diff
changeset
|
113 | */ |
|
39661
c8f98b167882
Change some libpurple object to GObject macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39514
diff
changeset
|
114 | G_DECLARE_FINAL_TYPE(PurpleAccount, purple_account, PURPLE, ACCOUNT, GObject) |
|
34674
2e45aee0af19
Documented functions of PurpleCipher, PurpleHash and purple_account_get_type()
Ankit Vani <a@nevitus.org>
parents:
34591
diff
changeset
|
115 | |
|
2e45aee0af19
Documented functions of PurpleCipher, PurpleHash and purple_account_get_type()
Ankit Vani <a@nevitus.org>
parents:
34591
diff
changeset
|
116 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
117 | * purple_account_new: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
118 | * @username: The username. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
119 | * @protocol_id: The protocol ID. |
|
10071
d2ba11541693
[gaim-migrate @ 11047]
Jonathan Champ <royanee@users.sourceforge.net>
parents:
10021
diff
changeset
|
120 | * |
| 5563 | 121 | * Creates a new account. |
| 122 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
123 | * Returns: The new account. |
| 5563 | 124 | */ |
| 15884 | 125 | PurpleAccount *purple_account_new(const char *username, const char *protocol_id); |
| 5563 | 126 | |
| 127 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
128 | * purple_account_connect: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
129 | * @account: The account to connect to. |
| 5563 | 130 | * |
| 131 | * Connects to an account. | |
| 132 | */ | |
| 15884 | 133 | void purple_account_connect(PurpleAccount *account); |
| 5563 | 134 | |
| 135 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
136 | * purple_account_set_register_callback: |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
137 | * @account: The account for which this callback should be used |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
138 | * @cb: (scope call): The callback |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
139 | * @user_data: The user data passed to the callback |
|
17814
c47c22006b0d
Implemented a callback for a successful registration, supplying the username and password to the application when available, in the way explained by Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17800
diff
changeset
|
140 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
141 | * Sets the callback for successful registration. |
|
17814
c47c22006b0d
Implemented a callback for a successful registration, supplying the username and password to the application when available, in the way explained by Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17800
diff
changeset
|
142 | */ |
|
c47c22006b0d
Implemented a callback for a successful registration, supplying the username and password to the application when available, in the way explained by Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17800
diff
changeset
|
143 | void purple_account_set_register_callback(PurpleAccount *account, PurpleAccountRegistrationCb cb, void *user_data); |
|
c47c22006b0d
Implemented a callback for a successful registration, supplying the username and password to the application when available, in the way explained by Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17800
diff
changeset
|
144 | |
|
c47c22006b0d
Implemented a callback for a successful registration, supplying the username and password to the application when available, in the way explained by Sean.
Andreas Monitzer <am@adiumx.com>
parents:
17800
diff
changeset
|
145 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
146 | * purple_account_register: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
147 | * @account: The account to register. |
| 6581 | 148 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
149 | * Registers an account. |
| 6581 | 150 | */ |
| 15884 | 151 | void purple_account_register(PurpleAccount *account); |
| 6581 | 152 | |
| 153 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
154 | * purple_account_register_completed: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
155 | * @account: The account being registered. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
156 | * @succeeded: Was the account registration successful? |
|
18912
606597744812
Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
Andreas Monitzer <am@adiumx.com>
parents:
18718
diff
changeset
|
157 | * |
|
32721
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
158 | * Registration of the account was completed. |
|
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
159 | * Calls the registration call-back set with purple_account_set_register_callback(). |
|
40215
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
160 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
161 | * Since: 3.0.0 |
|
32721
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
162 | */ |
|
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
163 | void purple_account_register_completed(PurpleAccount *account, gboolean succeeded); |
|
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
164 | |
|
3a64afbc2da2
Introduce purple_account_register_completed() to handle the invoking of any
Andrew Victor <andrew.victor@mxit.com>
parents:
32630
diff
changeset
|
165 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
166 | * purple_account_unregister: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
167 | * @account: The account to unregister. |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
168 | * @cb: (scope call): Optional callback to be called when unregistration is |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
169 | * complete |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
170 | * @user_data: user data to pass to the callback |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
171 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
172 | * Unregisters an account (deleting it from the server). |
|
18912
606597744812
Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
Andreas Monitzer <am@adiumx.com>
parents:
18718
diff
changeset
|
173 | */ |
|
18994
310e9d853e2b
Implemented a callback for unregistering, mirroring the registration callback. Since this is a new API, I can do it properly by passing it right in the unregister function call, instead of having a separate function for setting it.
Andreas Monitzer <am@adiumx.com>
parents:
18912
diff
changeset
|
174 | void purple_account_unregister(PurpleAccount *account, PurpleAccountUnregistrationCb cb, void *user_data); |
|
18912
606597744812
Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
Andreas Monitzer <am@adiumx.com>
parents:
18718
diff
changeset
|
175 | |
|
606597744812
Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
Andreas Monitzer <am@adiumx.com>
parents:
18718
diff
changeset
|
176 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
177 | * purple_account_disconnect: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
178 | * @account: The account to disconnect from. |
| 5563 | 179 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
180 | * Disconnects from an account. |
| 5563 | 181 | */ |
| 15884 | 182 | void purple_account_disconnect(PurpleAccount *account); |
| 5563 | 183 | |
| 184 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
185 | * purple_account_is_disconnecting: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
186 | * @account: The account |
|
32722
50ed95d90d55
Add purple_account_is_disconnecting() accessor function.
Andrew Victor <andrew.victor@mxit.com>
parents:
32721
diff
changeset
|
187 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
188 | * Indicates if the account is currently being disconnected. |
|
32722
50ed95d90d55
Add purple_account_is_disconnecting() accessor function.
Andrew Victor <andrew.victor@mxit.com>
parents:
32721
diff
changeset
|
189 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
190 | * Returns: TRUE if the account is being disconnected. |
|
40215
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
191 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
192 | * Since: 3.0.0 |
|
32722
50ed95d90d55
Add purple_account_is_disconnecting() accessor function.
Andrew Victor <andrew.victor@mxit.com>
parents:
32721
diff
changeset
|
193 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
194 | gboolean purple_account_is_disconnecting(PurpleAccount *account); |
|
32722
50ed95d90d55
Add purple_account_is_disconnecting() accessor function.
Andrew Victor <andrew.victor@mxit.com>
parents:
32721
diff
changeset
|
195 | |
|
50ed95d90d55
Add purple_account_is_disconnecting() accessor function.
Andrew Victor <andrew.victor@mxit.com>
parents:
32721
diff
changeset
|
196 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
197 | * purple_account_notify_added: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
198 | * @account: The account that was added. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
199 | * @remote_user: The name of the user that added this account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
200 | * @id: The optional ID of the local account. Rarely used. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
201 | * @alias: The optional alias of the user. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
202 | * @message: The optional message sent from the user adding you. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
203 | * |
|
7015
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
204 | * Notifies the user that the account was added to a remote user's |
|
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
205 | * buddy list. |
|
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
206 | * |
| 12285 | 207 | * This will present a dialog informing the user that he was added to the |
| 208 | * remote user's buddy list. | |
|
7015
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
209 | */ |
| 15884 | 210 | void purple_account_notify_added(PurpleAccount *account, const char *remote_user, |
| 12285 | 211 | const char *id, const char *alias, |
| 212 | const char *message); | |
|
7015
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
213 | |
|
bea9111282b3
[gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents:
6720
diff
changeset
|
214 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
215 | * purple_account_request_add: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
216 | * @account: The account that was added. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
217 | * @remote_user: The name of the user that added this account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
218 | * @id: The optional ID of the local account. Rarely used. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
219 | * @alias: The optional alias of the user. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
220 | * @message: The optional message sent from the user adding you. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
221 | * |
| 12285 | 222 | * Notifies the user that the account was addded to a remote user's buddy |
| 223 | * list and asks ther user if they want to add the remote user to their buddy | |
| 224 | * list. | |
| 225 | * | |
| 226 | * This will present a dialog informing the local user that the remote user | |
| 227 | * added them to the remote user's buddy list and will ask if they want to add | |
| 228 | * the remote user to the buddy list. | |
| 229 | */ | |
| 15884 | 230 | void purple_account_request_add(PurpleAccount *account, const char *remote_user, |
| 12285 | 231 | const char *id, const char *alias, |
| 232 | const char *message); | |
| 15119 | 233 | |
| 234 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
235 | * purple_account_request_authorization: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
236 | * @account: The account that was added |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
237 | * @remote_user: The name of the user that added this account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
238 | * @id: The optional ID of the local account. Rarely used. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
239 | * @alias: The optional alias of the remote user. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
240 | * @message: The optional message sent by the user wanting to add you. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
241 | * @on_list: Is the remote user already on the buddy list? |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
242 | * @auth_cb: (scope call): The callback called when the local user accepts |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
243 | * @deny_cb: (scope call): The callback called when the local user rejects |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
244 | * @user_data: Data to be passed back to the above callbacks |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
245 | * |
| 15119 | 246 | * Notifies the user that a remote user has wants to add the local user |
|
19114
5b707fe77bcb
Document PurpleAccountUiOps, and fix a documentation typo.
Will Thompson <resiak@pidgin.im>
parents:
18243
diff
changeset
|
247 | * to his or her buddy list and requires authorization to do so. |
| 15119 | 248 | * |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
22592
diff
changeset
|
249 | * This will present a dialog informing the user of this and ask if the |
| 15119 | 250 | * user authorizes or denies the remote user from adding him. |
| 251 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
252 | * Returns: A UI-specific handle. |
| 15119 | 253 | */ |
| 15884 | 254 | void *purple_account_request_authorization(PurpleAccount *account, const char *remote_user, |
| 15197 | 255 | const char *id, const char *alias, const char *message, gboolean on_list, |
|
19335
4613b53d5741
Warning fixes in the aftermath of resiak's authorize_cb and deny_cb type fixing.
Daniel Atallah <datallah@pidgin.im>
parents:
19125
diff
changeset
|
256 | PurpleAccountRequestAuthorizationCb auth_cb, PurpleAccountRequestAuthorizationCb deny_cb, void *user_data); |
| 15119 | 257 | |
| 12285 | 258 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
259 | * purple_account_request_close_with_account: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
260 | * @account: The account for which requests should be closed |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
261 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
262 | * Close account requests registered for the given PurpleAccount |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
263 | */ |
| 15884 | 264 | void purple_account_request_close_with_account(PurpleAccount *account); |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
265 | |
|
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
266 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
267 | * purple_account_request_close: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
268 | * @ui_handle: The ui specific handle for which requests should be closed |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
269 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
270 | * Close the account request for the given ui handle |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
271 | */ |
| 15884 | 272 | void purple_account_request_close(void *ui_handle); |
|
15537
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
273 | |
|
5d7473f14c67
The accounts request API now keeps track of a returned ui_handle for authorization requests, which can be closed on demand individually or all-at-once by account. When a connection is destroyed, its associated requests are closed.
Evan Schoenberg <evands@pidgin.im>
parents:
15435
diff
changeset
|
274 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
275 | * purple_account_request_password: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
276 | * @account: The account to request the password for. |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
277 | * @ok_cb: (scope call): The callback for the OK button. |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
278 | * @cancel_cb: (scope call): The callback for the cancel button. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
279 | * @user_data: User data to be passed into callbacks. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
280 | * |
|
16180
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
281 | * Requests a password from the user for the account. Does not set the |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
282 | * account password on success; do that in ok_cb if desired. |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
283 | */ |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
284 | void purple_account_request_password(PurpleAccount *account, GCallback ok_cb, |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
285 | GCallback cancel_cb, void *user_data); |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
286 | |
|
82761882c366
patch from Simon Wilkinson to support Jabber/XMPP w/o passwords
Nathan Walp <nwalp@pidgin.im>
parents:
15997
diff
changeset
|
287 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
288 | * purple_account_request_change_password: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
289 | * @account: The account to change the password on. |
|
7063
4bfe512a4b8c
[gaim-migrate @ 7627]
Christian Hammond <chipx86@chipx86.com>
parents:
7015
diff
changeset
|
290 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
291 | * Requests information from the user to change the account's password. |
|
7063
4bfe512a4b8c
[gaim-migrate @ 7627]
Christian Hammond <chipx86@chipx86.com>
parents:
7015
diff
changeset
|
292 | */ |
| 15884 | 293 | void purple_account_request_change_password(PurpleAccount *account); |
|
7063
4bfe512a4b8c
[gaim-migrate @ 7627]
Christian Hammond <chipx86@chipx86.com>
parents:
7015
diff
changeset
|
294 | |
|
4bfe512a4b8c
[gaim-migrate @ 7627]
Christian Hammond <chipx86@chipx86.com>
parents:
7015
diff
changeset
|
295 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
296 | * purple_account_request_change_user_info: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
297 | * @account: The account to change the user information on. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
298 | * |
|
7067
c57295414efa
[gaim-migrate @ 7631]
Christian Hammond <chipx86@chipx86.com>
parents:
7065
diff
changeset
|
299 | * Requests information from the user to change the account's |
|
c57295414efa
[gaim-migrate @ 7631]
Christian Hammond <chipx86@chipx86.com>
parents:
7065
diff
changeset
|
300 | * user information. |
|
c57295414efa
[gaim-migrate @ 7631]
Christian Hammond <chipx86@chipx86.com>
parents:
7065
diff
changeset
|
301 | */ |
| 15884 | 302 | void purple_account_request_change_user_info(PurpleAccount *account); |
|
7067
c57295414efa
[gaim-migrate @ 7631]
Christian Hammond <chipx86@chipx86.com>
parents:
7065
diff
changeset
|
303 | |
|
c57295414efa
[gaim-migrate @ 7631]
Christian Hammond <chipx86@chipx86.com>
parents:
7065
diff
changeset
|
304 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
305 | * purple_account_set_username: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
306 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
307 | * @username: The username. |
| 5563 | 308 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
309 | * Sets the account's username. |
| 5563 | 310 | */ |
| 15884 | 311 | void purple_account_set_username(PurpleAccount *account, const char *username); |
| 5563 | 312 | |
| 313 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
314 | * purple_account_set_private_alias: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
315 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
316 | * @alias: The alias. |
| 5563 | 317 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
318 | * Sets the account's private alias. |
| 5563 | 319 | */ |
|
34589
428e92c79631
Renamed purple_account_[get,set]_alias to purple_account[get,set]_private_alias.
Ankit Vani <a@nevitus.org>
parents:
34588
diff
changeset
|
320 | void purple_account_set_private_alias(PurpleAccount *account, const char *alias); |
| 5563 | 321 | |
| 322 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
323 | * purple_account_set_user_info: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
324 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
325 | * @user_info: The user information. |
| 5563 | 326 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
327 | * Sets the account's user information |
| 5563 | 328 | */ |
| 15884 | 329 | void purple_account_set_user_info(PurpleAccount *account, const char *user_info); |
| 5563 | 330 | |
| 331 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
332 | * purple_account_set_buddy_icon_path: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
333 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
334 | * @path: The buddy icon non-cached path. |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
335 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
336 | * Sets the account's buddy icon path. |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
337 | */ |
| 15884 | 338 | void purple_account_set_buddy_icon_path(PurpleAccount *account, const char *path); |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
339 | |
|
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
340 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
341 | * purple_account_set_protocol_id: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
342 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
343 | * @protocol_id: The protocol ID. |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
344 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
345 | * Sets the account's protocol ID. |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
346 | */ |
| 15884 | 347 | void purple_account_set_protocol_id(PurpleAccount *account, |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
348 | const char *protocol_id); |
|
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
349 | |
|
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
350 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
351 | * purple_account_set_connection: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
352 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
353 | * @gc: The connection. |
| 5563 | 354 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
355 | * Sets the account's connection. |
| 5563 | 356 | */ |
| 15884 | 357 | void purple_account_set_connection(PurpleAccount *account, PurpleConnection *gc); |
| 5563 | 358 | |
| 359 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
360 | * purple_account_set_remember_password: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
361 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
362 | * @value: %TRUE if it should remember the password. |
| 5563 | 363 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
364 | * Sets whether or not this account should save its password. |
| 5563 | 365 | */ |
| 15884 | 366 | void purple_account_set_remember_password(PurpleAccount *account, gboolean value); |
| 5563 | 367 | |
| 368 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
369 | * purple_account_set_check_mail: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
370 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
371 | * @value: %TRUE if it should check for mail. |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
372 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
373 | * Sets whether or not this account should check for mail. |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
374 | */ |
| 15884 | 375 | void purple_account_set_check_mail(PurpleAccount *account, gboolean value); |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
376 | |
|
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
377 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
378 | * purple_account_set_enabled: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
379 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
380 | * @ui: The UI. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
381 | * @value: %TRUE if it is enabled. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
382 | * |
| 10400 | 383 | * Sets whether or not this account is enabled for the specified |
|
5779
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
384 | * UI. |
|
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
385 | */ |
| 15884 | 386 | void purple_account_set_enabled(PurpleAccount *account, const char *ui, |
| 10400 | 387 | gboolean value); |
|
5779
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
388 | |
|
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
389 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
390 | * purple_account_set_proxy_info: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
391 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
392 | * @info: The proxy information. |
|
6583
198cb8cc465c
[gaim-migrate @ 7105]
Christian Hammond <chipx86@chipx86.com>
parents:
6581
diff
changeset
|
393 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
394 | * Sets the account's proxy information. |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
395 | */ |
| 15884 | 396 | void purple_account_set_proxy_info(PurpleAccount *account, PurpleProxyInfo *info); |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
397 | |
|
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
398 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
399 | * purple_account_set_privacy_type: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
400 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
401 | * @privacy_type: The privacy type. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
402 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
403 | * Sets the account's privacy type. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
404 | */ |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
405 | void purple_account_set_privacy_type(PurpleAccount *account, PurpleAccountPrivacyType privacy_type); |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
406 | |
|
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
407 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
408 | * purple_account_set_status_types: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
409 | * @account: The account. |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
410 | * @status_types: (element-type PurpleStatusType): The list of status types. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
411 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
412 | * Sets the account's status types. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
413 | */ |
| 15884 | 414 | void purple_account_set_status_types(PurpleAccount *account, GList *status_types); |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
415 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
416 | /** |
|
35458
385156e1b493
Fix some gtk-doc warnings from account to connection
Ankit Vani <a@nevitus.org>
parents:
35444
diff
changeset
|
417 | * purple_account_set_status: |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
418 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
419 | * @status_id: The ID of the status. |
| 35419 | 420 | * @active: Whether @a status_id is to be activated (%TRUE) or |
| 421 | * deactivated (%FALSE). | |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35458
diff
changeset
|
422 | * @...: A %NULL-terminated list of pairs of <type>const char *</type> |
| 35419 | 423 | * attribute name followed by <type>const char *</type> attribute |
| 424 | * value for the status. (For example, one pair might be | |
| 425 | * <literal>"message"</literal> followed by | |
| 426 | * <literal>"hello, talk to me!"</literal>.) | |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
427 | * |
|
40613
55230eededd8
Clean up a bunch doc issues.
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
428 | * Variadic version of purple_account_set_status_attrs(). |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
429 | */ |
| 15884 | 430 | void purple_account_set_status(PurpleAccount *account, const char *status_id, |
|
22246
d2814ea686bd
Clarify documentation of purple_account_set_status_list(), and use @copydoc to
Will Thompson <resiak@pidgin.im>
parents:
21927
diff
changeset
|
431 | gboolean active, ...) G_GNUC_NULL_TERMINATED; |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
432 | |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
433 | |
|
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
434 | /** |
|
40613
55230eededd8
Clean up a bunch doc issues.
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
435 | * purple_account_set_status_attrs: |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
436 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
437 | * @status_id: The ID of the status. |
| 35419 | 438 | * @active: Whether @a status_id is to be activated (%TRUE) or |
| 439 | * deactivated (%FALSE). | |
|
40328
45e719e8d3bc
Replace lists of PurpleAttr with GHashTable
qarkai <qarkai@gmail.com>
parents:
39664
diff
changeset
|
440 | * @attrs: (element-type utf8 gpointer): A hash table of |
|
45e719e8d3bc
Replace lists of PurpleAttr with GHashTable
qarkai <qarkai@gmail.com>
parents:
39664
diff
changeset
|
441 | * <type>const char *</type> attribute names followed by |
|
45e719e8d3bc
Replace lists of PurpleAttr with GHashTable
qarkai <qarkai@gmail.com>
parents:
39664
diff
changeset
|
442 | * <type>gpointer</type> attribute values for the status. |
| 35419 | 443 | * (For example, one pair might be <literal>"message"</literal> |
| 444 | * followed by <literal>"hello, talk to me!"</literal>.) | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
445 | * |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
446 | * Activates or deactivates a status. All changes to the statuses of |
|
22246
d2814ea686bd
Clarify documentation of purple_account_set_status_list(), and use @copydoc to
Will Thompson <resiak@pidgin.im>
parents:
21927
diff
changeset
|
447 | * an account go through this function or purple_account_set_status(). |
|
11249
efc82f3e1bd3
[gaim-migrate @ 13418]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11159
diff
changeset
|
448 | * |
|
22246
d2814ea686bd
Clarify documentation of purple_account_set_status_list(), and use @copydoc to
Will Thompson <resiak@pidgin.im>
parents:
21927
diff
changeset
|
449 | * You can only deactivate an exclusive status by activating another exclusive |
|
d2814ea686bd
Clarify documentation of purple_account_set_status_list(), and use @copydoc to
Will Thompson <resiak@pidgin.im>
parents:
21927
diff
changeset
|
450 | * status. So, if @a status_id is an exclusive status and @a active is @c |
|
d2814ea686bd
Clarify documentation of purple_account_set_status_list(), and use @copydoc to
Will Thompson <resiak@pidgin.im>
parents:
21927
diff
changeset
|
451 | * FALSE, this function does nothing. |
|
40332
cd2da3a58f6d
Rename purple_account_set_status_list and purple_status_set_active_with_attrs_list
qarkai <qarkai@gmail.com>
parents:
40328
diff
changeset
|
452 | * |
|
cd2da3a58f6d
Rename purple_account_set_status_list and purple_status_set_active_with_attrs_list
qarkai <qarkai@gmail.com>
parents:
40328
diff
changeset
|
453 | * Since: 3.0.0 |
|
11249
efc82f3e1bd3
[gaim-migrate @ 13418]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11159
diff
changeset
|
454 | */ |
|
40332
cd2da3a58f6d
Rename purple_account_set_status_list and purple_status_set_active_with_attrs_list
qarkai <qarkai@gmail.com>
parents:
40328
diff
changeset
|
455 | void purple_account_set_status_attrs(PurpleAccount *account, |
|
40328
45e719e8d3bc
Replace lists of PurpleAttr with GHashTable
qarkai <qarkai@gmail.com>
parents:
39664
diff
changeset
|
456 | const char *status_id, gboolean active, GHashTable *attrs); |
|
11249
efc82f3e1bd3
[gaim-migrate @ 13418]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11159
diff
changeset
|
457 | |
|
efc82f3e1bd3
[gaim-migrate @ 13418]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11159
diff
changeset
|
458 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
459 | * purple_account_set_public_alias: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
460 | * @account: The account |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35458
diff
changeset
|
461 | * @alias: The new public alias for this account or %NULL |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
462 | * to unset the alias/nickname (or return it to |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
463 | * a protocol-specific "default", like the username) |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
464 | * @success_cb: (scope call): A callback which will be called if the alias |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
465 | * is successfully set on the server (or %NULL). |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
466 | * @failure_cb: (scope call): A callback which will be called if the alias |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
467 | * is not successfully set on the server (or %NULL). |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
468 | * |
|
30138
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
469 | * Set a server-side (public) alias for this account. The account |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
470 | * must already be connected. |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
471 | * |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
472 | * Currently, the public alias is not stored locally, although this |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
473 | * may change in a later version. |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
474 | */ |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
475 | void purple_account_set_public_alias(PurpleAccount *account, |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
476 | const char *alias, PurpleSetPublicAliasSuccessCallback success_cb, |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
477 | PurpleSetPublicAliasFailureCallback failure_cb); |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
478 | |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
479 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
480 | * purple_account_get_public_alias: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
481 | * @account: The account |
|
35682
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
482 | * @success_cb: (scope call): A callback which will be called with the alias |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
483 | * @failure_cb: (scope call): A callback which will be called if the protocol is |
|
65c1912ee2c8
Add (scope) annotation to callback parameters (account.h to proxy.h)
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
484 | * unable to retrieve the server-side alias. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
485 | * |
|
30138
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
486 | * Fetch the server-side (public) alias for this account. The account |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
487 | * must already be connected. |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
488 | */ |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
489 | void purple_account_get_public_alias(PurpleAccount *account, |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
490 | PurpleGetPublicAliasSuccessCallback success_cb, |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
491 | PurpleGetPublicAliasFailureCallback failure_cb); |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
492 | |
|
cca9685df785
Add purple_account_[gs]et_public_alias functions, per discussion in d@cpi
Paul Aurich <darkrain42@pidgin.im>
parents:
30047
diff
changeset
|
493 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
494 | * purple_account_get_silence_suppression: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
495 | * @account: The account. |
|
31566
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
496 | * |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
497 | * Return whether silence suppression is used during voice call. |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
498 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
499 | * Returns: %TRUE if suppression is used, or %FALSE if not. |
|
31566
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
500 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
501 | gboolean purple_account_get_silence_suppression(PurpleAccount *account); |
|
31566
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
502 | |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
503 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
504 | * purple_account_set_silence_suppression: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
505 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
506 | * @value: %TRUE if suppression should be used. |
|
31566
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
507 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
508 | * Sets whether silence suppression is used during voice call. |
|
31566
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
509 | */ |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
510 | void purple_account_set_silence_suppression(PurpleAccount *account, |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
511 | gboolean value); |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
512 | |
|
fa37798387fa
Make the simple silence suppression stuff optional per-account. Fixes #13180.
Jakub Adam <jakub.adam@ktknet.cz>
parents:
31565
diff
changeset
|
513 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
514 | * purple_account_clear_settings: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
515 | * @account: The account. |
|
5694
46768356e6a1
[gaim-migrate @ 6115]
Christian Hammond <chipx86@chipx86.com>
parents:
5681
diff
changeset
|
516 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
517 | * Clears all protocol-specific settings on an account. |
|
5694
46768356e6a1
[gaim-migrate @ 6115]
Christian Hammond <chipx86@chipx86.com>
parents:
5681
diff
changeset
|
518 | */ |
| 15884 | 519 | void purple_account_clear_settings(PurpleAccount *account); |
|
5694
46768356e6a1
[gaim-migrate @ 6115]
Christian Hammond <chipx86@chipx86.com>
parents:
5681
diff
changeset
|
520 | |
|
46768356e6a1
[gaim-migrate @ 6115]
Christian Hammond <chipx86@chipx86.com>
parents:
5681
diff
changeset
|
521 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
522 | * purple_account_remove_setting: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
523 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
524 | * @setting: The setting to remove. |
|
27562
2e34a10e7135
Migrate Yahoo! JAPAN accounts to the new prpl (in theory). This also adds
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
26392
diff
changeset
|
525 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
526 | * Removes an account-specific setting by name. |
|
27562
2e34a10e7135
Migrate Yahoo! JAPAN accounts to the new prpl (in theory). This also adds
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
26392
diff
changeset
|
527 | */ |
|
2e34a10e7135
Migrate Yahoo! JAPAN accounts to the new prpl (in theory). This also adds
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
26392
diff
changeset
|
528 | void purple_account_remove_setting(PurpleAccount *account, const char *setting); |
|
2e34a10e7135
Migrate Yahoo! JAPAN accounts to the new prpl (in theory). This also adds
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
26392
diff
changeset
|
529 | |
|
2e34a10e7135
Migrate Yahoo! JAPAN accounts to the new prpl (in theory). This also adds
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
26392
diff
changeset
|
530 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
531 | * purple_account_set_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
532 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
533 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
534 | * @value: The setting's value. |
| 5563 | 535 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
536 | * Sets a protocol-specific integer setting for an account. |
| 5563 | 537 | */ |
| 15884 | 538 | void purple_account_set_int(PurpleAccount *account, const char *name, int value); |
| 5563 | 539 | |
| 540 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
541 | * purple_account_set_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
542 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
543 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
544 | * @value: The setting's value. |
| 5563 | 545 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
546 | * Sets a protocol-specific string setting for an account. |
| 5563 | 547 | */ |
| 15884 | 548 | void purple_account_set_string(PurpleAccount *account, const char *name, |
|
6720
cdc5348dd848
[gaim-migrate @ 7247]
Christian Hammond <chipx86@chipx86.com>
parents:
6621
diff
changeset
|
549 | const char *value); |
| 5563 | 550 | |
| 551 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
552 | * purple_account_set_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
553 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
554 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
555 | * @value: The setting's value. |
| 5563 | 556 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
557 | * Sets a protocol-specific boolean setting for an account. |
| 5563 | 558 | */ |
| 15884 | 559 | void purple_account_set_bool(PurpleAccount *account, const char *name, |
| 5563 | 560 | gboolean value); |
| 561 | ||
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
562 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
563 | * purple_account_set_ui_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
564 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
565 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
566 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
567 | * @value: The setting's value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
568 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
569 | * Sets a UI-specific integer setting for an account. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
570 | */ |
| 15884 | 571 | void purple_account_set_ui_int(PurpleAccount *account, const char *ui, |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
572 | const char *name, int value); |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
573 | |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
574 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
575 | * purple_account_set_ui_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
576 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
577 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
578 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
579 | * @value: The setting's value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
580 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
581 | * Sets a UI-specific string setting for an account. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
582 | */ |
| 15884 | 583 | void purple_account_set_ui_string(PurpleAccount *account, const char *ui, |
|
6720
cdc5348dd848
[gaim-migrate @ 7247]
Christian Hammond <chipx86@chipx86.com>
parents:
6621
diff
changeset
|
584 | const char *name, const char *value); |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
585 | |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
586 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
587 | * purple_account_set_ui_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
588 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
589 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
590 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
591 | * @value: The setting's value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
592 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
593 | * Sets a UI-specific boolean setting for an account. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
594 | */ |
| 15884 | 595 | void purple_account_set_ui_bool(PurpleAccount *account, const char *ui, |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
596 | const char *name, gboolean value); |
| 5563 | 597 | |
| 598 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
599 | * purple_account_is_connected: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
600 | * @account: The account. |
| 5563 | 601 | * |
| 602 | * Returns whether or not the account is connected. | |
| 603 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
604 | * Returns: %TRUE if connected, or %FALSE otherwise. |
| 5563 | 605 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
606 | gboolean purple_account_is_connected(PurpleAccount *account); |
| 5563 | 607 | |
| 608 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
609 | * purple_account_is_connecting: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
610 | * @account: The account. |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
611 | * |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
612 | * Returns whether or not the account is connecting. |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
613 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
614 | * Returns: %TRUE if connecting, or %FALSE otherwise. |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
615 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
616 | gboolean purple_account_is_connecting(PurpleAccount *account); |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
617 | |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
618 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
619 | * purple_account_is_disconnected: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
620 | * @account: The account. |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
621 | * |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
622 | * Returns whether or not the account is disconnected. |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
623 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
624 | * Returns: %TRUE if disconnected, or %FALSE otherwise. |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
625 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
626 | gboolean purple_account_is_disconnected(PurpleAccount *account); |
|
11251
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
627 | |
|
e38d86958a63
[gaim-migrate @ 13420]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
11249
diff
changeset
|
628 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
629 | * purple_account_get_username: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
630 | * @account: The account. |
| 5563 | 631 | * |
| 632 | * Returns the account's username. | |
| 633 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
634 | * Returns: The username. |
| 5563 | 635 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
636 | const char *purple_account_get_username(PurpleAccount *account); |
| 5563 | 637 | |
| 638 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
639 | * purple_account_get_private_alias: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
640 | * @account: The account. |
| 5563 | 641 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
642 | * Returns the account's private alias. |
| 5563 | 643 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
644 | * Returns: The alias. |
| 5563 | 645 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
646 | const char *purple_account_get_private_alias(PurpleAccount *account); |
| 5563 | 647 | |
| 648 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
649 | * purple_account_get_user_info: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
650 | * @account: The account. |
| 5563 | 651 | * |
| 652 | * Returns the account's user information. | |
| 653 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
654 | * Returns: The user information. |
| 5563 | 655 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
656 | const char *purple_account_get_user_info(PurpleAccount *account); |
| 5563 | 657 | |
| 658 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
659 | * purple_account_get_buddy_icon_path: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
660 | * @account: The account. |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
661 | * |
|
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
662 | * Gets the account's buddy icon path. |
|
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
663 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
664 | * Returns: The buddy icon's non-cached path. |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
665 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
666 | const char *purple_account_get_buddy_icon_path(PurpleAccount *account); |
|
15132
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
667 | |
|
672c39839af1
[gaim-migrate @ 17854]
Mark Huetsch <markhuetsch@users.sourceforge.net>
parents:
15121
diff
changeset
|
668 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
669 | * purple_account_get_protocol_id: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
670 | * @account: The account. |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
671 | * |
|
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
672 | * Returns the account's protocol ID. |
|
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
673 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
674 | * Returns: The protocol ID. |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
675 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
676 | const char *purple_account_get_protocol_id(PurpleAccount *account); |
|
5943
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
677 | |
|
8a052155157a
[gaim-migrate @ 6384]
Christian Hammond <chipx86@chipx86.com>
parents:
5879
diff
changeset
|
678 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
679 | * purple_account_get_protocol_name: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
680 | * @account: The account. |
|
9699
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
681 | * |
|
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
682 | * Returns the account's protocol name. |
|
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
683 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
684 | * Returns: The protocol name. |
|
9699
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
685 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
686 | const char *purple_account_get_protocol_name(PurpleAccount *account); |
|
9699
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
687 | |
|
d1ca5dd91cc2
[gaim-migrate @ 10558]
Mark Doliner <markdoliner@pidgin.im>
parents:
9619
diff
changeset
|
688 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
689 | * purple_account_get_connection: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
690 | * @account: The account. |
| 5563 | 691 | * |
| 692 | * Returns the account's connection. | |
| 693 | * | |
|
37411
2bab0b4de137
Improve GIntrospection annotations on the account API
Jorge Villaseñor <salinasv@pidgin.im>
parents:
37131
diff
changeset
|
694 | * Returns: (transfer none): The connection. |
| 5563 | 695 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
696 | PurpleConnection *purple_account_get_connection(PurpleAccount *account); |
| 5563 | 697 | |
| 698 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
699 | * purple_account_get_name_for_display: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
700 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
701 | * |
|
29515
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
702 | * Returns a name for this account appropriate for display to the user. In |
|
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
703 | * order of preference: the account's alias; the contact or buddy alias (if |
|
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
704 | * the account exists on its own buddy list); the connection's display name; |
|
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
705 | * the account's username. |
|
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
706 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
707 | * Returns: The name to display. |
|
29515
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
708 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
709 | const gchar *purple_account_get_name_for_display(PurpleAccount *account); |
|
29515
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
710 | |
|
7334e85a7a56
This effectively moves Etan's API addition off im.pidgin.pidgin and onto
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
27562
diff
changeset
|
711 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
712 | * purple_account_get_remember_password: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
713 | * @account: The account. |
| 5563 | 714 | * |
| 715 | * Returns whether or not this account should save its password. | |
| 716 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
717 | * Returns: %TRUE if it should remember the password. |
| 5563 | 718 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
719 | gboolean purple_account_get_remember_password(PurpleAccount *account); |
| 5563 | 720 | |
| 721 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
722 | * purple_account_get_check_mail: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
723 | * @account: The account. |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
724 | * |
|
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
725 | * Returns whether or not this account should check for mail. |
|
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
726 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
727 | * Returns: %TRUE if it should check for mail. |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
728 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
729 | gboolean purple_account_get_check_mail(PurpleAccount *account); |
|
5565
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
730 | |
|
687cc390b7dc
[gaim-migrate @ 5967]
Christian Hammond <chipx86@chipx86.com>
parents:
5564
diff
changeset
|
731 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
732 | * purple_account_get_enabled: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
733 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
734 | * @ui: The UI. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
735 | * |
| 10400 | 736 | * Returns whether or not this account is enabled for the |
|
5779
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
737 | * specified UI. |
|
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
738 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
739 | * Returns: %TRUE if it enabled on this UI. |
|
5779
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
740 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
741 | gboolean purple_account_get_enabled(PurpleAccount *account, |
| 10400 | 742 | const char *ui); |
|
5779
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
743 | |
|
8c8b8c8139c2
[gaim-migrate @ 6204]
Christian Hammond <chipx86@chipx86.com>
parents:
5777
diff
changeset
|
744 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
745 | * purple_account_get_proxy_info: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
746 | * @account: The account. |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
747 | * |
|
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
748 | * Returns the account's proxy information. |
|
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
749 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
750 | * Returns: The proxy information. |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
751 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
752 | PurpleProxyInfo *purple_account_get_proxy_info(PurpleAccount *account); |
|
5681
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
753 | |
|
514fbc5374dc
[gaim-migrate @ 6100]
Christian Hammond <chipx86@chipx86.com>
parents:
5643
diff
changeset
|
754 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
755 | * purple_account_get_privacy_type: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
756 | * @account: The account. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
757 | * |
|
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
758 | * Returns the account's privacy type. |
|
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
759 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
760 | * Returns: The privacy type. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
761 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
762 | PurpleAccountPrivacyType purple_account_get_privacy_type(PurpleAccount *account); |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
763 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
764 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
765 | * purple_account_privacy_permit_add: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
766 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
767 | * @name: The name of the user to add to the list. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
768 | * @local_only: If TRUE, only the local list is updated, and not |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
769 | * the server. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
770 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
771 | * Adds a user to the account's permit list. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
772 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
773 | * Returns: TRUE if the user was added successfully, or %FALSE otherwise. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
774 | */ |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
775 | gboolean purple_account_privacy_permit_add(PurpleAccount *account, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
776 | const char *name, gboolean local_only); |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
777 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
778 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
779 | * purple_account_privacy_permit_remove: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
780 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
781 | * @name: The name of the user to add to the list. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
782 | * @local_only: If TRUE, only the local list is updated, and not |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
783 | * the server. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
784 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
785 | * Removes a user from the account's permit list. |
|
30047
6b8535fe379f
Add @since tags.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
30021
diff
changeset
|
786 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
787 | * Returns: TRUE if the user was removed successfully, or %FALSE otherwise. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
788 | */ |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
789 | gboolean purple_account_privacy_permit_remove(PurpleAccount *account, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
790 | const char *name, gboolean local_only); |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
791 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
792 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
793 | * purple_account_privacy_deny_add: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
794 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
795 | * @name: The name of the user to add to the list. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
796 | * @local_only: If TRUE, only the local list is updated, and not |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
797 | * the server. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
798 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
799 | * Adds a user to the account's deny list. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
800 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
801 | * Returns: TRUE if the user was added successfully, or %FALSE otherwise. |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
802 | */ |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
803 | gboolean purple_account_privacy_deny_add(PurpleAccount *account, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
804 | const char *name, gboolean local_only); |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
805 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
806 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
807 | * purple_account_privacy_deny_remove: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
808 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
809 | * @name: The name of the user to add to the list. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
810 | * @local_only: If TRUE, only the local list is updated, and not |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
811 | * the server. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
812 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
813 | * Removes a user from the account's deny list. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
814 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
815 | * Returns: TRUE if the user was removed successfully, or %FALSE otherwise. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
816 | */ |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
817 | gboolean purple_account_privacy_deny_remove(PurpleAccount *account, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
818 | const char *name, gboolean local_only); |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
819 | |
|
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
820 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
821 | * purple_account_privacy_allow: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
822 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
823 | * @who: The name of the user. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
824 | * |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
825 | * Allow a user to send messages. If current privacy setting for the account is: |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
826 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS: The user is added to the allow-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
827 | * PURPLE_ACCOUNT_PRIVACY_DENY_USERS : The user is removed from the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
828 | * deny-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
829 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL : No changes made. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
830 | * PURPLE_ACCOUNT_PRIVACY_DENY_ALL : The privacy setting is changed to |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
831 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS and the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
832 | * user is added to the allow-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
833 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_BUDDYLIST: No changes made if the user is |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
834 | * already in the buddy-list. Otherwise the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
835 | * setting is changed to |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
836 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS, all the buddies are added to the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
837 | * allow-list, and the user is also added to |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
838 | * the allow-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
839 | * |
|
34576
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
840 | * The changes are reflected on the server. The previous allow/deny list is not |
|
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
841 | * restored if the privacy setting is changed. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
842 | */ |
|
34576
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
843 | void purple_account_privacy_allow(PurpleAccount *account, const char *who); |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
844 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
845 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
846 | * purple_account_privacy_deny: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
847 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
848 | * @who: The name of the user. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
849 | * |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
850 | * Block messages from a user. If current privacy setting for the account is: |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
851 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS: The user is removed from the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
852 | * allow-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
853 | * PURPLE_ACCOUNT_PRIVACY_DENY_USERS: The user is added to the deny-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
854 | * PURPLE_ACCOUNT_PRIVACY_DENY_ALL: No changes made. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
855 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL: The privacy setting is changed to |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
856 | * PURPLE_ACCOUNT_PRIVACY_DENY_USERS and the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
857 | * user is added to the deny-list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
858 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_BUDDYLIST: If the user is not in the |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
859 | * buddy-list, then no changes made. Otherwise, |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
860 | * the setting is changed to |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
861 | * PURPLE_ACCOUNT_PRIVACY_ALLOW_USERS, all |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
862 | * the buddies are added to the allow-list, and |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
863 | * this user is removed from the list. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
864 | * |
|
34576
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
865 | * The changes are reflected on the server. The previous allow/deny list is not |
|
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
866 | * restored if the privacy setting is changed. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
867 | */ |
|
34576
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
868 | void purple_account_privacy_deny(PurpleAccount *account, const char *who); |
|
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
869 | |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
870 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
871 | * purple_account_privacy_get_permitted: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
872 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
873 | * |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
874 | * Returns the account's permit list. |
|
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
875 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
876 | * Returns: (transfer none) (element-type utf8): A list of the permitted users |
|
40215
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
877 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
878 | * Since: 3.0.0 |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
879 | */ |
|
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
880 | GSList *purple_account_privacy_get_permitted(PurpleAccount *account); |
|
34576
216613e5e368
Removed local and restore arguments to purple_account_privacy_[allow,deny]() as all calls to this function pass them as FALSE. purple_account_privacy_[permit,deny]_[add,remove] can be used to make local privacy changes.
Ankit Vani <a@nevitus.org>
parents:
34575
diff
changeset
|
881 | |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
882 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
883 | * purple_account_privacy_get_denied: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
884 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
885 | * |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
886 | * Returns the account's deny list. |
|
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
887 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
888 | * Returns: (transfer none) (element-type utf8): A list of the denied users |
|
40215
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
889 | * |
|
f7cf821e15de
Replace a bunch of entries in ChangeLog.API entries with Since annotations
Gary Kramlich <grim@reaperworld.com>
parents:
39664
diff
changeset
|
890 | * Since: 3.0.0 |
|
34577
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
891 | */ |
|
cd4e77521c9c
Added purple_account_privacy_get_[permitted,denied] functions to return the permit and deny lists
Ankit Vani <a@nevitus.org>
parents:
34576
diff
changeset
|
892 | GSList *purple_account_privacy_get_denied(PurpleAccount *account); |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
893 | |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
894 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
895 | * purple_account_privacy_check: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
896 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
897 | * @who: The name of the user. |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
898 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
899 | * Check the privacy-setting for a user. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
900 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
901 | * Returns: %FALSE if the specified account's privacy settings block the user |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
902 | * or %TRUE otherwise. The meaning of "block" is protocol-dependent and |
|
34574
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
903 | * generally relates to status and/or sending of messages. |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
904 | */ |
|
19850cd1b2de
Begun GObjectification of PurpleAccount. Moved things around, see details.
Ankit Vani <a@nevitus.org>
parents:
34145
diff
changeset
|
905 | gboolean purple_account_privacy_check(PurpleAccount *account, const char *who); |
|
30021
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
906 | |
|
3c7a689ae32e
Add getter and setter for account->perm_deny. Patch by Stephen Whitmore.
Mark Doliner <markdoliner@pidgin.im>
parents:
29517
diff
changeset
|
907 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
908 | * purple_account_get_active_status: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
909 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
910 | * |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
911 | * Returns the active status for this account. This looks through |
| 15884 | 912 | * the PurplePresence associated with this account and returns the |
| 913 | * PurpleStatus that has its active flag set to "TRUE." There can be | |
| 914 | * only one active PurpleStatus in a PurplePresence. | |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
915 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
916 | * Returns: (transfer none): The active status. |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
917 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
918 | PurpleStatus *purple_account_get_active_status(PurpleAccount *account); |
|
10738
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
919 | |
|
63ca8277c234
[gaim-migrate @ 12340]
Mark Doliner <markdoliner@pidgin.im>
parents:
10566
diff
changeset
|
920 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
921 | * purple_account_get_status: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
922 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
923 | * @status_id: The status ID. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
924 | * |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
925 | * Returns the account status with the specified ID. |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
926 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
927 | * Returns: (transfer none): The status, or %NULL if it was never registered. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
928 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
929 | PurpleStatus *purple_account_get_status(PurpleAccount *account, |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
930 | const char *status_id); |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
931 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
932 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
933 | * purple_account_get_status_type: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
934 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
935 | * @id: The ID of the status type to find. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
936 | * |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
937 | * Returns the account status type with the specified ID. |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
938 | * |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35458
diff
changeset
|
939 | * Returns: The status type if found, or %NULL. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
940 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
941 | PurpleStatusType *purple_account_get_status_type(PurpleAccount *account, |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
942 | const char *id); |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
943 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
944 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
945 | * purple_account_get_status_type_with_primitive: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
946 | * @account: The account. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
947 | * @primitive: The type of the status type to find. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
948 | * |
|
11739
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
949 | * Returns the account status type with the specified primitive. |
|
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
950 | * Note: It is possible for an account to have more than one |
| 15884 | 951 | * PurpleStatusType with the same primitive. In this case, the |
| 952 | * first PurpleStatusType is returned. | |
|
11739
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
953 | * |
|
35467
975ae62dd895
Fix cross-references and some other warnings
Ankit Vani <a@nevitus.org>
parents:
35458
diff
changeset
|
954 | * Returns: The status if found, or %NULL. |
|
11739
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
955 | */ |
| 15884 | 956 | PurpleStatusType *purple_account_get_status_type_with_primitive( |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
957 | PurpleAccount *account, |
| 15884 | 958 | PurpleStatusPrimitive primitive); |
|
11739
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
959 | |
|
cc15987b3937
[gaim-migrate @ 14030]
Mark Doliner <markdoliner@pidgin.im>
parents:
11732
diff
changeset
|
960 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
961 | * purple_account_get_presence: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
962 | * @account: The account. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
963 | * |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
964 | * Returns the account's presence. |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
965 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
966 | * Returns: (transfer none): The account's presence. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
967 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
968 | PurplePresence *purple_account_get_presence(PurpleAccount *account); |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
969 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
970 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
971 | * purple_account_is_status_active: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
972 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
973 | * @status_id: The status ID. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
974 | * |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
975 | * Returns whether or not an account status is active. |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
976 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
977 | * Returns: TRUE if active, or FALSE if not. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
978 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
979 | gboolean purple_account_is_status_active(PurpleAccount *account, |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
980 | const char *status_id); |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
981 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
982 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
983 | * purple_account_get_status_types: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
984 | * @account: The account. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
985 | * |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
986 | * Returns the account's status types. |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
987 | * |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
988 | * Returns: (transfer none) (element-type PurpleStatusType): The account's status types. |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
989 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
990 | GList *purple_account_get_status_types(PurpleAccount *account); |
|
9944
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
991 | |
|
71ef020ec4b0
[gaim-migrate @ 10838]
Christian Hammond <chipx86@chipx86.com>
parents:
9718
diff
changeset
|
992 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
993 | * purple_account_get_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
994 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
995 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
996 | * @default_value: The default value. |
| 5563 | 997 | * |
| 998 | * Returns a protocol-specific integer setting for an account. | |
| 999 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1000 | * Returns: The value. |
| 5563 | 1001 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1002 | int purple_account_get_int(PurpleAccount *account, const char *name, |
|
5564
1779a1bfbdb8
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
1003 | int default_value); |
| 5563 | 1004 | |
| 1005 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1006 | * purple_account_get_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1007 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1008 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1009 | * @default_value: The default value. |
| 5563 | 1010 | * |
| 1011 | * Returns a protocol-specific string setting for an account. | |
| 1012 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1013 | * Returns: The value. |
| 5563 | 1014 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1015 | const char *purple_account_get_string(PurpleAccount *account, |
|
5564
1779a1bfbdb8
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
1016 | const char *name, |
|
1779a1bfbdb8
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
1017 | const char *default_value); |
| 5563 | 1018 | |
| 1019 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1020 | * purple_account_get_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1021 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1022 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1023 | * @default_value: The default value. |
| 5563 | 1024 | * |
| 1025 | * Returns a protocol-specific boolean setting for an account. | |
| 1026 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1027 | * Returns: The value. |
| 5563 | 1028 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1029 | gboolean purple_account_get_bool(PurpleAccount *account, const char *name, |
|
5564
1779a1bfbdb8
[gaim-migrate @ 5966]
Christian Hammond <chipx86@chipx86.com>
parents:
5563
diff
changeset
|
1030 | gboolean default_value); |
| 5563 | 1031 | |
| 1032 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1033 | * purple_account_get_ui_int: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1034 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1035 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1036 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1037 | * @default_value: The default value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1038 | * |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1039 | * Returns a UI-specific integer setting for an account. |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1040 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1041 | * Returns: The value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1042 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1043 | int purple_account_get_ui_int(PurpleAccount *account, const char *ui, |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1044 | const char *name, int default_value); |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1045 | |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1046 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1047 | * purple_account_get_ui_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1048 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1049 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1050 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1051 | * @default_value: The default value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1052 | * |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1053 | * Returns a UI-specific string setting for an account. |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1054 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1055 | * Returns: The value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1056 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1057 | const char *purple_account_get_ui_string(PurpleAccount *account, |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1058 | const char *ui, const char *name, |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1059 | const char *default_value); |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1060 | |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1061 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1062 | * purple_account_get_ui_bool: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1063 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1064 | * @ui: The UI name. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1065 | * @name: The name of the setting. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1066 | * @default_value: The default value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1067 | * |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1068 | * Returns a UI-specific boolean setting for an account. |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1069 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1070 | * Returns: The value. |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1071 | */ |
|
39514
9c7715998bbc
Cleanup account.[ch] and status.[ch] to remove g_type_class_add_private and other cleans including remove const from accessors
Gary Kramlich <grim@reaperworld.com>
parents:
38745
diff
changeset
|
1072 | gboolean purple_account_get_ui_bool(PurpleAccount *account, const char *ui, |
|
5777
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1073 | const char *name, gboolean default_value); |
|
2b4e8214a7cd
[gaim-migrate @ 6202]
Christian Hammond <chipx86@chipx86.com>
parents:
5710
diff
changeset
|
1074 | |
| 8573 | 1075 | |
| 1076 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1077 | * purple_account_get_log: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1078 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1079 | * @create: Should it be created if it doesn't exist? |
| 8573 | 1080 | * |
| 1081 | * Returns the system log for an account. | |
| 1082 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1083 | * Note: Callers should almost always pass %FALSE for @a create. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1084 | * Passing %TRUE could result in an existing log being reopened, |
|
13508
3c66c5a0ca7c
[gaim-migrate @ 15883]
Richard Laager <rlaager@pidgin.im>
parents:
12857
diff
changeset
|
1085 | * if the log has already been closed, which not all loggers deal |
|
3c66c5a0ca7c
[gaim-migrate @ 15883]
Richard Laager <rlaager@pidgin.im>
parents:
12857
diff
changeset
|
1086 | * with appropriately. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1087 | * |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1088 | * Returns: The log. |
| 8573 | 1089 | */ |
| 15884 | 1090 | PurpleLog *purple_account_get_log(PurpleAccount *account, gboolean create); |
| 8573 | 1091 | |
| 1092 | /** | |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1093 | * purple_account_destroy_log: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1094 | * @account: The account. |
| 8573 | 1095 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1096 | * Frees the system log of an account |
| 8573 | 1097 | */ |
| 15884 | 1098 | void purple_account_destroy_log(PurpleAccount *account); |
| 8573 | 1099 | |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1100 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1101 | * purple_account_add_buddy: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1102 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1103 | * @buddy: The buddy to add. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1104 | * @message: The invite message. This may be ignored by a protocol. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1105 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1106 | * Adds a buddy to the server-side buddy list for the specified account. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1107 | */ |
|
32315
2550a39e0285
Rename the _with_invite functions to their counterparts.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
1108 | void purple_account_add_buddy(PurpleAccount *account, PurpleBuddy *buddy, const char *message); |
|
31594
ec0856af6477
Add new functions for adding buddies with an invite message. If the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31566
diff
changeset
|
1109 | |
|
ec0856af6477
Add new functions for adding buddies with an invite message. If the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31566
diff
changeset
|
1110 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1111 | * purple_account_add_buddies: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1112 | * @account: The account. |
| 38634 | 1113 | * @buddies: (element-type PurpleBuddy): The list of PurpleBlistNodes representing the buddies to add. |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1114 | * @message: The invite message. This may be ignored by a protocol. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1115 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1116 | * Adds a list of buddies to the server-side buddy list. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1117 | */ |
|
32315
2550a39e0285
Rename the _with_invite functions to their counterparts.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31594
diff
changeset
|
1118 | void purple_account_add_buddies(PurpleAccount *account, GList *buddies, const char *message); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1119 | |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1120 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1121 | * purple_account_remove_buddy: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1122 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1123 | * @buddy: The buddy to remove. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1124 | * @group: The group to remove the buddy from. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1125 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1126 | * Removes a buddy from the server-side buddy list. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1127 | */ |
| 15884 | 1128 | void purple_account_remove_buddy(PurpleAccount *account, PurpleBuddy *buddy, |
| 1129 | PurpleGroup *group); | |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1130 | |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1131 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1132 | * purple_account_remove_buddies: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1133 | * @account: The account. |
|
38632
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
1134 | * @buddies: (element-type PurpleBuddy): The list of buddies to remove. |
|
4cbae4a1bac1
Add a lot of type annotations, still many more to go
Gary Kramlich <grim@reaperworld.com>
parents:
38240
diff
changeset
|
1135 | * @groups: (element-type PurpleGroup): The list of groups to remove buddies from. Each node of this |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1136 | * list should match the corresponding node of buddies. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1137 | * |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1138 | * Removes a list of buddies from the server-side buddy list. |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1139 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1140 | * Note: The lists buddies and groups are parallel lists. Be sure that node n of |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1141 | * groups matches node n of buddies. |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1142 | */ |
| 15884 | 1143 | void purple_account_remove_buddies(PurpleAccount *account, GList *buddies, |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1144 | GList *groups); |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1145 | |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1146 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1147 | * purple_account_remove_group: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1148 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1149 | * @group: The group to remove. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1150 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1151 | * Removes a group from the server-side buddy list. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1152 | */ |
| 15884 | 1153 | void purple_account_remove_group(PurpleAccount *account, PurpleGroup *group); |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1154 | |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1155 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1156 | * purple_account_change_password: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1157 | * @account: The account. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1158 | * @orig_pw: The old password. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1159 | * @new_pw: The new password. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1160 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1161 | * Changes the password on the specified account. |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1162 | */ |
| 15884 | 1163 | void purple_account_change_password(PurpleAccount *account, const char *orig_pw, |
|
11643
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1164 | const char *new_pw); |
|
f04408721780
[gaim-migrate @ 13920]
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
11348
diff
changeset
|
1165 | |
|
12645
a907ba243930
[gaim-migrate @ 14983]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12420
diff
changeset
|
1166 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1167 | * purple_account_supports_offline_message: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1168 | * @account: The account |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1169 | * @buddy: The buddy |
|
12645
a907ba243930
[gaim-migrate @ 14983]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12420
diff
changeset
|
1170 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1171 | * Whether the account supports sending offline messages to buddy. |
|
12645
a907ba243930
[gaim-migrate @ 14983]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12420
diff
changeset
|
1172 | */ |
| 15884 | 1173 | gboolean purple_account_supports_offline_message(PurpleAccount *account, PurpleBuddy *buddy); |
|
12645
a907ba243930
[gaim-migrate @ 14983]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
12420
diff
changeset
|
1174 | |
|
21287
c4971408eae8
Make PurpleAccount keep track of the last connection error suffered (or not, if
Will Thompson <resiak@pidgin.im>
parents:
20889
diff
changeset
|
1175 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1176 | * purple_account_get_current_error: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1177 | * @account: The account whose error should be retrieved. |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1178 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35178
diff
changeset
|
1179 | * Get the error that caused the account to be disconnected, or %NULL if the |
|
21287
c4971408eae8
Make PurpleAccount keep track of the last connection error suffered (or not, if
Will Thompson <resiak@pidgin.im>
parents:
20889
diff
changeset
|
1180 | * account is happily connected or disconnected without an error. |
|
c4971408eae8
Make PurpleAccount keep track of the last connection error suffered (or not, if
Will Thompson <resiak@pidgin.im>
parents:
20889
diff
changeset
|
1181 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1182 | * Returns: (transfer none): The type of error and a human-readable description |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1183 | * of the current error, or %NULL if there is no current error. This |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1184 | * pointer is guaranteed to remain valid until the @ref |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1185 | * account-error-changed signal is emitted for @a account. |
|
21287
c4971408eae8
Make PurpleAccount keep track of the last connection error suffered (or not, if
Will Thompson <resiak@pidgin.im>
parents:
20889
diff
changeset
|
1186 | */ |
|
21298
d0d9cfaf3fe7
Mark pointed out that PurpleConnectionErrorPair is not a very good name for the
Will Thompson <resiak@pidgin.im>
parents:
21295
diff
changeset
|
1187 | const PurpleConnectionErrorInfo *purple_account_get_current_error(PurpleAccount *account); |
|
21287
c4971408eae8
Make PurpleAccount keep track of the last connection error suffered (or not, if
Will Thompson <resiak@pidgin.im>
parents:
20889
diff
changeset
|
1188 | |
|
21311
bca57f8144a1
Add purple_account_clear_current_error(), which does what it says on the tin.
Will Thompson <resiak@pidgin.im>
parents:
21300
diff
changeset
|
1189 | /** |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1190 | * purple_account_clear_current_error: |
|
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1191 | * @account: The account whose error state should be cleared. |
|
21311
bca57f8144a1
Add purple_account_clear_current_error(), which does what it says on the tin.
Will Thompson <resiak@pidgin.im>
parents:
21300
diff
changeset
|
1192 | * |
|
35396
7bfe75a37af7
Convert docs from doxygen to gtk-doc format for account*, blist*, media/*
Ankit Vani <a@nevitus.org>
parents:
35394
diff
changeset
|
1193 | * Clear an account's current error state, resetting it to %NULL. |
|
21311
bca57f8144a1
Add purple_account_clear_current_error(), which does what it says on the tin.
Will Thompson <resiak@pidgin.im>
parents:
21300
diff
changeset
|
1194 | */ |
|
21315
031ad548b3c8
purple_account_clear_current_error is public API, so should not be static.
Will Thompson <resiak@pidgin.im>
parents:
21311
diff
changeset
|
1195 | void purple_account_clear_current_error(PurpleAccount *account); |
|
21311
bca57f8144a1
Add purple_account_clear_current_error(), which does what it says on the tin.
Will Thompson <resiak@pidgin.im>
parents:
21300
diff
changeset
|
1196 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32722
diff
changeset
|
1197 | G_END_DECLS |
|
5944
f19df037ac58
[gaim-migrate @ 6385]
Christian Hammond <chipx86@chipx86.com>
parents:
5943
diff
changeset
|
1198 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39514
diff
changeset
|
1199 | #endif /* PURPLE_ACCOUNT_H */ |