Thu, 07 Aug 2025 21:32:18 -0500
Clean up and modernize PurpleImage
Testing Done:
Ran the tests under valgrind and called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4074/
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
1 | /* |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
4 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42387
diff
changeset
|
5 | * Purple is the legal property of its developers, whose names are too numerous |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42387
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42387
diff
changeset
|
7 | * source distribution. |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
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:
42387
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:
42387
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:
42387
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:
42387
diff
changeset
|
12 | * any later version. |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
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:
42387
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:
42387
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:
42387
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:
42387
diff
changeset
|
17 | * more details. |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42387
diff
changeset
|
18 | * |
|
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42387
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:
42387
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
21 | */ |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
22 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
41276
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41205
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
25 | #endif |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
26 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
27 | #ifndef PURPLE_PROTOCOL_MANAGER_H |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
28 | #define PURPLE_PROTOCOL_MANAGER_H |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
29 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
30 | #include <glib.h> |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
31 | #include <glib-object.h> |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
32 | |
|
41155
922c9e70900c
Rename protocol.[ch] to purpleprotocol.[ch]
Gary Kramlich <grim@reaperworld.com>
parents:
41132
diff
changeset
|
33 | #include "purpleprotocol.h" |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
34 | #include "purpleversion.h" |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
35 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
36 | G_BEGIN_DECLS |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
37 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
38 | /** |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
39 | * PURPLE_PROTOCOL_MANAGER_DOMAIN: |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
40 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
41 | * A #GError domain for errors from #PurpleProtocolManager. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
42 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
43 | * Since: 3.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
44 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
45 | #define PURPLE_PROTOCOL_MANAGER_DOMAIN \ |
|
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
46 | g_quark_from_static_string("purple-protocol-manager") \ |
|
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
47 | PURPLE_AVAILABLE_MACRO_IN_3_0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
48 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
49 | #define PURPLE_TYPE_PROTOCOL_MANAGER (purple_protocol_manager_get_type()) |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
50 | |
|
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
51 | PURPLE_AVAILABLE_IN_3_0 |
|
41132
a528d27e81e2
Make PurpleProtocolManager a final type
Gary Kramlich <grim@reaperworld.com>
parents:
41010
diff
changeset
|
52 | G_DECLARE_FINAL_TYPE(PurpleProtocolManager, purple_protocol_manager, PURPLE, |
|
a528d27e81e2
Make PurpleProtocolManager a final type
Gary Kramlich <grim@reaperworld.com>
parents:
41010
diff
changeset
|
53 | PROTOCOL_MANAGER, GObject) |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
54 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
55 | /** |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
56 | * PurpleProtocolManager: |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
57 | * |
|
41205
c5513eb740aa
Remove unnecessary gtk-doc comments and move them where possible from libpurple/purple[o-z]*.h
Gary Kramlich <grim@reaperworld.com>
parents:
41155
diff
changeset
|
58 | * #PurpleProtocolManager keeps track of all protocols and emits signals when |
|
43034
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
59 | * protocols are added and removed. |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
60 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
61 | * Since: 3.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
62 | */ |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
63 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
64 | /** |
|
43034
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
65 | * purple_protocol_manager_add: |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
66 | * @manager: The #PurpleProtocolManager instance. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
67 | * @protocol: The #PurpleProtocol to add. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
68 | * @error: Return address for a #GError, or %NULL. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
69 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
70 | * Adds @protocol to @manager. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
71 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
72 | * Returns: %TRUE if @protocol was successfully added with @manager, %FALSE |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
73 | * otherwise. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
74 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
75 | * Since: 3.0 |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
76 | */ |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
77 | PURPLE_AVAILABLE_IN_3_0 |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
78 | gboolean purple_protocol_manager_add(PurpleProtocolManager *manager, PurpleProtocol *protocol, GError **error); |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
79 | |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
80 | /** |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
81 | * purple_protocol_manager_get_default: |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
82 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
83 | * Gets the default #PurpleProtocolManager instance. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
84 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
85 | * Returns: (transfer none): The default #PurpleProtocolManager instance. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
86 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
87 | * Since: 3.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
88 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
89 | PURPLE_AVAILABLE_IN_3_0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
90 | PurpleProtocolManager *purple_protocol_manager_get_default(void); |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
91 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
92 | /** |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
93 | * purple_protocol_manager_find: |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
94 | * @manager: The #PurpleProtocolManager instance. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
95 | * @id: The id of the #PurpleProtocol to find. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
96 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
97 | * Gets the #PurpleProtocol identified by @id if found, otherwise %NULL. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
98 | * |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
99 | * Returns: (transfer none): The #PurpleProtocol identified by @id or %NULL. |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
100 | * |
|
42615
2f3308794a8f
Remove the micro version from since tags for libpurple part 4
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
101 | * Since: 3.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
102 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
103 | PURPLE_AVAILABLE_IN_3_0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
104 | PurpleProtocol *purple_protocol_manager_find(PurpleProtocolManager *manager, const gchar *id); |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
105 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
106 | /** |
|
43034
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
107 | * purple_protocol_manager_remove: |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
108 | * @manager: The #PurpleProtocolManager instance. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
109 | * @protocol: The #PurpleProtocol to remove. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
110 | * @error: Return address for a #GError, or %NULL. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
111 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
112 | * Removes @protocol from @manager. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
113 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
114 | * Returns: %TRUE if @protocol was successfully removed from @manager, %FALSE |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
115 | * otherwise. |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
116 | * |
|
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
117 | * Since: 3.0 |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
118 | */ |
|
42387
d9350cda1556
Export symbols added for 3.0.0
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41881
diff
changeset
|
119 | PURPLE_AVAILABLE_IN_3_0 |
|
43034
b45543113d52
Rename Purple.ProtocolManager.register/unregister to add/remove
Gary Kramlich <grim@reaperworld.com>
parents:
42615
diff
changeset
|
120 | gboolean purple_protocol_manager_remove(PurpleProtocolManager *manager, PurpleProtocol *protocol, GError **error); |
|
40735
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
121 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
122 | G_END_DECLS |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
123 | |
|
cc0679f47fd9
Create a new PurpleProtocolManager
Gary Kramlich <grim@reaperworld.com>
parents:
diff
changeset
|
124 | #endif /* PURPLE_PROTOCOL_MANAGER_H */ |