sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
|
sl@0
|
20 |
|
sl@0
|
21 |
/* Generated by dbus-binding-tool; do not edit! */
|
sl@0
|
22 |
|
sl@0
|
23 |
#include <glib/gtypes.h>
|
sl@0
|
24 |
#include <glib/gerror.h>
|
sl@0
|
25 |
#include <dbus/dbus-glib.h>
|
sl@0
|
26 |
|
sl@0
|
27 |
G_BEGIN_DECLS
|
sl@0
|
28 |
|
sl@0
|
29 |
#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus_Introspectable
|
sl@0
|
30 |
#define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus_Introspectable
|
sl@0
|
31 |
|
sl@0
|
32 |
static
|
sl@0
|
33 |
#ifdef G_HAVE_INLINE
|
sl@0
|
34 |
inline
|
sl@0
|
35 |
#endif
|
sl@0
|
36 |
gboolean
|
sl@0
|
37 |
org_freedesktop_DBus_Introspectable_introspect (DBusGProxy *proxy, char ** OUT_data, GError **error)
|
sl@0
|
38 |
|
sl@0
|
39 |
{
|
sl@0
|
40 |
return dbus_g_proxy_call (proxy, "Introspect", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_data, G_TYPE_INVALID);
|
sl@0
|
41 |
}
|
sl@0
|
42 |
|
sl@0
|
43 |
typedef void (*org_freedesktop_DBus_Introspectable_introspect_reply) (DBusGProxy *proxy, char * OUT_data, GError *error, gpointer userdata);
|
sl@0
|
44 |
|
sl@0
|
45 |
static void
|
sl@0
|
46 |
org_freedesktop_DBus_Introspectable_introspect_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
47 |
{
|
sl@0
|
48 |
DBusGAsyncData *data = user_data;
|
sl@0
|
49 |
GError *error = NULL;
|
sl@0
|
50 |
char * OUT_data;
|
sl@0
|
51 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_data, G_TYPE_INVALID);
|
sl@0
|
52 |
(*(org_freedesktop_DBus_Introspectable_introspect_reply)data->cb) (proxy, OUT_data, error, data->userdata);
|
sl@0
|
53 |
return;
|
sl@0
|
54 |
}
|
sl@0
|
55 |
|
sl@0
|
56 |
static
|
sl@0
|
57 |
#ifdef G_HAVE_INLINE
|
sl@0
|
58 |
inline
|
sl@0
|
59 |
#endif
|
sl@0
|
60 |
DBusGProxyCall*
|
sl@0
|
61 |
org_freedesktop_DBus_Introspectable_introspect_async (DBusGProxy *proxy, org_freedesktop_DBus_Introspectable_introspect_reply callback, gpointer userdata)
|
sl@0
|
62 |
|
sl@0
|
63 |
{
|
sl@0
|
64 |
DBusGAsyncData *stuff;
|
sl@0
|
65 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
66 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
67 |
stuff->userdata = userdata;
|
sl@0
|
68 |
return dbus_g_proxy_begin_call (proxy, "Introspect", org_freedesktop_DBus_Introspectable_introspect_async_callback, stuff, g_free, G_TYPE_INVALID);
|
sl@0
|
69 |
}
|
sl@0
|
70 |
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus_Introspectable */
|
sl@0
|
71 |
|
sl@0
|
72 |
#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus
|
sl@0
|
73 |
#define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus
|
sl@0
|
74 |
|
sl@0
|
75 |
static
|
sl@0
|
76 |
#ifdef G_HAVE_INLINE
|
sl@0
|
77 |
inline
|
sl@0
|
78 |
#endif
|
sl@0
|
79 |
gboolean
|
sl@0
|
80 |
org_freedesktop_DBus_request_name (DBusGProxy *proxy, const char * IN_arg0, const guint IN_arg1, guint* OUT_arg2, GError **error)
|
sl@0
|
81 |
|
sl@0
|
82 |
{
|
sl@0
|
83 |
return dbus_g_proxy_call (proxy, "RequestName", error, G_TYPE_STRING, IN_arg0, G_TYPE_UINT, IN_arg1, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg2, G_TYPE_INVALID);
|
sl@0
|
84 |
}
|
sl@0
|
85 |
|
sl@0
|
86 |
typedef void (*org_freedesktop_DBus_request_name_reply) (DBusGProxy *proxy, guint OUT_arg2, GError *error, gpointer userdata);
|
sl@0
|
87 |
|
sl@0
|
88 |
static void
|
sl@0
|
89 |
org_freedesktop_DBus_request_name_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
90 |
{
|
sl@0
|
91 |
DBusGAsyncData *data = user_data;
|
sl@0
|
92 |
GError *error = NULL;
|
sl@0
|
93 |
guint OUT_arg2;
|
sl@0
|
94 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg2, G_TYPE_INVALID);
|
sl@0
|
95 |
(*(org_freedesktop_DBus_request_name_reply)data->cb) (proxy, OUT_arg2, error, data->userdata);
|
sl@0
|
96 |
return;
|
sl@0
|
97 |
}
|
sl@0
|
98 |
|
sl@0
|
99 |
static
|
sl@0
|
100 |
#ifdef G_HAVE_INLINE
|
sl@0
|
101 |
inline
|
sl@0
|
102 |
#endif
|
sl@0
|
103 |
DBusGProxyCall*
|
sl@0
|
104 |
org_freedesktop_DBus_request_name_async (DBusGProxy *proxy, const char * IN_arg0, const guint IN_arg1, org_freedesktop_DBus_request_name_reply callback, gpointer userdata)
|
sl@0
|
105 |
|
sl@0
|
106 |
{
|
sl@0
|
107 |
DBusGAsyncData *stuff;
|
sl@0
|
108 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
109 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
110 |
stuff->userdata = userdata;
|
sl@0
|
111 |
return dbus_g_proxy_begin_call (proxy, "RequestName", org_freedesktop_DBus_request_name_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_UINT, IN_arg1, G_TYPE_INVALID);
|
sl@0
|
112 |
}
|
sl@0
|
113 |
static
|
sl@0
|
114 |
#ifdef G_HAVE_INLINE
|
sl@0
|
115 |
inline
|
sl@0
|
116 |
#endif
|
sl@0
|
117 |
gboolean
|
sl@0
|
118 |
org_freedesktop_DBus_release_name (DBusGProxy *proxy, const char * IN_arg0, guint* OUT_arg1, GError **error)
|
sl@0
|
119 |
|
sl@0
|
120 |
{
|
sl@0
|
121 |
return dbus_g_proxy_call (proxy, "ReleaseName", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
122 |
}
|
sl@0
|
123 |
|
sl@0
|
124 |
typedef void (*org_freedesktop_DBus_release_name_reply) (DBusGProxy *proxy, guint OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
125 |
|
sl@0
|
126 |
static void
|
sl@0
|
127 |
org_freedesktop_DBus_release_name_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
128 |
{
|
sl@0
|
129 |
DBusGAsyncData *data = user_data;
|
sl@0
|
130 |
GError *error = NULL;
|
sl@0
|
131 |
guint OUT_arg1;
|
sl@0
|
132 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
133 |
(*(org_freedesktop_DBus_release_name_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
134 |
return;
|
sl@0
|
135 |
}
|
sl@0
|
136 |
|
sl@0
|
137 |
static
|
sl@0
|
138 |
#ifdef G_HAVE_INLINE
|
sl@0
|
139 |
inline
|
sl@0
|
140 |
#endif
|
sl@0
|
141 |
DBusGProxyCall*
|
sl@0
|
142 |
org_freedesktop_DBus_release_name_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_release_name_reply callback, gpointer userdata)
|
sl@0
|
143 |
|
sl@0
|
144 |
{
|
sl@0
|
145 |
DBusGAsyncData *stuff;
|
sl@0
|
146 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
147 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
148 |
stuff->userdata = userdata;
|
sl@0
|
149 |
return dbus_g_proxy_begin_call (proxy, "ReleaseName", org_freedesktop_DBus_release_name_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
150 |
}
|
sl@0
|
151 |
static
|
sl@0
|
152 |
#ifdef G_HAVE_INLINE
|
sl@0
|
153 |
inline
|
sl@0
|
154 |
#endif
|
sl@0
|
155 |
gboolean
|
sl@0
|
156 |
org_freedesktop_DBus_start_service_by_name (DBusGProxy *proxy, const char * IN_arg0, const guint IN_arg1, guint* OUT_arg2, GError **error)
|
sl@0
|
157 |
|
sl@0
|
158 |
{
|
sl@0
|
159 |
return dbus_g_proxy_call (proxy, "StartServiceByName", error, G_TYPE_STRING, IN_arg0, G_TYPE_UINT, IN_arg1, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg2, G_TYPE_INVALID);
|
sl@0
|
160 |
}
|
sl@0
|
161 |
|
sl@0
|
162 |
typedef void (*org_freedesktop_DBus_start_service_by_name_reply) (DBusGProxy *proxy, guint OUT_arg2, GError *error, gpointer userdata);
|
sl@0
|
163 |
|
sl@0
|
164 |
static void
|
sl@0
|
165 |
org_freedesktop_DBus_start_service_by_name_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
166 |
{
|
sl@0
|
167 |
DBusGAsyncData *data = user_data;
|
sl@0
|
168 |
GError *error = NULL;
|
sl@0
|
169 |
guint OUT_arg2;
|
sl@0
|
170 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg2, G_TYPE_INVALID);
|
sl@0
|
171 |
(*(org_freedesktop_DBus_start_service_by_name_reply)data->cb) (proxy, OUT_arg2, error, data->userdata);
|
sl@0
|
172 |
return;
|
sl@0
|
173 |
}
|
sl@0
|
174 |
|
sl@0
|
175 |
static
|
sl@0
|
176 |
#ifdef G_HAVE_INLINE
|
sl@0
|
177 |
inline
|
sl@0
|
178 |
#endif
|
sl@0
|
179 |
DBusGProxyCall*
|
sl@0
|
180 |
org_freedesktop_DBus_start_service_by_name_async (DBusGProxy *proxy, const char * IN_arg0, const guint IN_arg1, org_freedesktop_DBus_start_service_by_name_reply callback, gpointer userdata)
|
sl@0
|
181 |
|
sl@0
|
182 |
{
|
sl@0
|
183 |
DBusGAsyncData *stuff;
|
sl@0
|
184 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
185 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
186 |
stuff->userdata = userdata;
|
sl@0
|
187 |
return dbus_g_proxy_begin_call (proxy, "StartServiceByName", org_freedesktop_DBus_start_service_by_name_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_UINT, IN_arg1, G_TYPE_INVALID);
|
sl@0
|
188 |
}
|
sl@0
|
189 |
static
|
sl@0
|
190 |
#ifdef G_HAVE_INLINE
|
sl@0
|
191 |
inline
|
sl@0
|
192 |
#endif
|
sl@0
|
193 |
gboolean
|
sl@0
|
194 |
org_freedesktop_DBus_hello (DBusGProxy *proxy, char ** OUT_arg0, GError **error)
|
sl@0
|
195 |
|
sl@0
|
196 |
{
|
sl@0
|
197 |
return dbus_g_proxy_call (proxy, "Hello", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
198 |
}
|
sl@0
|
199 |
|
sl@0
|
200 |
typedef void (*org_freedesktop_DBus_hello_reply) (DBusGProxy *proxy, char * OUT_arg0, GError *error, gpointer userdata);
|
sl@0
|
201 |
|
sl@0
|
202 |
static void
|
sl@0
|
203 |
org_freedesktop_DBus_hello_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
204 |
{
|
sl@0
|
205 |
DBusGAsyncData *data = user_data;
|
sl@0
|
206 |
GError *error = NULL;
|
sl@0
|
207 |
char * OUT_arg0;
|
sl@0
|
208 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
209 |
(*(org_freedesktop_DBus_hello_reply)data->cb) (proxy, OUT_arg0, error, data->userdata);
|
sl@0
|
210 |
return;
|
sl@0
|
211 |
}
|
sl@0
|
212 |
|
sl@0
|
213 |
static
|
sl@0
|
214 |
#ifdef G_HAVE_INLINE
|
sl@0
|
215 |
inline
|
sl@0
|
216 |
#endif
|
sl@0
|
217 |
DBusGProxyCall*
|
sl@0
|
218 |
org_freedesktop_DBus_hello_async (DBusGProxy *proxy, org_freedesktop_DBus_hello_reply callback, gpointer userdata)
|
sl@0
|
219 |
|
sl@0
|
220 |
{
|
sl@0
|
221 |
DBusGAsyncData *stuff;
|
sl@0
|
222 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
223 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
224 |
stuff->userdata = userdata;
|
sl@0
|
225 |
return dbus_g_proxy_begin_call (proxy, "Hello", org_freedesktop_DBus_hello_async_callback, stuff, g_free, G_TYPE_INVALID);
|
sl@0
|
226 |
}
|
sl@0
|
227 |
static
|
sl@0
|
228 |
#ifdef G_HAVE_INLINE
|
sl@0
|
229 |
inline
|
sl@0
|
230 |
#endif
|
sl@0
|
231 |
gboolean
|
sl@0
|
232 |
org_freedesktop_DBus_name_has_owner (DBusGProxy *proxy, const char * IN_arg0, gboolean* OUT_arg1, GError **error)
|
sl@0
|
233 |
|
sl@0
|
234 |
{
|
sl@0
|
235 |
return dbus_g_proxy_call (proxy, "NameHasOwner", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_BOOLEAN, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
236 |
}
|
sl@0
|
237 |
|
sl@0
|
238 |
typedef void (*org_freedesktop_DBus_name_has_owner_reply) (DBusGProxy *proxy, gboolean OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
239 |
|
sl@0
|
240 |
static void
|
sl@0
|
241 |
org_freedesktop_DBus_name_has_owner_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
242 |
{
|
sl@0
|
243 |
DBusGAsyncData *data = user_data;
|
sl@0
|
244 |
GError *error = NULL;
|
sl@0
|
245 |
gboolean OUT_arg1;
|
sl@0
|
246 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_BOOLEAN, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
247 |
(*(org_freedesktop_DBus_name_has_owner_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
248 |
return;
|
sl@0
|
249 |
}
|
sl@0
|
250 |
|
sl@0
|
251 |
static
|
sl@0
|
252 |
#ifdef G_HAVE_INLINE
|
sl@0
|
253 |
inline
|
sl@0
|
254 |
#endif
|
sl@0
|
255 |
DBusGProxyCall*
|
sl@0
|
256 |
org_freedesktop_DBus_name_has_owner_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_name_has_owner_reply callback, gpointer userdata)
|
sl@0
|
257 |
|
sl@0
|
258 |
{
|
sl@0
|
259 |
DBusGAsyncData *stuff;
|
sl@0
|
260 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
261 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
262 |
stuff->userdata = userdata;
|
sl@0
|
263 |
return dbus_g_proxy_begin_call (proxy, "NameHasOwner", org_freedesktop_DBus_name_has_owner_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
264 |
}
|
sl@0
|
265 |
static
|
sl@0
|
266 |
#ifdef G_HAVE_INLINE
|
sl@0
|
267 |
inline
|
sl@0
|
268 |
#endif
|
sl@0
|
269 |
gboolean
|
sl@0
|
270 |
org_freedesktop_DBus_list_names (DBusGProxy *proxy, char *** OUT_arg0, GError **error)
|
sl@0
|
271 |
|
sl@0
|
272 |
{
|
sl@0
|
273 |
return dbus_g_proxy_call (proxy, "ListNames", error, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
274 |
}
|
sl@0
|
275 |
|
sl@0
|
276 |
typedef void (*org_freedesktop_DBus_list_names_reply) (DBusGProxy *proxy, char * *OUT_arg0, GError *error, gpointer userdata);
|
sl@0
|
277 |
|
sl@0
|
278 |
static void
|
sl@0
|
279 |
org_freedesktop_DBus_list_names_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
280 |
{
|
sl@0
|
281 |
DBusGAsyncData *data = user_data;
|
sl@0
|
282 |
GError *error = NULL;
|
sl@0
|
283 |
char ** OUT_arg0;
|
sl@0
|
284 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
285 |
(*(org_freedesktop_DBus_list_names_reply)data->cb) (proxy, OUT_arg0, error, data->userdata);
|
sl@0
|
286 |
return;
|
sl@0
|
287 |
}
|
sl@0
|
288 |
|
sl@0
|
289 |
static
|
sl@0
|
290 |
#ifdef G_HAVE_INLINE
|
sl@0
|
291 |
inline
|
sl@0
|
292 |
#endif
|
sl@0
|
293 |
DBusGProxyCall*
|
sl@0
|
294 |
org_freedesktop_DBus_list_names_async (DBusGProxy *proxy, org_freedesktop_DBus_list_names_reply callback, gpointer userdata)
|
sl@0
|
295 |
|
sl@0
|
296 |
{
|
sl@0
|
297 |
DBusGAsyncData *stuff;
|
sl@0
|
298 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
299 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
300 |
stuff->userdata = userdata;
|
sl@0
|
301 |
return dbus_g_proxy_begin_call (proxy, "ListNames", org_freedesktop_DBus_list_names_async_callback, stuff, g_free, G_TYPE_INVALID);
|
sl@0
|
302 |
}
|
sl@0
|
303 |
static
|
sl@0
|
304 |
#ifdef G_HAVE_INLINE
|
sl@0
|
305 |
inline
|
sl@0
|
306 |
#endif
|
sl@0
|
307 |
gboolean
|
sl@0
|
308 |
org_freedesktop_DBus_list_activatable_names (DBusGProxy *proxy, char *** OUT_arg0, GError **error)
|
sl@0
|
309 |
|
sl@0
|
310 |
{
|
sl@0
|
311 |
return dbus_g_proxy_call (proxy, "ListActivatableNames", error, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
312 |
}
|
sl@0
|
313 |
|
sl@0
|
314 |
typedef void (*org_freedesktop_DBus_list_activatable_names_reply) (DBusGProxy *proxy, char * *OUT_arg0, GError *error, gpointer userdata);
|
sl@0
|
315 |
|
sl@0
|
316 |
static void
|
sl@0
|
317 |
org_freedesktop_DBus_list_activatable_names_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
318 |
{
|
sl@0
|
319 |
DBusGAsyncData *data = user_data;
|
sl@0
|
320 |
GError *error = NULL;
|
sl@0
|
321 |
char ** OUT_arg0;
|
sl@0
|
322 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYPE_INVALID);
|
sl@0
|
323 |
(*(org_freedesktop_DBus_list_activatable_names_reply)data->cb) (proxy, OUT_arg0, error, data->userdata);
|
sl@0
|
324 |
return;
|
sl@0
|
325 |
}
|
sl@0
|
326 |
|
sl@0
|
327 |
static
|
sl@0
|
328 |
#ifdef G_HAVE_INLINE
|
sl@0
|
329 |
inline
|
sl@0
|
330 |
#endif
|
sl@0
|
331 |
DBusGProxyCall*
|
sl@0
|
332 |
org_freedesktop_DBus_list_activatable_names_async (DBusGProxy *proxy, org_freedesktop_DBus_list_activatable_names_reply callback, gpointer userdata)
|
sl@0
|
333 |
|
sl@0
|
334 |
{
|
sl@0
|
335 |
DBusGAsyncData *stuff;
|
sl@0
|
336 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
337 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
338 |
stuff->userdata = userdata;
|
sl@0
|
339 |
return dbus_g_proxy_begin_call (proxy, "ListActivatableNames", org_freedesktop_DBus_list_activatable_names_async_callback, stuff, g_free, G_TYPE_INVALID);
|
sl@0
|
340 |
}
|
sl@0
|
341 |
static
|
sl@0
|
342 |
#ifdef G_HAVE_INLINE
|
sl@0
|
343 |
inline
|
sl@0
|
344 |
#endif
|
sl@0
|
345 |
gboolean
|
sl@0
|
346 |
org_freedesktop_DBus_add_match (DBusGProxy *proxy, const char * IN_arg0, GError **error)
|
sl@0
|
347 |
|
sl@0
|
348 |
{
|
sl@0
|
349 |
return dbus_g_proxy_call (proxy, "AddMatch", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_INVALID);
|
sl@0
|
350 |
}
|
sl@0
|
351 |
|
sl@0
|
352 |
typedef void (*org_freedesktop_DBus_add_match_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
|
sl@0
|
353 |
|
sl@0
|
354 |
static void
|
sl@0
|
355 |
org_freedesktop_DBus_add_match_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
356 |
{
|
sl@0
|
357 |
DBusGAsyncData *data = user_data;
|
sl@0
|
358 |
GError *error = NULL;
|
sl@0
|
359 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
|
sl@0
|
360 |
(*(org_freedesktop_DBus_add_match_reply)data->cb) (proxy, error, data->userdata);
|
sl@0
|
361 |
return;
|
sl@0
|
362 |
}
|
sl@0
|
363 |
|
sl@0
|
364 |
static
|
sl@0
|
365 |
#ifdef G_HAVE_INLINE
|
sl@0
|
366 |
inline
|
sl@0
|
367 |
#endif
|
sl@0
|
368 |
DBusGProxyCall*
|
sl@0
|
369 |
org_freedesktop_DBus_add_match_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_add_match_reply callback, gpointer userdata)
|
sl@0
|
370 |
|
sl@0
|
371 |
{
|
sl@0
|
372 |
DBusGAsyncData *stuff;
|
sl@0
|
373 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
374 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
375 |
stuff->userdata = userdata;
|
sl@0
|
376 |
return dbus_g_proxy_begin_call (proxy, "AddMatch", org_freedesktop_DBus_add_match_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
377 |
}
|
sl@0
|
378 |
static
|
sl@0
|
379 |
#ifdef G_HAVE_INLINE
|
sl@0
|
380 |
inline
|
sl@0
|
381 |
#endif
|
sl@0
|
382 |
gboolean
|
sl@0
|
383 |
org_freedesktop_DBus_remove_match (DBusGProxy *proxy, const char * IN_arg0, GError **error)
|
sl@0
|
384 |
|
sl@0
|
385 |
{
|
sl@0
|
386 |
return dbus_g_proxy_call (proxy, "RemoveMatch", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_INVALID);
|
sl@0
|
387 |
}
|
sl@0
|
388 |
|
sl@0
|
389 |
typedef void (*org_freedesktop_DBus_remove_match_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
|
sl@0
|
390 |
|
sl@0
|
391 |
static void
|
sl@0
|
392 |
org_freedesktop_DBus_remove_match_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
393 |
{
|
sl@0
|
394 |
DBusGAsyncData *data = user_data;
|
sl@0
|
395 |
GError *error = NULL;
|
sl@0
|
396 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
|
sl@0
|
397 |
(*(org_freedesktop_DBus_remove_match_reply)data->cb) (proxy, error, data->userdata);
|
sl@0
|
398 |
return;
|
sl@0
|
399 |
}
|
sl@0
|
400 |
|
sl@0
|
401 |
static
|
sl@0
|
402 |
#ifdef G_HAVE_INLINE
|
sl@0
|
403 |
inline
|
sl@0
|
404 |
#endif
|
sl@0
|
405 |
DBusGProxyCall*
|
sl@0
|
406 |
org_freedesktop_DBus_remove_match_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_remove_match_reply callback, gpointer userdata)
|
sl@0
|
407 |
|
sl@0
|
408 |
{
|
sl@0
|
409 |
DBusGAsyncData *stuff;
|
sl@0
|
410 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
411 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
412 |
stuff->userdata = userdata;
|
sl@0
|
413 |
return dbus_g_proxy_begin_call (proxy, "RemoveMatch", org_freedesktop_DBus_remove_match_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
414 |
}
|
sl@0
|
415 |
static
|
sl@0
|
416 |
#ifdef G_HAVE_INLINE
|
sl@0
|
417 |
inline
|
sl@0
|
418 |
#endif
|
sl@0
|
419 |
gboolean
|
sl@0
|
420 |
org_freedesktop_DBus_get_name_owner (DBusGProxy *proxy, const char * IN_arg0, char ** OUT_arg1, GError **error)
|
sl@0
|
421 |
|
sl@0
|
422 |
{
|
sl@0
|
423 |
return dbus_g_proxy_call (proxy, "GetNameOwner", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
424 |
}
|
sl@0
|
425 |
|
sl@0
|
426 |
typedef void (*org_freedesktop_DBus_get_name_owner_reply) (DBusGProxy *proxy, char * OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
427 |
|
sl@0
|
428 |
static void
|
sl@0
|
429 |
org_freedesktop_DBus_get_name_owner_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
430 |
{
|
sl@0
|
431 |
DBusGAsyncData *data = user_data;
|
sl@0
|
432 |
GError *error = NULL;
|
sl@0
|
433 |
char * OUT_arg1;
|
sl@0
|
434 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
435 |
(*(org_freedesktop_DBus_get_name_owner_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
436 |
return;
|
sl@0
|
437 |
}
|
sl@0
|
438 |
|
sl@0
|
439 |
static
|
sl@0
|
440 |
#ifdef G_HAVE_INLINE
|
sl@0
|
441 |
inline
|
sl@0
|
442 |
#endif
|
sl@0
|
443 |
DBusGProxyCall*
|
sl@0
|
444 |
org_freedesktop_DBus_get_name_owner_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_get_name_owner_reply callback, gpointer userdata)
|
sl@0
|
445 |
|
sl@0
|
446 |
{
|
sl@0
|
447 |
DBusGAsyncData *stuff;
|
sl@0
|
448 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
449 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
450 |
stuff->userdata = userdata;
|
sl@0
|
451 |
return dbus_g_proxy_begin_call (proxy, "GetNameOwner", org_freedesktop_DBus_get_name_owner_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
452 |
}
|
sl@0
|
453 |
static
|
sl@0
|
454 |
#ifdef G_HAVE_INLINE
|
sl@0
|
455 |
inline
|
sl@0
|
456 |
#endif
|
sl@0
|
457 |
gboolean
|
sl@0
|
458 |
org_freedesktop_DBus_list_queued_owners (DBusGProxy *proxy, const char * IN_arg0, char *** OUT_arg1, GError **error)
|
sl@0
|
459 |
|
sl@0
|
460 |
{
|
sl@0
|
461 |
return dbus_g_proxy_call (proxy, "ListQueuedOwners", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
462 |
}
|
sl@0
|
463 |
|
sl@0
|
464 |
typedef void (*org_freedesktop_DBus_list_queued_owners_reply) (DBusGProxy *proxy, char * *OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
465 |
|
sl@0
|
466 |
static void
|
sl@0
|
467 |
org_freedesktop_DBus_list_queued_owners_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
468 |
{
|
sl@0
|
469 |
DBusGAsyncData *data = user_data;
|
sl@0
|
470 |
GError *error = NULL;
|
sl@0
|
471 |
char ** OUT_arg1;
|
sl@0
|
472 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
473 |
(*(org_freedesktop_DBus_list_queued_owners_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
474 |
return;
|
sl@0
|
475 |
}
|
sl@0
|
476 |
|
sl@0
|
477 |
static
|
sl@0
|
478 |
#ifdef G_HAVE_INLINE
|
sl@0
|
479 |
inline
|
sl@0
|
480 |
#endif
|
sl@0
|
481 |
DBusGProxyCall*
|
sl@0
|
482 |
org_freedesktop_DBus_list_queued_owners_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_list_queued_owners_reply callback, gpointer userdata)
|
sl@0
|
483 |
|
sl@0
|
484 |
{
|
sl@0
|
485 |
DBusGAsyncData *stuff;
|
sl@0
|
486 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
487 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
488 |
stuff->userdata = userdata;
|
sl@0
|
489 |
return dbus_g_proxy_begin_call (proxy, "ListQueuedOwners", org_freedesktop_DBus_list_queued_owners_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
490 |
}
|
sl@0
|
491 |
static
|
sl@0
|
492 |
#ifdef G_HAVE_INLINE
|
sl@0
|
493 |
inline
|
sl@0
|
494 |
#endif
|
sl@0
|
495 |
gboolean
|
sl@0
|
496 |
org_freedesktop_DBus_get_connection_unix_user (DBusGProxy *proxy, const char * IN_arg0, guint* OUT_arg1, GError **error)
|
sl@0
|
497 |
|
sl@0
|
498 |
{
|
sl@0
|
499 |
return dbus_g_proxy_call (proxy, "GetConnectionUnixUser", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
500 |
}
|
sl@0
|
501 |
|
sl@0
|
502 |
typedef void (*org_freedesktop_DBus_get_connection_unix_user_reply) (DBusGProxy *proxy, guint OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
503 |
|
sl@0
|
504 |
static void
|
sl@0
|
505 |
org_freedesktop_DBus_get_connection_unix_user_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
506 |
{
|
sl@0
|
507 |
DBusGAsyncData *data = user_data;
|
sl@0
|
508 |
GError *error = NULL;
|
sl@0
|
509 |
guint OUT_arg1;
|
sl@0
|
510 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
511 |
(*(org_freedesktop_DBus_get_connection_unix_user_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
512 |
return;
|
sl@0
|
513 |
}
|
sl@0
|
514 |
|
sl@0
|
515 |
static
|
sl@0
|
516 |
#ifdef G_HAVE_INLINE
|
sl@0
|
517 |
inline
|
sl@0
|
518 |
#endif
|
sl@0
|
519 |
DBusGProxyCall*
|
sl@0
|
520 |
org_freedesktop_DBus_get_connection_unix_user_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_get_connection_unix_user_reply callback, gpointer userdata)
|
sl@0
|
521 |
|
sl@0
|
522 |
{
|
sl@0
|
523 |
DBusGAsyncData *stuff;
|
sl@0
|
524 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
525 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
526 |
stuff->userdata = userdata;
|
sl@0
|
527 |
return dbus_g_proxy_begin_call (proxy, "GetConnectionUnixUser", org_freedesktop_DBus_get_connection_unix_user_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
528 |
}
|
sl@0
|
529 |
static
|
sl@0
|
530 |
#ifdef G_HAVE_INLINE
|
sl@0
|
531 |
inline
|
sl@0
|
532 |
#endif
|
sl@0
|
533 |
gboolean
|
sl@0
|
534 |
org_freedesktop_DBus_get_connection_unix_process_id (DBusGProxy *proxy, const char * IN_arg0, guint* OUT_arg1, GError **error)
|
sl@0
|
535 |
|
sl@0
|
536 |
{
|
sl@0
|
537 |
return dbus_g_proxy_call (proxy, "GetConnectionUnixProcessID", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, G_TYPE_UINT, OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
538 |
}
|
sl@0
|
539 |
|
sl@0
|
540 |
typedef void (*org_freedesktop_DBus_get_connection_unix_process_id_reply) (DBusGProxy *proxy, guint OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
541 |
|
sl@0
|
542 |
static void
|
sl@0
|
543 |
org_freedesktop_DBus_get_connection_unix_process_id_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
544 |
{
|
sl@0
|
545 |
DBusGAsyncData *data = user_data;
|
sl@0
|
546 |
GError *error = NULL;
|
sl@0
|
547 |
guint OUT_arg1;
|
sl@0
|
548 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_UINT, &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
549 |
(*(org_freedesktop_DBus_get_connection_unix_process_id_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
550 |
return;
|
sl@0
|
551 |
}
|
sl@0
|
552 |
|
sl@0
|
553 |
static
|
sl@0
|
554 |
#ifdef G_HAVE_INLINE
|
sl@0
|
555 |
inline
|
sl@0
|
556 |
#endif
|
sl@0
|
557 |
DBusGProxyCall*
|
sl@0
|
558 |
org_freedesktop_DBus_get_connection_unix_process_id_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_get_connection_unix_process_id_reply callback, gpointer userdata)
|
sl@0
|
559 |
|
sl@0
|
560 |
{
|
sl@0
|
561 |
DBusGAsyncData *stuff;
|
sl@0
|
562 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
563 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
564 |
stuff->userdata = userdata;
|
sl@0
|
565 |
return dbus_g_proxy_begin_call (proxy, "GetConnectionUnixProcessID", org_freedesktop_DBus_get_connection_unix_process_id_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
566 |
}
|
sl@0
|
567 |
static
|
sl@0
|
568 |
#ifdef G_HAVE_INLINE
|
sl@0
|
569 |
inline
|
sl@0
|
570 |
#endif
|
sl@0
|
571 |
gboolean
|
sl@0
|
572 |
org_freedesktop_DBus_get_connection_se_linux_security_context (DBusGProxy *proxy, const char * IN_arg0, GArray** OUT_arg1, GError **error)
|
sl@0
|
573 |
|
sl@0
|
574 |
{
|
sl@0
|
575 |
return dbus_g_proxy_call (proxy, "GetConnectionSELinuxSecurityContext", error, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
576 |
}
|
sl@0
|
577 |
|
sl@0
|
578 |
typedef void (*org_freedesktop_DBus_get_connection_se_linux_security_context_reply) (DBusGProxy *proxy, GArray *OUT_arg1, GError *error, gpointer userdata);
|
sl@0
|
579 |
|
sl@0
|
580 |
static void
|
sl@0
|
581 |
org_freedesktop_DBus_get_connection_se_linux_security_context_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
582 |
{
|
sl@0
|
583 |
DBusGAsyncData *data = user_data;
|
sl@0
|
584 |
GError *error = NULL;
|
sl@0
|
585 |
GArray* OUT_arg1;
|
sl@0
|
586 |
dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), &OUT_arg1, G_TYPE_INVALID);
|
sl@0
|
587 |
(*(org_freedesktop_DBus_get_connection_se_linux_security_context_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
|
sl@0
|
588 |
return;
|
sl@0
|
589 |
}
|
sl@0
|
590 |
|
sl@0
|
591 |
static
|
sl@0
|
592 |
#ifdef G_HAVE_INLINE
|
sl@0
|
593 |
inline
|
sl@0
|
594 |
#endif
|
sl@0
|
595 |
DBusGProxyCall*
|
sl@0
|
596 |
org_freedesktop_DBus_get_connection_se_linux_security_context_async (DBusGProxy *proxy, const char * IN_arg0, org_freedesktop_DBus_get_connection_se_linux_security_context_reply callback, gpointer userdata)
|
sl@0
|
597 |
|
sl@0
|
598 |
{
|
sl@0
|
599 |
DBusGAsyncData *stuff;
|
sl@0
|
600 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
601 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
602 |
stuff->userdata = userdata;
|
sl@0
|
603 |
return dbus_g_proxy_begin_call (proxy, "GetConnectionSELinuxSecurityContext", org_freedesktop_DBus_get_connection_se_linux_security_context_async_callback, stuff, g_free, G_TYPE_STRING, IN_arg0, G_TYPE_INVALID);
|
sl@0
|
604 |
}
|
sl@0
|
605 |
static
|
sl@0
|
606 |
#ifdef G_HAVE_INLINE
|
sl@0
|
607 |
inline
|
sl@0
|
608 |
#endif
|
sl@0
|
609 |
gboolean
|
sl@0
|
610 |
org_freedesktop_DBus_reload_config (DBusGProxy *proxy, GError **error)
|
sl@0
|
611 |
|
sl@0
|
612 |
{
|
sl@0
|
613 |
return dbus_g_proxy_call (proxy, "ReloadConfig", error, G_TYPE_INVALID, G_TYPE_INVALID);
|
sl@0
|
614 |
}
|
sl@0
|
615 |
|
sl@0
|
616 |
typedef void (*org_freedesktop_DBus_reload_config_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
|
sl@0
|
617 |
|
sl@0
|
618 |
static void
|
sl@0
|
619 |
org_freedesktop_DBus_reload_config_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
|
sl@0
|
620 |
{
|
sl@0
|
621 |
DBusGAsyncData *data = user_data;
|
sl@0
|
622 |
GError *error = NULL;
|
sl@0
|
623 |
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
|
sl@0
|
624 |
(*(org_freedesktop_DBus_reload_config_reply)data->cb) (proxy, error, data->userdata);
|
sl@0
|
625 |
return;
|
sl@0
|
626 |
}
|
sl@0
|
627 |
|
sl@0
|
628 |
static
|
sl@0
|
629 |
#ifdef G_HAVE_INLINE
|
sl@0
|
630 |
inline
|
sl@0
|
631 |
#endif
|
sl@0
|
632 |
DBusGProxyCall*
|
sl@0
|
633 |
org_freedesktop_DBus_reload_config_async (DBusGProxy *proxy, org_freedesktop_DBus_reload_config_reply callback, gpointer userdata)
|
sl@0
|
634 |
|
sl@0
|
635 |
{
|
sl@0
|
636 |
DBusGAsyncData *stuff;
|
sl@0
|
637 |
stuff = g_new (DBusGAsyncData, 1);
|
sl@0
|
638 |
stuff->cb = G_CALLBACK (callback);
|
sl@0
|
639 |
stuff->userdata = userdata;
|
sl@0
|
640 |
return dbus_g_proxy_begin_call (proxy, "ReloadConfig", org_freedesktop_DBus_reload_config_async_callback, stuff, g_free, G_TYPE_INVALID);
|
sl@0
|
641 |
}
|
sl@0
|
642 |
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_DBus */
|
sl@0
|
643 |
|
sl@0
|
644 |
G_END_DECLS
|