Tue, 13 Aug 2024 03:03:05 -0500
Echo out pings and pongs as well as the RPL_ISUPPORT message
Testing Done:
Connected to a local ergo server and verified that the `RPL_ISUPPORT` message and `PING`s and `PONG`s were displayed in the status window.
Reviewed at https://reviews.imfreedom.org/r/3379/
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
1 | /* |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 6485 | 4 | * |
| 15884 | 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:
42419
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 8046 | 7 | * source distribution. |
| 6485 | 8 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42419
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:
42419
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:
42419
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:
42419
diff
changeset
|
12 | * any later version. |
| 6485 | 13 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42419
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:
42419
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:
42419
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:
42419
diff
changeset
|
17 | * more details. |
| 6485 | 18 | * |
|
42594
eddde70cedd8
Create a test for verifying license headers and correct the ones that were wrong
Gary Kramlich <grim@reaperworld.com>
parents:
42419
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:
42419
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 6485 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35486
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40186
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:
40186
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:
40186
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40186
diff
changeset
|
26 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39382
diff
changeset
|
27 | #ifndef PURPLE_SIGNALS_H |
|
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39382
diff
changeset
|
28 | #define PURPLE_SIGNALS_H |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
29 | |
| 6485 | 30 | #include <glib.h> |
|
34807
9cfac32ace9a
Replaced PurpleValue with GType in dbus-server.h
Ankit Vani <a@nevitus.org>
parents:
34801
diff
changeset
|
31 | #include <glib-object.h> |
| 6485 | 32 | |
|
42391
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41922
diff
changeset
|
33 | #include "purpleversion.h" |
|
090b03385984
Add Since and symbol visibility to new-in-3.0 things
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41922
diff
changeset
|
34 | |
|
40524
a3b1cde8d2d8
Add documentation for all PURPLE_TYPE_ functions as well as PURPLE_TUNE_ constants
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
35 | /** |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
36 | * PurpleSignalMarshalFunc: |
|
41312
c39de96b3daf
Replace PurpleCallback by GCallback
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
37 | * @cb: The #GCallback to call. |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
38 | * @args: The arguments to the function. |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
39 | * @data: Userdata to pass to @cb. |
|
40649
b31d8cb21d31
Fix a warning about gobject-introspection annotations
Gary Kramlich <grim@reaperworld.com>
parents:
40584
diff
changeset
|
40 | * @return_val: (optional) (out): A return address for a return value. |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
41 | * |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
42 | * A generic function pointer type used to register signals. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
43 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
44 | * Since: 2.0 |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40524
diff
changeset
|
45 | */ |
|
41312
c39de96b3daf
Replace PurpleCallback by GCallback
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
46 | typedef void (*PurpleSignalMarshalFunc)(GCallback cb, va_list args, |
| 6485 | 47 | void *data, void **return_val); |
| 48 | ||
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31669
diff
changeset
|
49 | G_BEGIN_DECLS |
| 6485 | 50 | |
|
38023
0e30ab5e8413
doc fixes for signals.h
Gary Kramlich <grim@reaperworld.com>
parents:
37094
diff
changeset
|
51 | /****************************************************************************** |
|
0e30ab5e8413
doc fixes for signals.h
Gary Kramlich <grim@reaperworld.com>
parents:
37094
diff
changeset
|
52 | * Signal API |
|
0e30ab5e8413
doc fixes for signals.h
Gary Kramlich <grim@reaperworld.com>
parents:
37094
diff
changeset
|
53 | *****************************************************************************/ |
| 6485 | 54 | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
55 | /** |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
56 | * PURPLE_SIGNAL_PRIORITY_DEFAULT: |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
57 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
58 | * The priority of a signal connected using purple_signal_connect(). |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
59 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
60 | * See purple_signal_connect_priority() |
| 10656 | 61 | */ |
| 15884 | 62 | #define PURPLE_SIGNAL_PRIORITY_DEFAULT 0 |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
63 | |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
64 | /** |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
65 | * PURPLE_SIGNAL_PRIORITY_HIGHEST: |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
66 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
67 | * The largest signal priority; signals with this priority will be called |
| 35420 | 68 | * <emphasis>last</emphasis>. (This is highest as in numerical value, not as in |
| 69 | * order of importance.) | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
70 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
71 | * See purple_signal_connect_priority(). |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
72 | */ |
| 15884 | 73 | #define PURPLE_SIGNAL_PRIORITY_HIGHEST 9999 |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
74 | |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
75 | /** |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
76 | * PURPLE_SIGNAL_PRIORITY_LOWEST: |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
77 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
78 | * The smallest signal priority; signals with this priority will be called |
| 35420 | 79 | * <emphasis>first</emphasis>. (This is lowest as in numerical value, not as in |
| 80 | * order of importance.) | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
81 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
82 | * See purple_signal_connect_priority(). |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
83 | */ |
| 15884 | 84 | #define PURPLE_SIGNAL_PRIORITY_LOWEST -9999 |
| 10656 | 85 | |
| 86 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
87 | * purple_signal_register: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
88 | * @instance: The instance to register the signal for. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
89 | * @signal: The signal name. |
| 40186 | 90 | * @marshal: (scope notified): The marshal function. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
91 | * @ret_type: The return type, or G_TYPE_NONE for no return type. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
92 | * @num_values: The number of values to be passed to the callbacks. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
93 | * @...: The types of the parameters for the callbacks. |
| 6485 | 94 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
95 | * Registers a signal in an instance. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
96 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
97 | * Returns: The signal ID local to that instance, or 0 if the signal |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
98 | * couldn't be registered. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
99 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
100 | * Since: 2.0 |
| 6485 | 101 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
102 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
103 | gulong purple_signal_register(void *instance, const char *signal, PurpleSignalMarshalFunc marshal, GType ret_type, int num_values, ...); |
| 6485 | 104 | |
| 105 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
106 | * purple_signal_unregister: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
107 | * @instance: The instance to unregister the signal for. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
108 | * @signal: The signal name. |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
109 | * |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
110 | * Unregisters a signal in an instance. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
111 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
112 | * Since: 2.0 |
| 6485 | 113 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
114 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 115 | void purple_signal_unregister(void *instance, const char *signal); |
| 6485 | 116 | |
| 117 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
118 | * purple_signals_unregister_by_instance: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
119 | * @instance: The instance to unregister the signal for. |
| 6485 | 120 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
121 | * Unregisters all signals in an instance. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
122 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
123 | * Since: 2.0 |
| 6485 | 124 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
125 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 126 | void purple_signals_unregister_by_instance(void *instance); |
| 6485 | 127 | |
| 128 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
129 | * purple_signal_connect_priority: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
130 | * @instance: The instance to connect to. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
131 | * @signal: The name of the signal to connect. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
132 | * @handle: The handle of the receiver. |
| 40186 | 133 | * @func: (scope notified): The callback function. |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
134 | * @data: The data to pass to the callback function. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
135 | * @priority: The priority with which the handler should be called. Signal |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
136 | * handlers are called in ascending numerical order of |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
137 | * @priority from #PURPLE_SIGNAL_PRIORITY_LOWEST to |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
138 | * #PURPLE_SIGNAL_PRIORITY_HIGHEST. |
| 10656 | 139 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
140 | * Connects a signal handler to a signal for a particular object. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
141 | * |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
142 | * Take care not to register a handler function twice. Purple will |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
143 | * not correct any mistakes for you in this area. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
144 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
145 | * See purple_signal_disconnect() |
| 10656 | 146 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
147 | * Returns: The signal handler ID. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
148 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
149 | * Since: 2.0 |
| 10656 | 150 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
151 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
152 | gulong purple_signal_connect_priority(void *instance, const char *signal, void *handle, GCallback func, void *data, int priority); |
| 10656 | 153 | |
| 154 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
155 | * purple_signal_connect: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
156 | * @instance: The instance to connect to. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
157 | * @signal: The name of the signal to connect. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
158 | * @handle: The handle of the receiver. |
| 40186 | 159 | * @func: (scope notified): The callback function. |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
160 | * @data: The data to pass to the callback function. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
161 | * |
| 10656 | 162 | * Connects a signal handler to a signal for a particular object. |
|
22080
39cf44dceb93
Clarify documentation of confusingly-named and -valued signal priority
Will Thompson <resiak@pidgin.im>
parents:
21285
diff
changeset
|
163 | * (Its priority defaults to 0, aka #PURPLE_SIGNAL_PRIORITY_DEFAULT.) |
|
25888
d0fdd378a635
Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents:
22080
diff
changeset
|
164 | * |
| 15884 | 165 | * Take care not to register a handler function twice. Purple will |
| 10656 | 166 | * not correct any mistakes for you in this area. |
| 167 | * | |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
168 | * See purple_signal_disconnect() |
| 6485 | 169 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
170 | * Returns: The signal handler ID. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
171 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
172 | * Since: 2.0 |
| 6485 | 173 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
174 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
175 | gulong purple_signal_connect(void *instance, const char *signal, void *handle, GCallback func, void *data); |
| 6485 | 176 | |
| 177 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
178 | * purple_signal_disconnect: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
179 | * @instance: The instance to disconnect from. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
180 | * @signal: The name of the signal to disconnect. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
181 | * @handle: The handle of the receiver. |
| 40186 | 182 | * @func: (scope call): The registered function to disconnect. |
| 6485 | 183 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
184 | * Disconnects a signal handler from a signal on an object. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
185 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
186 | * See purple_signal_connect() |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
187 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
188 | * Since: 2.0 |
| 6485 | 189 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
190 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
191 | void purple_signal_disconnect(void *instance, const char *signal, void *handle, GCallback func); |
| 6485 | 192 | |
| 193 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
194 | * purple_signals_disconnect_by_handle: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
195 | * @handle: The receiver handle. |
| 6485 | 196 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
197 | * Removes all callbacks associated with a receiver handle. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
198 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
199 | * Since: 2.0 |
| 6485 | 200 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
201 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 202 | void purple_signals_disconnect_by_handle(void *handle); |
| 6485 | 203 | |
| 204 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
205 | * purple_signal_emit: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
206 | * @instance: The instance emitting the signal. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
207 | * @signal: The signal being emitted. |
|
38023
0e30ab5e8413
doc fixes for signals.h
Gary Kramlich <grim@reaperworld.com>
parents:
37094
diff
changeset
|
208 | * @...: The arguments to pass to the callbacks. |
| 6485 | 209 | * |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
210 | * Emits a signal. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
211 | * |
|
35466
e259e75f1c6f
Fix some gtk-doc warnings till xmlnode.h
Ankit Vani <a@nevitus.org>
parents:
35442
diff
changeset
|
212 | * See purple_signal_connect(), purple_signal_disconnect() |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
213 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
214 | * Since: 2.0 |
| 6485 | 215 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
216 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 217 | void purple_signal_emit(void *instance, const char *signal, ...); |
| 6485 | 218 | |
| 219 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
220 | * purple_signal_emit_return_1: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
221 | * @instance: The instance emitting the signal. |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
222 | * @signal: The signal being emitted. |
|
38023
0e30ab5e8413
doc fixes for signals.h
Gary Kramlich <grim@reaperworld.com>
parents:
37094
diff
changeset
|
223 | * @...: The arguments to pass to the callbacks. |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
224 | * |
|
10789
cabd145237d8
[gaim-migrate @ 12431]
Richard Laager <rlaager@pidgin.im>
parents:
10656
diff
changeset
|
225 | * Emits a signal and returns the first non-NULL return value. |
|
cabd145237d8
[gaim-migrate @ 12431]
Richard Laager <rlaager@pidgin.im>
parents:
10656
diff
changeset
|
226 | * |
|
cabd145237d8
[gaim-migrate @ 12431]
Richard Laager <rlaager@pidgin.im>
parents:
10656
diff
changeset
|
227 | * Further signal handlers are NOT called after a handler returns |
|
cabd145237d8
[gaim-migrate @ 12431]
Richard Laager <rlaager@pidgin.im>
parents:
10656
diff
changeset
|
228 | * something other than NULL. |
| 6485 | 229 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35011
diff
changeset
|
230 | * Returns: The first non-NULL return value |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
231 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
232 | * Since: 2.0 |
| 6485 | 233 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
234 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 235 | void *purple_signal_emit_return_1(void *instance, const char *signal, ...); |
| 6485 | 236 | |
| 237 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
238 | * purple_signals_init: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
239 | * |
| 6485 | 240 | * Initializes the signals subsystem. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
241 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
242 | * Since: 2.0 |
| 6485 | 243 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
244 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 245 | void purple_signals_init(void); |
| 6485 | 246 | |
| 247 | /** | |
|
35402
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
248 | * purple_signals_uninit: |
|
6eae3b385153
Convert docs from doxygen to gtk-doc format for purple-socket to smiley
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
249 | * |
| 6485 | 250 | * Uninitializes the signals subsystem. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
251 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
252 | * Since: 2.0 |
| 6485 | 253 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
254 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 255 | void purple_signals_uninit(void); |
| 6485 | 256 | |
| 257 | /**************************************************************************/ | |
| 35472 | 258 | /* Marshal Functions */ |
| 6485 | 259 | /**************************************************************************/ |
| 260 | ||
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
261 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
262 | * purple_marshal_VOID: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
263 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
264 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
265 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
266 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
267 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
268 | * A purple marshaller function for use with signals with no arguments. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
269 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
270 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
271 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
272 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
273 | void purple_marshal_VOID(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
274 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
275 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
276 | * purple_marshal_VOID__POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
277 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
278 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
279 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
280 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
281 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
282 | * A purple marshaller function for use with signals with a single pointer |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
283 | * argument. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
284 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
285 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
286 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
287 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
288 | void purple_marshal_VOID__POINTER(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
289 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
290 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
291 | * purple_marshal_VOID__POINTER_UINT: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
292 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
293 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
294 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
295 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
296 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
297 | * A purple marshaller function for use with signals with a pointer and |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
298 | * an unsigned integer argument. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
299 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
300 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
301 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
302 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
303 | void purple_marshal_VOID__POINTER_UINT(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
304 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
305 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
306 | * purple_marshal_VOID__POINTER_INT_INT: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
307 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
308 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
309 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
310 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
311 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
312 | * A purple marshaller function for use with signals with a pointer and |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
313 | * two integer arguments. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
314 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
315 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
316 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
317 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
318 | void purple_marshal_VOID__POINTER_INT_INT(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
319 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
320 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
321 | * purple_marshal_VOID__POINTER_INT_POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
322 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
323 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
324 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
325 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
326 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
327 | * A purple marshaller function for use with signals with a pointer, an |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
328 | * integer, and then another pointer argument. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
329 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
330 | * Since: 2.3 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
331 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
332 | PURPLE_AVAILABLE_IN_2_3 |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
333 | void purple_marshal_VOID__POINTER_INT_POINTER(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
334 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
335 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
336 | * purple_marshal_VOID__POINTER_POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
337 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
338 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
339 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
340 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
341 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
342 | * A purple marshaller function for use with signals with two pointer |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
343 | * arguments. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
344 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
345 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
346 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
347 | PURPLE_AVAILABLE_IN_ALL |
| 15884 | 348 | void purple_marshal_VOID__POINTER_POINTER( |
|
41312
c39de96b3daf
Replace PurpleCallback by GCallback
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41199
diff
changeset
|
349 | GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
350 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
351 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
352 | * purple_marshal_BOOLEAN__POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
353 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
354 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
355 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
356 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
357 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
358 | * A purple marshaller function for use with signals with a single pointer |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
359 | * argument and returns a boolean. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
360 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
361 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
362 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
363 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
364 | void purple_marshal_BOOLEAN__POINTER(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
365 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
366 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
367 | * purple_marshal_BOOLEAN__POINTER_POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
368 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
369 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
370 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
371 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
372 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
373 | * A purple marshaller function for use with signals with two pointer |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
374 | * arguments and returns a boolean. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
375 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
376 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
377 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
378 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
379 | void purple_marshal_BOOLEAN__POINTER_POINTER(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
380 | |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
381 | /** |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
382 | * purple_marshal_BOOLEAN__POINTER_POINTER_POINTER: |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
383 | * @cb: (scope call): Callback this marshaller is designed to invoke |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
384 | * @args: va_list of arguments to be passed to the closure |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
385 | * @data: (nullable): Data to be passed to the callback |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
386 | * @return_val: (nullable): Value to store the callback's return value |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
387 | * |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
388 | * A purple marshaller function for use with signals with three pointer |
|
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
389 | * arguments and returns a boolean. |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
390 | * |
|
42618
8546a023aa0a
Remove the micro version from since tags for libpurple part 7
Gary Kramlich <grim@reaperworld.com>
parents:
42594
diff
changeset
|
391 | * Since: 2.0 |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
392 | */ |
|
42419
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
393 | PURPLE_AVAILABLE_IN_ALL |
|
996225ea17a8
Make sure all of the signals API is marked with the proper version
Gary Kramlich <grim@reaperworld.com>
parents:
42392
diff
changeset
|
394 | void purple_marshal_BOOLEAN__POINTER_POINTER_POINTER(GCallback cb, va_list args, void *data, void **return_val); |
|
39382
6d4d3c48f113
libpurple: Add docs for marshallers to silence introspection warnings
Mike Ruprecht <cmaiku@gmail.com>
parents:
38621
diff
changeset
|
395 | |
|
32787
7072f190d6ad
Use G_BEGIN/END_DECLS in public libpurple files. This was
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
31669
diff
changeset
|
396 | G_END_DECLS |
| 6485 | 397 | |
|
39659
e4dfb99b0cef
Fix libpurple header guards using reserved names.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39382
diff
changeset
|
398 | #endif /* PURPLE_SIGNALS_H */ |