Tue, 20 Feb 2024 01:23:04 -0600
Create a test for verifying license headers and correct the ones that were wrong
We might want to move check_license_header.py script out to somewhere else,
but this is fine for now as we're just getting things going.
Testing Done:
Compiled with the Turtles.
Reviewed at https://reviews.imfreedom.org/r/2940/
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
7 | * source distribution. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
9 | * This library is free software; you can redistribute it and/or modify it |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the Free |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
11 | * Software Foundation; either version 2 of the License, or (at your option) |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
12 | * any later version. |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
17 | * more details. |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License along with |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42444
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40440
diff
changeset
|
23 | #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:
40440
diff
changeset
|
24 | # 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:
40440
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40440
diff
changeset
|
26 | |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PURPLE_PRIVATE_H |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PURPLE_PRIVATE_H |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib.h> |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #include <glib/gstdio.h> |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
33 | #include "accounts.h" |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
34 | #include "connection.h" |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
35 | #include "purplecredentialprovider.h" |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
36 | #include "purplehistoryadapter.h" |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
37 | #include "purpleversion.h" |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | G_BEGIN_DECLS |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | * _purple_account_to_xmlnode: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
43 | * @account: The account |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
45 | * Get an XML description of an account. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
46 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
47 | * Returns: The XML description of the account. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
49 | G_GNUC_INTERNAL |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
50 | PurpleXmlNode *_purple_account_to_xmlnode(PurpleAccount *account); |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
51 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
52 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
53 | * _purple_blist_get_last_child: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | * @node: The node whose last child is to be retrieved. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | * Returns the last child of a particular node. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
58 | * Returns: The last child of the node. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
59 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
60 | G_GNUC_INTERNAL |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
61 | PurpleBlistNode *_purple_blist_get_last_child(PurpleBlistNode *node); |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | /* This is for the accounts code to notify the buddy icon code that |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | * it's done loading. We may want to replace this with a signal. */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
65 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
66 | void _purple_buddy_icons_account_loaded_cb(void); |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
67 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
68 | /* This is for the buddy list to notify the buddy icon code that |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
69 | * it's done loading. We may want to replace this with a signal. */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
70 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
71 | void _purple_buddy_icons_blist_loaded_cb(void); |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
72 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
73 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
74 | * _purple_connection_wants_to_die: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
75 | * @gc: The connection to check |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
76 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
77 | * Checks if a connection is disconnecting, and should not attempt to reconnect. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
78 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
79 | * Note: This function should only be called by purple_account_set_enabled() |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
80 | * in account.c. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
82 | G_GNUC_INTERNAL |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | gboolean _purple_connection_wants_to_die(PurpleConnection *gc); |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | * _purple_connection_add_active_chat: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
87 | * @gc: The connection |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | * @chat: The chat conversation to add |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
89 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | * Adds a chat to the active chats list of a connection |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | * Note: This function should only be called by purple_serv_got_joined_chat() |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | * in server.c. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
95 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
96 | void _purple_connection_add_active_chat(PurpleConnection *gc, PurpleChatConversation *chat); |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
97 | |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * _purple_connection_remove_active_chat: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * @gc: The connection |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
101 | * @chat: The chat conversation to remove |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
103 | * Removes a chat from the active chats list of a connection |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
105 | * Note: This function should only be called by purple_serv_got_chat_left() |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | * in server.c. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
107 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
108 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
109 | void _purple_connection_remove_active_chat(PurpleConnection *gc, PurpleChatConversation *chat); |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
110 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
111 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
112 | * _purple_statuses_get_primitive_scores: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
113 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
114 | * Note: This function should only be called by |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
115 | * purple_buddy_presence_compute_score() in presence.c. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
116 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
117 | * Returns: The primitive scores array from status.c. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
119 | G_GNUC_INTERNAL |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
120 | int *_purple_statuses_get_primitive_scores(void); |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | /** |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | * _purple_conversation_write_common: |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | * @conv: The conversation. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
125 | * @msg: The message. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
126 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
127 | * Writes to a conversation window. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
128 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
129 | * This function should not be used to write IM or chat messages. Use |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
130 | * purple_conversation_write_message() instead. This function will |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
131 | * most likely call this anyway, but it may do it's own formatting, |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
132 | * sound playback, etc. depending on whether the conversation is a chat or an |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
133 | * IM. |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
134 | * |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
135 | * See purple_conversation_write_message(). |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
136 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
137 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
138 | void _purple_conversation_write_common(PurpleConversation *conv, PurpleMessage *msg); |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
139 | |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
140 | /** |
|
41181
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
141 | * purple_account_manager_startup: |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
142 | * |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
143 | * Starts up the account manager by creating the default instance. |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
144 | * |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
145 | * Since: 3.0.0 |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
146 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
147 | G_GNUC_INTERNAL |
|
41181
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
148 | void purple_account_manager_startup(void); |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
149 | |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
150 | /** |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
151 | * purple_account_manager_shutdown: |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
152 | * |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
153 | * Shuts down the account manager by destroying the default instance. |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
154 | * |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
155 | * Since: 3.0.0 |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
156 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
157 | G_GNUC_INTERNAL |
|
41181
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
158 | void purple_account_manager_shutdown(void); |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
159 | |
|
e859c41d8996
Create the PurpleAccountManager API
Gary Kramlich <grim@reaperworld.com>
parents:
41090
diff
changeset
|
160 | /** |
|
41754
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
161 | * purple_contact_manager_startup: |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
162 | * |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
163 | * Starts up the contact manager by creating the default instance. |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
164 | * |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
165 | * Since: 3.0.0 |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
166 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
167 | G_GNUC_INTERNAL |
|
41754
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
168 | void purple_contact_manager_startup(void); |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
169 | |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
170 | /** |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
171 | * purple_contact_manager_shutdown: |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
172 | * |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
173 | * Shuts down the contact manager by destroying the default instance. |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
174 | * |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
175 | * Since: 3.0.0 |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
176 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
177 | G_GNUC_INTERNAL |
|
41754
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
178 | void purple_contact_manager_shutdown(void); |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
179 | |
|
abf413211063
Create the new PurpleContactManager
Gary Kramlich <grim@reaperworld.com>
parents:
41433
diff
changeset
|
180 | /** |
|
40948
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
181 | * purple_conversation_manager_startup: |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
182 | * |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
183 | * Starts up the conversation manager by creating the default instance. |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
184 | * |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
185 | * Since: 3.0.0 |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
186 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
187 | G_GNUC_INTERNAL |
|
40948
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
188 | void purple_conversation_manager_startup(void); |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
189 | |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
190 | /** |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
191 | * purple_conversation_manager_shutdown: |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
192 | * |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
193 | * Shuts down the conversation manager by destroying the default instance. |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
194 | * |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
195 | * Since: 3.0.0 |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
196 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
197 | G_GNUC_INTERNAL |
|
40948
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
198 | void purple_conversation_manager_shutdown(void); |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
199 | |
|
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40823
diff
changeset
|
200 | /** |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
201 | * purple_credential_manager_startup: |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
202 | * |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
203 | * Starts up the credential manager by creating the default instance. |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
204 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
205 | * Since: 3.0.0 |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
206 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
207 | G_GNUC_INTERNAL |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
208 | void purple_credential_manager_startup(void); |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
209 | |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
210 | /** |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
211 | * purple_credential_manager_shutdown: |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
212 | * |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
213 | * Shuts down the credential manager by destroying the default instance. |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
214 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
215 | * Since: 3.0.0 |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
216 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
217 | G_GNUC_INTERNAL |
|
40583
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
218 | void purple_credential_manager_shutdown(void); |
|
28964322556c
Add the new PurpleCredentialManager API
Gary Kramlich <grim@reaperworld.com>
parents:
40541
diff
changeset
|
219 | |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
220 | /** |
|
40822
4946be291bc3
Fix some typos in the doc strings in purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40769
diff
changeset
|
221 | * purple_protocol_manager_startup: |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
222 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
223 | * Starts up the protocol manager by creating the default instance. |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
224 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
225 | * Since: 3.0.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
226 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
227 | G_GNUC_INTERNAL |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
228 | void purple_protocol_manager_startup(void); |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
229 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
230 | /** |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
231 | * purple_protocol_manager_shutdown: |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
232 | * |
|
40822
4946be291bc3
Fix some typos in the doc strings in purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40769
diff
changeset
|
233 | * Shuts down the protocol manager by destroying the default instance. |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
234 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
235 | * Since: 3.0.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
236 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
237 | G_GNUC_INTERNAL |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
238 | void purple_protocol_manager_shutdown(void); |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
40583
diff
changeset
|
239 | |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
240 | /** |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
241 | * purple_credential_provider_activate: |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
242 | * @provider: The #PurpleCredentialProvider instance. |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
243 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
244 | * Tells a @provider that it has become the active provider. |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
245 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
246 | * Since: 3.0.0 |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
247 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
248 | G_GNUC_INTERNAL |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
249 | void purple_credential_provider_activate(PurpleCredentialProvider *provider); |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
250 | |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
251 | /** |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
252 | * purple_credential_provider_deactivate: |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
253 | * @provider: The #PurpleCredentialProvider instance. |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
254 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
255 | * Tells @provider that another #PurpleCredentialProvider has become the active |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
256 | * provider. |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
257 | * |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
258 | * Since: 3.0.0 |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
259 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
260 | G_GNUC_INTERNAL |
|
40823
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
261 | void purple_credential_provider_deactivate(PurpleCredentialProvider *provider); |
|
338bba38df77
Port the KWallet Keyring to the new CredentialProvider API.
Gary Kramlich <grim@reaperworld.com>
parents:
40822
diff
changeset
|
262 | |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
263 | /** |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
264 | * purple_history_adapter_activate: |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
265 | * @adapter: The #PurpleHistoryAdapter instance. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
266 | * @error: A return address for a #GError. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
267 | * |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
268 | * Asks @adapter to become the active adapter. If @adapter can not become active |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
269 | * it should return %FALSE and set @error. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
270 | * |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
271 | * NOTE: This is public only for tests. Do not use outside of libpurple. |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
272 | * |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
273 | * Returns: %TRUE on success otherwise %FALSE with @error set. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
274 | * |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
275 | * Since: 3.0.0 |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
276 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
277 | PURPLE_AVAILABLE_IN_3_0 |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
278 | gboolean purple_history_adapter_activate(PurpleHistoryAdapter *adapter, GError **error); |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
279 | |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
280 | /** |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
281 | * purple_history_adapter_deactivate: |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
282 | * @adapter: The #PurpleHistoryAdapter instance. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
283 | * @error: A return address for a #GError. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
284 | * |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
285 | * Asks @adapter to stop being the active adapter. If @adapter can not |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
286 | * deactivate it should return %FALSE and set @error. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
287 | * |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
288 | * NOTE: This is public only for tests. Do not use outside of libpurple. |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
289 | * |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
290 | * Returns: %TRUE on success otherwise %FALSE with @error set. |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
291 | * |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
292 | * Since: 3.0.0 |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
293 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
294 | PURPLE_AVAILABLE_IN_3_0 |
|
41090
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
295 | gboolean purple_history_adapter_deactivate(PurpleHistoryAdapter *adapter, GError **error); |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
296 | |
|
741992355ead
GSoC History API including sqlite history adapter
James Culver <rewtguy@gmail.com>
parents:
41083
diff
changeset
|
297 | /** |
|
41433
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
298 | * purple_notification_manager_startup: |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
299 | * |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
300 | * Starts up the notification manager by creating the default instance. |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
301 | * |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
302 | * Since: 3.0.0 |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
303 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
304 | G_GNUC_INTERNAL |
|
41433
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
305 | void purple_notification_manager_startup(void); |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
306 | |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
307 | /** |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
308 | * purple_notification_manager_shutdown: |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
309 | * |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
310 | * Shuts down the notification manager by destroying the default instance. |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
311 | * |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
312 | * Since: 3.0.0 |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
313 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
314 | G_GNUC_INTERNAL |
|
41433
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
315 | void purple_notification_manager_shutdown(void); |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
316 | |
|
d563b345a096
Phase 1 of the Notifications API
Gary Kramlich <grim@reaperworld.com>
parents:
41181
diff
changeset
|
317 | /** |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
318 | * purple_whiteboard_manager_startup: |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
319 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
320 | * Starts up the whiteboard manager by creating the default instance. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
321 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
322 | * Since: 3.0.0 |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
323 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
324 | G_GNUC_INTERNAL |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
325 | void purple_whiteboard_manager_startup(void); |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
326 | |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
327 | /** |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
328 | * purple_whiteboard_manager_shutdown: |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
329 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
330 | * Shuts down the whiteboard manager by destroying the default instance. |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
331 | * |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
332 | * Since: 3.0.0 |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
333 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
334 | G_GNUC_INTERNAL |
|
41040
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
335 | void purple_whiteboard_manager_shutdown(void); |
|
4be2eda9548a
Create PurpleWhiteboardManager for managing whiteboards
Gary Kramlich <grim@reaperworld.com>
parents:
40948
diff
changeset
|
336 | |
|
41830
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
337 | /** |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
338 | * purple_account_set_enabled_plain: |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
339 | * @account: The instance. |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
340 | * @enabled: Whether or not the account is enabled. |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
341 | * |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
342 | * This is a temporary method until we overhaul serialization of accounts. |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
343 | * |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
344 | * This method sets the enabled state of an account without any side effects. |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
345 | * Its primary usage is when loading accounts from disk, as without this, the |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
346 | * account attempts to connect immediately. |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
347 | * |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
348 | * Since: 3.0.0 |
|
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
349 | */ |
|
42444
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
350 | G_GNUC_INTERNAL |
|
6d129ecb4b6f
Mark private libpurple API as internal
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42389
diff
changeset
|
351 | void purple_account_set_enabled_plain(PurpleAccount *account, gboolean enabled); |
|
41830
5bc664b848a5
Work around an issue where accounts were attempting to connect when they were deserialized
Gary Kramlich <grim@reaperworld.com>
parents:
41754
diff
changeset
|
352 | |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
353 | G_END_DECLS |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
354 | |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
355 | #endif /* PURPLE_PRIVATE_H */ |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
356 |