Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* This file is generated by gdbus-codegen, do not modify it. |
3 |
|
|
* |
4 |
|
|
* The license of this code is the same as for the D-Bus interface description |
5 |
|
|
* it was derived from. Note that it links to GLib, so must comply with the |
6 |
|
|
* LGPL linking clauses. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
#ifndef __CC_REALM_GENERATED_H__ |
10 |
|
|
#define __CC_REALM_GENERATED_H__ |
11 |
|
|
|
12 |
|
|
#include <gio/gio.h> |
13 |
|
|
|
14 |
|
|
G_BEGIN_DECLS |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
/* ------------------------------------------------------------------------ */ |
18 |
|
|
/* Declarations for org.freedesktop.realmd.Provider */ |
19 |
|
|
|
20 |
|
|
#define CC_REALM_TYPE_PROVIDER (cc_realm_provider_get_type ()) |
21 |
|
|
#define CC_REALM_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_PROVIDER, CcRealmProvider)) |
22 |
|
|
#define CC_REALM_IS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_PROVIDER)) |
23 |
|
|
#define CC_REALM_PROVIDER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_PROVIDER, CcRealmProviderIface)) |
24 |
|
|
|
25 |
|
|
struct _CcRealmProvider; |
26 |
|
|
typedef struct _CcRealmProvider CcRealmProvider; |
27 |
|
|
typedef struct _CcRealmProviderIface CcRealmProviderIface; |
28 |
|
|
|
29 |
|
|
struct _CcRealmProviderIface |
30 |
|
|
{ |
31 |
|
|
GTypeInterface parent_iface; |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
gboolean (*handle_discover) ( |
35 |
|
|
CcRealmProvider *object, |
36 |
|
|
GDBusMethodInvocation *invocation, |
37 |
|
|
const gchar *arg_string, |
38 |
|
|
GVariant *arg_options); |
39 |
|
|
|
40 |
|
|
const gchar * (*get_name) (CcRealmProvider *object); |
41 |
|
|
|
42 |
|
|
const gchar *const * (*get_realms) (CcRealmProvider *object); |
43 |
|
|
|
44 |
|
|
const gchar * (*get_version) (CcRealmProvider *object); |
45 |
|
|
|
46 |
|
|
}; |
47 |
|
|
|
48 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
49 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmProvider, g_object_unref) |
50 |
|
|
#endif |
51 |
|
|
|
52 |
|
|
GType cc_realm_provider_get_type (void) G_GNUC_CONST; |
53 |
|
|
|
54 |
|
|
GDBusInterfaceInfo *cc_realm_provider_interface_info (void); |
55 |
|
|
guint cc_realm_provider_override_properties (GObjectClass *klass, guint property_id_begin); |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
/* D-Bus method call completion functions: */ |
59 |
|
|
void cc_realm_provider_complete_discover ( |
60 |
|
|
CcRealmProvider *object, |
61 |
|
|
GDBusMethodInvocation *invocation, |
62 |
|
|
gint relevance, |
63 |
|
|
const gchar *const *realm); |
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
/* D-Bus method calls: */ |
68 |
|
|
void cc_realm_provider_call_discover ( |
69 |
|
|
CcRealmProvider *proxy, |
70 |
|
|
const gchar *arg_string, |
71 |
|
|
GVariant *arg_options, |
72 |
|
|
GCancellable *cancellable, |
73 |
|
|
GAsyncReadyCallback callback, |
74 |
|
|
gpointer user_data); |
75 |
|
|
|
76 |
|
|
gboolean cc_realm_provider_call_discover_finish ( |
77 |
|
|
CcRealmProvider *proxy, |
78 |
|
|
gint *out_relevance, |
79 |
|
|
gchar ***out_realm, |
80 |
|
|
GAsyncResult *res, |
81 |
|
|
GError **error); |
82 |
|
|
|
83 |
|
|
gboolean cc_realm_provider_call_discover_sync ( |
84 |
|
|
CcRealmProvider *proxy, |
85 |
|
|
const gchar *arg_string, |
86 |
|
|
GVariant *arg_options, |
87 |
|
|
gint *out_relevance, |
88 |
|
|
gchar ***out_realm, |
89 |
|
|
GCancellable *cancellable, |
90 |
|
|
GError **error); |
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
/* D-Bus property accessors: */ |
95 |
|
|
const gchar *cc_realm_provider_get_name (CcRealmProvider *object); |
96 |
|
|
gchar *cc_realm_provider_dup_name (CcRealmProvider *object); |
97 |
|
|
void cc_realm_provider_set_name (CcRealmProvider *object, const gchar *value); |
98 |
|
|
|
99 |
|
|
const gchar *cc_realm_provider_get_version (CcRealmProvider *object); |
100 |
|
|
gchar *cc_realm_provider_dup_version (CcRealmProvider *object); |
101 |
|
|
void cc_realm_provider_set_version (CcRealmProvider *object, const gchar *value); |
102 |
|
|
|
103 |
|
|
const gchar *const *cc_realm_provider_get_realms (CcRealmProvider *object); |
104 |
|
|
gchar **cc_realm_provider_dup_realms (CcRealmProvider *object); |
105 |
|
|
void cc_realm_provider_set_realms (CcRealmProvider *object, const gchar *const *value); |
106 |
|
|
|
107 |
|
|
|
108 |
|
|
/* ---- */ |
109 |
|
|
|
110 |
|
|
#define CC_REALM_TYPE_PROVIDER_PROXY (cc_realm_provider_proxy_get_type ()) |
111 |
|
|
#define CC_REALM_PROVIDER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_PROVIDER_PROXY, CcRealmProviderProxy)) |
112 |
|
|
#define CC_REALM_PROVIDER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_PROVIDER_PROXY, CcRealmProviderProxyClass)) |
113 |
|
|
#define CC_REALM_PROVIDER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_PROVIDER_PROXY, CcRealmProviderProxyClass)) |
114 |
|
|
#define CC_REALM_IS_PROVIDER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_PROVIDER_PROXY)) |
115 |
|
|
#define CC_REALM_IS_PROVIDER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_PROVIDER_PROXY)) |
116 |
|
|
|
117 |
|
|
typedef struct _CcRealmProviderProxy CcRealmProviderProxy; |
118 |
|
|
typedef struct _CcRealmProviderProxyClass CcRealmProviderProxyClass; |
119 |
|
|
typedef struct _CcRealmProviderProxyPrivate CcRealmProviderProxyPrivate; |
120 |
|
|
|
121 |
|
|
struct _CcRealmProviderProxy |
122 |
|
|
{ |
123 |
|
|
/*< private >*/ |
124 |
|
|
GDBusProxy parent_instance; |
125 |
|
|
CcRealmProviderProxyPrivate *priv; |
126 |
|
|
}; |
127 |
|
|
|
128 |
|
|
struct _CcRealmProviderProxyClass |
129 |
|
|
{ |
130 |
|
|
GDBusProxyClass parent_class; |
131 |
|
|
}; |
132 |
|
|
|
133 |
|
|
GType cc_realm_provider_proxy_get_type (void) G_GNUC_CONST; |
134 |
|
|
|
135 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
136 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmProviderProxy, g_object_unref) |
137 |
|
|
#endif |
138 |
|
|
|
139 |
|
|
void cc_realm_provider_proxy_new ( |
140 |
|
|
GDBusConnection *connection, |
141 |
|
|
GDBusProxyFlags flags, |
142 |
|
|
const gchar *name, |
143 |
|
|
const gchar *object_path, |
144 |
|
|
GCancellable *cancellable, |
145 |
|
|
GAsyncReadyCallback callback, |
146 |
|
|
gpointer user_data); |
147 |
|
|
CcRealmProvider *cc_realm_provider_proxy_new_finish ( |
148 |
|
|
GAsyncResult *res, |
149 |
|
|
GError **error); |
150 |
|
|
CcRealmProvider *cc_realm_provider_proxy_new_sync ( |
151 |
|
|
GDBusConnection *connection, |
152 |
|
|
GDBusProxyFlags flags, |
153 |
|
|
const gchar *name, |
154 |
|
|
const gchar *object_path, |
155 |
|
|
GCancellable *cancellable, |
156 |
|
|
GError **error); |
157 |
|
|
|
158 |
|
|
void cc_realm_provider_proxy_new_for_bus ( |
159 |
|
|
GBusType bus_type, |
160 |
|
|
GDBusProxyFlags flags, |
161 |
|
|
const gchar *name, |
162 |
|
|
const gchar *object_path, |
163 |
|
|
GCancellable *cancellable, |
164 |
|
|
GAsyncReadyCallback callback, |
165 |
|
|
gpointer user_data); |
166 |
|
|
CcRealmProvider *cc_realm_provider_proxy_new_for_bus_finish ( |
167 |
|
|
GAsyncResult *res, |
168 |
|
|
GError **error); |
169 |
|
|
CcRealmProvider *cc_realm_provider_proxy_new_for_bus_sync ( |
170 |
|
|
GBusType bus_type, |
171 |
|
|
GDBusProxyFlags flags, |
172 |
|
|
const gchar *name, |
173 |
|
|
const gchar *object_path, |
174 |
|
|
GCancellable *cancellable, |
175 |
|
|
GError **error); |
176 |
|
|
|
177 |
|
|
|
178 |
|
|
/* ---- */ |
179 |
|
|
|
180 |
|
|
#define CC_REALM_TYPE_PROVIDER_SKELETON (cc_realm_provider_skeleton_get_type ()) |
181 |
|
|
#define CC_REALM_PROVIDER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_PROVIDER_SKELETON, CcRealmProviderSkeleton)) |
182 |
|
|
#define CC_REALM_PROVIDER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_PROVIDER_SKELETON, CcRealmProviderSkeletonClass)) |
183 |
|
|
#define CC_REALM_PROVIDER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_PROVIDER_SKELETON, CcRealmProviderSkeletonClass)) |
184 |
|
|
#define CC_REALM_IS_PROVIDER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_PROVIDER_SKELETON)) |
185 |
|
|
#define CC_REALM_IS_PROVIDER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_PROVIDER_SKELETON)) |
186 |
|
|
|
187 |
|
|
typedef struct _CcRealmProviderSkeleton CcRealmProviderSkeleton; |
188 |
|
|
typedef struct _CcRealmProviderSkeletonClass CcRealmProviderSkeletonClass; |
189 |
|
|
typedef struct _CcRealmProviderSkeletonPrivate CcRealmProviderSkeletonPrivate; |
190 |
|
|
|
191 |
|
|
struct _CcRealmProviderSkeleton |
192 |
|
|
{ |
193 |
|
|
/*< private >*/ |
194 |
|
|
GDBusInterfaceSkeleton parent_instance; |
195 |
|
|
CcRealmProviderSkeletonPrivate *priv; |
196 |
|
|
}; |
197 |
|
|
|
198 |
|
|
struct _CcRealmProviderSkeletonClass |
199 |
|
|
{ |
200 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
201 |
|
|
}; |
202 |
|
|
|
203 |
|
|
GType cc_realm_provider_skeleton_get_type (void) G_GNUC_CONST; |
204 |
|
|
|
205 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
206 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmProviderSkeleton, g_object_unref) |
207 |
|
|
#endif |
208 |
|
|
|
209 |
|
|
CcRealmProvider *cc_realm_provider_skeleton_new (void); |
210 |
|
|
|
211 |
|
|
|
212 |
|
|
/* ------------------------------------------------------------------------ */ |
213 |
|
|
/* Declarations for org.freedesktop.realmd.Service */ |
214 |
|
|
|
215 |
|
|
#define CC_REALM_TYPE_SERVICE (cc_realm_service_get_type ()) |
216 |
|
|
#define CC_REALM_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_SERVICE, CcRealmService)) |
217 |
|
|
#define CC_REALM_IS_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_SERVICE)) |
218 |
|
|
#define CC_REALM_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_SERVICE, CcRealmServiceIface)) |
219 |
|
|
|
220 |
|
|
struct _CcRealmService; |
221 |
|
|
typedef struct _CcRealmService CcRealmService; |
222 |
|
|
typedef struct _CcRealmServiceIface CcRealmServiceIface; |
223 |
|
|
|
224 |
|
|
struct _CcRealmServiceIface |
225 |
|
|
{ |
226 |
|
|
GTypeInterface parent_iface; |
227 |
|
|
|
228 |
|
|
|
229 |
|
|
gboolean (*handle_cancel) ( |
230 |
|
|
CcRealmService *object, |
231 |
|
|
GDBusMethodInvocation *invocation, |
232 |
|
|
const gchar *arg_operation); |
233 |
|
|
|
234 |
|
|
gboolean (*handle_release) ( |
235 |
|
|
CcRealmService *object, |
236 |
|
|
GDBusMethodInvocation *invocation); |
237 |
|
|
|
238 |
|
|
gboolean (*handle_set_locale) ( |
239 |
|
|
CcRealmService *object, |
240 |
|
|
GDBusMethodInvocation *invocation, |
241 |
|
|
const gchar *arg_locale); |
242 |
|
|
|
243 |
|
|
void (*diagnostics) ( |
244 |
|
|
CcRealmService *object, |
245 |
|
|
const gchar *arg_data, |
246 |
|
|
const gchar *arg_operation); |
247 |
|
|
|
248 |
|
|
}; |
249 |
|
|
|
250 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
251 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmService, g_object_unref) |
252 |
|
|
#endif |
253 |
|
|
|
254 |
|
|
GType cc_realm_service_get_type (void) G_GNUC_CONST; |
255 |
|
|
|
256 |
|
|
GDBusInterfaceInfo *cc_realm_service_interface_info (void); |
257 |
|
|
guint cc_realm_service_override_properties (GObjectClass *klass, guint property_id_begin); |
258 |
|
|
|
259 |
|
|
|
260 |
|
|
/* D-Bus method call completion functions: */ |
261 |
|
|
void cc_realm_service_complete_cancel ( |
262 |
|
|
CcRealmService *object, |
263 |
|
|
GDBusMethodInvocation *invocation); |
264 |
|
|
|
265 |
|
|
void cc_realm_service_complete_set_locale ( |
266 |
|
|
CcRealmService *object, |
267 |
|
|
GDBusMethodInvocation *invocation); |
268 |
|
|
|
269 |
|
|
void cc_realm_service_complete_release ( |
270 |
|
|
CcRealmService *object, |
271 |
|
|
GDBusMethodInvocation *invocation); |
272 |
|
|
|
273 |
|
|
|
274 |
|
|
|
275 |
|
|
/* D-Bus signal emissions functions: */ |
276 |
|
|
void cc_realm_service_emit_diagnostics ( |
277 |
|
|
CcRealmService *object, |
278 |
|
|
const gchar *arg_data, |
279 |
|
|
const gchar *arg_operation); |
280 |
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
/* D-Bus method calls: */ |
284 |
|
|
void cc_realm_service_call_cancel ( |
285 |
|
|
CcRealmService *proxy, |
286 |
|
|
const gchar *arg_operation, |
287 |
|
|
GCancellable *cancellable, |
288 |
|
|
GAsyncReadyCallback callback, |
289 |
|
|
gpointer user_data); |
290 |
|
|
|
291 |
|
|
gboolean cc_realm_service_call_cancel_finish ( |
292 |
|
|
CcRealmService *proxy, |
293 |
|
|
GAsyncResult *res, |
294 |
|
|
GError **error); |
295 |
|
|
|
296 |
|
|
gboolean cc_realm_service_call_cancel_sync ( |
297 |
|
|
CcRealmService *proxy, |
298 |
|
|
const gchar *arg_operation, |
299 |
|
|
GCancellable *cancellable, |
300 |
|
|
GError **error); |
301 |
|
|
|
302 |
|
|
void cc_realm_service_call_set_locale ( |
303 |
|
|
CcRealmService *proxy, |
304 |
|
|
const gchar *arg_locale, |
305 |
|
|
GCancellable *cancellable, |
306 |
|
|
GAsyncReadyCallback callback, |
307 |
|
|
gpointer user_data); |
308 |
|
|
|
309 |
|
|
gboolean cc_realm_service_call_set_locale_finish ( |
310 |
|
|
CcRealmService *proxy, |
311 |
|
|
GAsyncResult *res, |
312 |
|
|
GError **error); |
313 |
|
|
|
314 |
|
|
gboolean cc_realm_service_call_set_locale_sync ( |
315 |
|
|
CcRealmService *proxy, |
316 |
|
|
const gchar *arg_locale, |
317 |
|
|
GCancellable *cancellable, |
318 |
|
|
GError **error); |
319 |
|
|
|
320 |
|
|
void cc_realm_service_call_release ( |
321 |
|
|
CcRealmService *proxy, |
322 |
|
|
GCancellable *cancellable, |
323 |
|
|
GAsyncReadyCallback callback, |
324 |
|
|
gpointer user_data); |
325 |
|
|
|
326 |
|
|
gboolean cc_realm_service_call_release_finish ( |
327 |
|
|
CcRealmService *proxy, |
328 |
|
|
GAsyncResult *res, |
329 |
|
|
GError **error); |
330 |
|
|
|
331 |
|
|
gboolean cc_realm_service_call_release_sync ( |
332 |
|
|
CcRealmService *proxy, |
333 |
|
|
GCancellable *cancellable, |
334 |
|
|
GError **error); |
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
/* ---- */ |
339 |
|
|
|
340 |
|
|
#define CC_REALM_TYPE_SERVICE_PROXY (cc_realm_service_proxy_get_type ()) |
341 |
|
|
#define CC_REALM_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_SERVICE_PROXY, CcRealmServiceProxy)) |
342 |
|
|
#define CC_REALM_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_SERVICE_PROXY, CcRealmServiceProxyClass)) |
343 |
|
|
#define CC_REALM_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_SERVICE_PROXY, CcRealmServiceProxyClass)) |
344 |
|
|
#define CC_REALM_IS_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_SERVICE_PROXY)) |
345 |
|
|
#define CC_REALM_IS_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_SERVICE_PROXY)) |
346 |
|
|
|
347 |
|
|
typedef struct _CcRealmServiceProxy CcRealmServiceProxy; |
348 |
|
|
typedef struct _CcRealmServiceProxyClass CcRealmServiceProxyClass; |
349 |
|
|
typedef struct _CcRealmServiceProxyPrivate CcRealmServiceProxyPrivate; |
350 |
|
|
|
351 |
|
|
struct _CcRealmServiceProxy |
352 |
|
|
{ |
353 |
|
|
/*< private >*/ |
354 |
|
|
GDBusProxy parent_instance; |
355 |
|
|
CcRealmServiceProxyPrivate *priv; |
356 |
|
|
}; |
357 |
|
|
|
358 |
|
|
struct _CcRealmServiceProxyClass |
359 |
|
|
{ |
360 |
|
|
GDBusProxyClass parent_class; |
361 |
|
|
}; |
362 |
|
|
|
363 |
|
|
GType cc_realm_service_proxy_get_type (void) G_GNUC_CONST; |
364 |
|
|
|
365 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
366 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmServiceProxy, g_object_unref) |
367 |
|
|
#endif |
368 |
|
|
|
369 |
|
|
void cc_realm_service_proxy_new ( |
370 |
|
|
GDBusConnection *connection, |
371 |
|
|
GDBusProxyFlags flags, |
372 |
|
|
const gchar *name, |
373 |
|
|
const gchar *object_path, |
374 |
|
|
GCancellable *cancellable, |
375 |
|
|
GAsyncReadyCallback callback, |
376 |
|
|
gpointer user_data); |
377 |
|
|
CcRealmService *cc_realm_service_proxy_new_finish ( |
378 |
|
|
GAsyncResult *res, |
379 |
|
|
GError **error); |
380 |
|
|
CcRealmService *cc_realm_service_proxy_new_sync ( |
381 |
|
|
GDBusConnection *connection, |
382 |
|
|
GDBusProxyFlags flags, |
383 |
|
|
const gchar *name, |
384 |
|
|
const gchar *object_path, |
385 |
|
|
GCancellable *cancellable, |
386 |
|
|
GError **error); |
387 |
|
|
|
388 |
|
|
void cc_realm_service_proxy_new_for_bus ( |
389 |
|
|
GBusType bus_type, |
390 |
|
|
GDBusProxyFlags flags, |
391 |
|
|
const gchar *name, |
392 |
|
|
const gchar *object_path, |
393 |
|
|
GCancellable *cancellable, |
394 |
|
|
GAsyncReadyCallback callback, |
395 |
|
|
gpointer user_data); |
396 |
|
|
CcRealmService *cc_realm_service_proxy_new_for_bus_finish ( |
397 |
|
|
GAsyncResult *res, |
398 |
|
|
GError **error); |
399 |
|
|
CcRealmService *cc_realm_service_proxy_new_for_bus_sync ( |
400 |
|
|
GBusType bus_type, |
401 |
|
|
GDBusProxyFlags flags, |
402 |
|
|
const gchar *name, |
403 |
|
|
const gchar *object_path, |
404 |
|
|
GCancellable *cancellable, |
405 |
|
|
GError **error); |
406 |
|
|
|
407 |
|
|
|
408 |
|
|
/* ---- */ |
409 |
|
|
|
410 |
|
|
#define CC_REALM_TYPE_SERVICE_SKELETON (cc_realm_service_skeleton_get_type ()) |
411 |
|
|
#define CC_REALM_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_SERVICE_SKELETON, CcRealmServiceSkeleton)) |
412 |
|
|
#define CC_REALM_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_SERVICE_SKELETON, CcRealmServiceSkeletonClass)) |
413 |
|
|
#define CC_REALM_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_SERVICE_SKELETON, CcRealmServiceSkeletonClass)) |
414 |
|
|
#define CC_REALM_IS_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_SERVICE_SKELETON)) |
415 |
|
|
#define CC_REALM_IS_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_SERVICE_SKELETON)) |
416 |
|
|
|
417 |
|
|
typedef struct _CcRealmServiceSkeleton CcRealmServiceSkeleton; |
418 |
|
|
typedef struct _CcRealmServiceSkeletonClass CcRealmServiceSkeletonClass; |
419 |
|
|
typedef struct _CcRealmServiceSkeletonPrivate CcRealmServiceSkeletonPrivate; |
420 |
|
|
|
421 |
|
|
struct _CcRealmServiceSkeleton |
422 |
|
|
{ |
423 |
|
|
/*< private >*/ |
424 |
|
|
GDBusInterfaceSkeleton parent_instance; |
425 |
|
|
CcRealmServiceSkeletonPrivate *priv; |
426 |
|
|
}; |
427 |
|
|
|
428 |
|
|
struct _CcRealmServiceSkeletonClass |
429 |
|
|
{ |
430 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
431 |
|
|
}; |
432 |
|
|
|
433 |
|
|
GType cc_realm_service_skeleton_get_type (void) G_GNUC_CONST; |
434 |
|
|
|
435 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
436 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmServiceSkeleton, g_object_unref) |
437 |
|
|
#endif |
438 |
|
|
|
439 |
|
|
CcRealmService *cc_realm_service_skeleton_new (void); |
440 |
|
|
|
441 |
|
|
|
442 |
|
|
/* ------------------------------------------------------------------------ */ |
443 |
|
|
/* Declarations for org.freedesktop.realmd.Realm */ |
444 |
|
|
|
445 |
|
|
#define CC_REALM_TYPE_COMMON (cc_realm_common_get_type ()) |
446 |
|
|
#define CC_REALM_COMMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_COMMON, CcRealmCommon)) |
447 |
|
|
#define CC_REALM_IS_COMMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_COMMON)) |
448 |
|
|
#define CC_REALM_COMMON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_COMMON, CcRealmCommonIface)) |
449 |
|
|
|
450 |
|
|
struct _CcRealmCommon; |
451 |
|
|
typedef struct _CcRealmCommon CcRealmCommon; |
452 |
|
|
typedef struct _CcRealmCommonIface CcRealmCommonIface; |
453 |
|
|
|
454 |
|
|
struct _CcRealmCommonIface |
455 |
|
|
{ |
456 |
|
|
GTypeInterface parent_iface; |
457 |
|
|
|
458 |
|
|
|
459 |
|
|
gboolean (*handle_change_login_policy) ( |
460 |
|
|
CcRealmCommon *object, |
461 |
|
|
GDBusMethodInvocation *invocation, |
462 |
|
|
const gchar *arg_login_policy, |
463 |
|
|
const gchar *const *arg_permitted_add, |
464 |
|
|
const gchar *const *arg_permitted_remove, |
465 |
|
|
GVariant *arg_options); |
466 |
|
|
|
467 |
|
|
gboolean (*handle_deconfigure) ( |
468 |
|
|
CcRealmCommon *object, |
469 |
|
|
GDBusMethodInvocation *invocation, |
470 |
|
|
GVariant *arg_options); |
471 |
|
|
|
472 |
|
|
const gchar * (*get_configured) (CcRealmCommon *object); |
473 |
|
|
|
474 |
|
|
GVariant * (*get_details) (CcRealmCommon *object); |
475 |
|
|
|
476 |
|
|
const gchar *const * (*get_login_formats) (CcRealmCommon *object); |
477 |
|
|
|
478 |
|
|
const gchar * (*get_login_policy) (CcRealmCommon *object); |
479 |
|
|
|
480 |
|
|
const gchar * (*get_name) (CcRealmCommon *object); |
481 |
|
|
|
482 |
|
|
const gchar *const * (*get_permitted_logins) (CcRealmCommon *object); |
483 |
|
|
|
484 |
|
|
const gchar *const * (*get_supported_interfaces) (CcRealmCommon *object); |
485 |
|
|
|
486 |
|
|
}; |
487 |
|
|
|
488 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
489 |
|
✗ |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmCommon, g_object_unref) |
490 |
|
|
#endif |
491 |
|
|
|
492 |
|
|
GType cc_realm_common_get_type (void) G_GNUC_CONST; |
493 |
|
|
|
494 |
|
|
GDBusInterfaceInfo *cc_realm_common_interface_info (void); |
495 |
|
|
guint cc_realm_common_override_properties (GObjectClass *klass, guint property_id_begin); |
496 |
|
|
|
497 |
|
|
|
498 |
|
|
/* D-Bus method call completion functions: */ |
499 |
|
|
void cc_realm_common_complete_deconfigure ( |
500 |
|
|
CcRealmCommon *object, |
501 |
|
|
GDBusMethodInvocation *invocation); |
502 |
|
|
|
503 |
|
|
void cc_realm_common_complete_change_login_policy ( |
504 |
|
|
CcRealmCommon *object, |
505 |
|
|
GDBusMethodInvocation *invocation); |
506 |
|
|
|
507 |
|
|
|
508 |
|
|
|
509 |
|
|
/* D-Bus method calls: */ |
510 |
|
|
void cc_realm_common_call_deconfigure ( |
511 |
|
|
CcRealmCommon *proxy, |
512 |
|
|
GVariant *arg_options, |
513 |
|
|
GCancellable *cancellable, |
514 |
|
|
GAsyncReadyCallback callback, |
515 |
|
|
gpointer user_data); |
516 |
|
|
|
517 |
|
|
gboolean cc_realm_common_call_deconfigure_finish ( |
518 |
|
|
CcRealmCommon *proxy, |
519 |
|
|
GAsyncResult *res, |
520 |
|
|
GError **error); |
521 |
|
|
|
522 |
|
|
gboolean cc_realm_common_call_deconfigure_sync ( |
523 |
|
|
CcRealmCommon *proxy, |
524 |
|
|
GVariant *arg_options, |
525 |
|
|
GCancellable *cancellable, |
526 |
|
|
GError **error); |
527 |
|
|
|
528 |
|
|
void cc_realm_common_call_change_login_policy ( |
529 |
|
|
CcRealmCommon *proxy, |
530 |
|
|
const gchar *arg_login_policy, |
531 |
|
|
const gchar *const *arg_permitted_add, |
532 |
|
|
const gchar *const *arg_permitted_remove, |
533 |
|
|
GVariant *arg_options, |
534 |
|
|
GCancellable *cancellable, |
535 |
|
|
GAsyncReadyCallback callback, |
536 |
|
|
gpointer user_data); |
537 |
|
|
|
538 |
|
|
gboolean cc_realm_common_call_change_login_policy_finish ( |
539 |
|
|
CcRealmCommon *proxy, |
540 |
|
|
GAsyncResult *res, |
541 |
|
|
GError **error); |
542 |
|
|
|
543 |
|
|
gboolean cc_realm_common_call_change_login_policy_sync ( |
544 |
|
|
CcRealmCommon *proxy, |
545 |
|
|
const gchar *arg_login_policy, |
546 |
|
|
const gchar *const *arg_permitted_add, |
547 |
|
|
const gchar *const *arg_permitted_remove, |
548 |
|
|
GVariant *arg_options, |
549 |
|
|
GCancellable *cancellable, |
550 |
|
|
GError **error); |
551 |
|
|
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
/* D-Bus property accessors: */ |
555 |
|
|
const gchar *cc_realm_common_get_name (CcRealmCommon *object); |
556 |
|
|
gchar *cc_realm_common_dup_name (CcRealmCommon *object); |
557 |
|
|
void cc_realm_common_set_name (CcRealmCommon *object, const gchar *value); |
558 |
|
|
|
559 |
|
|
const gchar *cc_realm_common_get_configured (CcRealmCommon *object); |
560 |
|
|
gchar *cc_realm_common_dup_configured (CcRealmCommon *object); |
561 |
|
|
void cc_realm_common_set_configured (CcRealmCommon *object, const gchar *value); |
562 |
|
|
|
563 |
|
|
const gchar *const *cc_realm_common_get_supported_interfaces (CcRealmCommon *object); |
564 |
|
|
gchar **cc_realm_common_dup_supported_interfaces (CcRealmCommon *object); |
565 |
|
|
void cc_realm_common_set_supported_interfaces (CcRealmCommon *object, const gchar *const *value); |
566 |
|
|
|
567 |
|
|
GVariant *cc_realm_common_get_details (CcRealmCommon *object); |
568 |
|
|
GVariant *cc_realm_common_dup_details (CcRealmCommon *object); |
569 |
|
|
void cc_realm_common_set_details (CcRealmCommon *object, GVariant *value); |
570 |
|
|
|
571 |
|
|
const gchar *const *cc_realm_common_get_login_formats (CcRealmCommon *object); |
572 |
|
|
gchar **cc_realm_common_dup_login_formats (CcRealmCommon *object); |
573 |
|
|
void cc_realm_common_set_login_formats (CcRealmCommon *object, const gchar *const *value); |
574 |
|
|
|
575 |
|
|
const gchar *cc_realm_common_get_login_policy (CcRealmCommon *object); |
576 |
|
|
gchar *cc_realm_common_dup_login_policy (CcRealmCommon *object); |
577 |
|
|
void cc_realm_common_set_login_policy (CcRealmCommon *object, const gchar *value); |
578 |
|
|
|
579 |
|
|
const gchar *const *cc_realm_common_get_permitted_logins (CcRealmCommon *object); |
580 |
|
|
gchar **cc_realm_common_dup_permitted_logins (CcRealmCommon *object); |
581 |
|
|
void cc_realm_common_set_permitted_logins (CcRealmCommon *object, const gchar *const *value); |
582 |
|
|
|
583 |
|
|
|
584 |
|
|
/* ---- */ |
585 |
|
|
|
586 |
|
|
#define CC_REALM_TYPE_COMMON_PROXY (cc_realm_common_proxy_get_type ()) |
587 |
|
|
#define CC_REALM_COMMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_COMMON_PROXY, CcRealmCommonProxy)) |
588 |
|
|
#define CC_REALM_COMMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_COMMON_PROXY, CcRealmCommonProxyClass)) |
589 |
|
|
#define CC_REALM_COMMON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_COMMON_PROXY, CcRealmCommonProxyClass)) |
590 |
|
|
#define CC_REALM_IS_COMMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_COMMON_PROXY)) |
591 |
|
|
#define CC_REALM_IS_COMMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_COMMON_PROXY)) |
592 |
|
|
|
593 |
|
|
typedef struct _CcRealmCommonProxy CcRealmCommonProxy; |
594 |
|
|
typedef struct _CcRealmCommonProxyClass CcRealmCommonProxyClass; |
595 |
|
|
typedef struct _CcRealmCommonProxyPrivate CcRealmCommonProxyPrivate; |
596 |
|
|
|
597 |
|
|
struct _CcRealmCommonProxy |
598 |
|
|
{ |
599 |
|
|
/*< private >*/ |
600 |
|
|
GDBusProxy parent_instance; |
601 |
|
|
CcRealmCommonProxyPrivate *priv; |
602 |
|
|
}; |
603 |
|
|
|
604 |
|
|
struct _CcRealmCommonProxyClass |
605 |
|
|
{ |
606 |
|
|
GDBusProxyClass parent_class; |
607 |
|
|
}; |
608 |
|
|
|
609 |
|
|
GType cc_realm_common_proxy_get_type (void) G_GNUC_CONST; |
610 |
|
|
|
611 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
612 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmCommonProxy, g_object_unref) |
613 |
|
|
#endif |
614 |
|
|
|
615 |
|
|
void cc_realm_common_proxy_new ( |
616 |
|
|
GDBusConnection *connection, |
617 |
|
|
GDBusProxyFlags flags, |
618 |
|
|
const gchar *name, |
619 |
|
|
const gchar *object_path, |
620 |
|
|
GCancellable *cancellable, |
621 |
|
|
GAsyncReadyCallback callback, |
622 |
|
|
gpointer user_data); |
623 |
|
|
CcRealmCommon *cc_realm_common_proxy_new_finish ( |
624 |
|
|
GAsyncResult *res, |
625 |
|
|
GError **error); |
626 |
|
|
CcRealmCommon *cc_realm_common_proxy_new_sync ( |
627 |
|
|
GDBusConnection *connection, |
628 |
|
|
GDBusProxyFlags flags, |
629 |
|
|
const gchar *name, |
630 |
|
|
const gchar *object_path, |
631 |
|
|
GCancellable *cancellable, |
632 |
|
|
GError **error); |
633 |
|
|
|
634 |
|
|
void cc_realm_common_proxy_new_for_bus ( |
635 |
|
|
GBusType bus_type, |
636 |
|
|
GDBusProxyFlags flags, |
637 |
|
|
const gchar *name, |
638 |
|
|
const gchar *object_path, |
639 |
|
|
GCancellable *cancellable, |
640 |
|
|
GAsyncReadyCallback callback, |
641 |
|
|
gpointer user_data); |
642 |
|
|
CcRealmCommon *cc_realm_common_proxy_new_for_bus_finish ( |
643 |
|
|
GAsyncResult *res, |
644 |
|
|
GError **error); |
645 |
|
|
CcRealmCommon *cc_realm_common_proxy_new_for_bus_sync ( |
646 |
|
|
GBusType bus_type, |
647 |
|
|
GDBusProxyFlags flags, |
648 |
|
|
const gchar *name, |
649 |
|
|
const gchar *object_path, |
650 |
|
|
GCancellable *cancellable, |
651 |
|
|
GError **error); |
652 |
|
|
|
653 |
|
|
|
654 |
|
|
/* ---- */ |
655 |
|
|
|
656 |
|
|
#define CC_REALM_TYPE_COMMON_SKELETON (cc_realm_common_skeleton_get_type ()) |
657 |
|
|
#define CC_REALM_COMMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_COMMON_SKELETON, CcRealmCommonSkeleton)) |
658 |
|
|
#define CC_REALM_COMMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_COMMON_SKELETON, CcRealmCommonSkeletonClass)) |
659 |
|
|
#define CC_REALM_COMMON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_COMMON_SKELETON, CcRealmCommonSkeletonClass)) |
660 |
|
|
#define CC_REALM_IS_COMMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_COMMON_SKELETON)) |
661 |
|
|
#define CC_REALM_IS_COMMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_COMMON_SKELETON)) |
662 |
|
|
|
663 |
|
|
typedef struct _CcRealmCommonSkeleton CcRealmCommonSkeleton; |
664 |
|
|
typedef struct _CcRealmCommonSkeletonClass CcRealmCommonSkeletonClass; |
665 |
|
|
typedef struct _CcRealmCommonSkeletonPrivate CcRealmCommonSkeletonPrivate; |
666 |
|
|
|
667 |
|
|
struct _CcRealmCommonSkeleton |
668 |
|
|
{ |
669 |
|
|
/*< private >*/ |
670 |
|
|
GDBusInterfaceSkeleton parent_instance; |
671 |
|
|
CcRealmCommonSkeletonPrivate *priv; |
672 |
|
|
}; |
673 |
|
|
|
674 |
|
|
struct _CcRealmCommonSkeletonClass |
675 |
|
|
{ |
676 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
677 |
|
|
}; |
678 |
|
|
|
679 |
|
|
GType cc_realm_common_skeleton_get_type (void) G_GNUC_CONST; |
680 |
|
|
|
681 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
682 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmCommonSkeleton, g_object_unref) |
683 |
|
|
#endif |
684 |
|
|
|
685 |
|
|
CcRealmCommon *cc_realm_common_skeleton_new (void); |
686 |
|
|
|
687 |
|
|
|
688 |
|
|
/* ------------------------------------------------------------------------ */ |
689 |
|
|
/* Declarations for org.freedesktop.realmd.Kerberos */ |
690 |
|
|
|
691 |
|
|
#define CC_REALM_TYPE_KERBEROS (cc_realm_kerberos_get_type ()) |
692 |
|
|
#define CC_REALM_KERBEROS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS, CcRealmKerberos)) |
693 |
|
|
#define CC_REALM_IS_KERBEROS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS)) |
694 |
|
|
#define CC_REALM_KERBEROS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_KERBEROS, CcRealmKerberosIface)) |
695 |
|
|
|
696 |
|
|
struct _CcRealmKerberos; |
697 |
|
|
typedef struct _CcRealmKerberos CcRealmKerberos; |
698 |
|
|
typedef struct _CcRealmKerberosIface CcRealmKerberosIface; |
699 |
|
|
|
700 |
|
|
struct _CcRealmKerberosIface |
701 |
|
|
{ |
702 |
|
|
GTypeInterface parent_iface; |
703 |
|
|
|
704 |
|
|
const gchar * (*get_domain_name) (CcRealmKerberos *object); |
705 |
|
|
|
706 |
|
|
const gchar * (*get_realm_name) (CcRealmKerberos *object); |
707 |
|
|
|
708 |
|
|
}; |
709 |
|
|
|
710 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
711 |
|
✗ |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberos, g_object_unref) |
712 |
|
|
#endif |
713 |
|
|
|
714 |
|
|
GType cc_realm_kerberos_get_type (void) G_GNUC_CONST; |
715 |
|
|
|
716 |
|
|
GDBusInterfaceInfo *cc_realm_kerberos_interface_info (void); |
717 |
|
|
guint cc_realm_kerberos_override_properties (GObjectClass *klass, guint property_id_begin); |
718 |
|
|
|
719 |
|
|
|
720 |
|
|
/* D-Bus property accessors: */ |
721 |
|
|
const gchar *cc_realm_kerberos_get_realm_name (CcRealmKerberos *object); |
722 |
|
|
gchar *cc_realm_kerberos_dup_realm_name (CcRealmKerberos *object); |
723 |
|
|
void cc_realm_kerberos_set_realm_name (CcRealmKerberos *object, const gchar *value); |
724 |
|
|
|
725 |
|
|
const gchar *cc_realm_kerberos_get_domain_name (CcRealmKerberos *object); |
726 |
|
|
gchar *cc_realm_kerberos_dup_domain_name (CcRealmKerberos *object); |
727 |
|
|
void cc_realm_kerberos_set_domain_name (CcRealmKerberos *object, const gchar *value); |
728 |
|
|
|
729 |
|
|
|
730 |
|
|
/* ---- */ |
731 |
|
|
|
732 |
|
|
#define CC_REALM_TYPE_KERBEROS_PROXY (cc_realm_kerberos_proxy_get_type ()) |
733 |
|
|
#define CC_REALM_KERBEROS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS_PROXY, CcRealmKerberosProxy)) |
734 |
|
|
#define CC_REALM_KERBEROS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_KERBEROS_PROXY, CcRealmKerberosProxyClass)) |
735 |
|
|
#define CC_REALM_KERBEROS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_KERBEROS_PROXY, CcRealmKerberosProxyClass)) |
736 |
|
|
#define CC_REALM_IS_KERBEROS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS_PROXY)) |
737 |
|
|
#define CC_REALM_IS_KERBEROS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_KERBEROS_PROXY)) |
738 |
|
|
|
739 |
|
|
typedef struct _CcRealmKerberosProxy CcRealmKerberosProxy; |
740 |
|
|
typedef struct _CcRealmKerberosProxyClass CcRealmKerberosProxyClass; |
741 |
|
|
typedef struct _CcRealmKerberosProxyPrivate CcRealmKerberosProxyPrivate; |
742 |
|
|
|
743 |
|
|
struct _CcRealmKerberosProxy |
744 |
|
|
{ |
745 |
|
|
/*< private >*/ |
746 |
|
|
GDBusProxy parent_instance; |
747 |
|
|
CcRealmKerberosProxyPrivate *priv; |
748 |
|
|
}; |
749 |
|
|
|
750 |
|
|
struct _CcRealmKerberosProxyClass |
751 |
|
|
{ |
752 |
|
|
GDBusProxyClass parent_class; |
753 |
|
|
}; |
754 |
|
|
|
755 |
|
|
GType cc_realm_kerberos_proxy_get_type (void) G_GNUC_CONST; |
756 |
|
|
|
757 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
758 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberosProxy, g_object_unref) |
759 |
|
|
#endif |
760 |
|
|
|
761 |
|
|
void cc_realm_kerberos_proxy_new ( |
762 |
|
|
GDBusConnection *connection, |
763 |
|
|
GDBusProxyFlags flags, |
764 |
|
|
const gchar *name, |
765 |
|
|
const gchar *object_path, |
766 |
|
|
GCancellable *cancellable, |
767 |
|
|
GAsyncReadyCallback callback, |
768 |
|
|
gpointer user_data); |
769 |
|
|
CcRealmKerberos *cc_realm_kerberos_proxy_new_finish ( |
770 |
|
|
GAsyncResult *res, |
771 |
|
|
GError **error); |
772 |
|
|
CcRealmKerberos *cc_realm_kerberos_proxy_new_sync ( |
773 |
|
|
GDBusConnection *connection, |
774 |
|
|
GDBusProxyFlags flags, |
775 |
|
|
const gchar *name, |
776 |
|
|
const gchar *object_path, |
777 |
|
|
GCancellable *cancellable, |
778 |
|
|
GError **error); |
779 |
|
|
|
780 |
|
|
void cc_realm_kerberos_proxy_new_for_bus ( |
781 |
|
|
GBusType bus_type, |
782 |
|
|
GDBusProxyFlags flags, |
783 |
|
|
const gchar *name, |
784 |
|
|
const gchar *object_path, |
785 |
|
|
GCancellable *cancellable, |
786 |
|
|
GAsyncReadyCallback callback, |
787 |
|
|
gpointer user_data); |
788 |
|
|
CcRealmKerberos *cc_realm_kerberos_proxy_new_for_bus_finish ( |
789 |
|
|
GAsyncResult *res, |
790 |
|
|
GError **error); |
791 |
|
|
CcRealmKerberos *cc_realm_kerberos_proxy_new_for_bus_sync ( |
792 |
|
|
GBusType bus_type, |
793 |
|
|
GDBusProxyFlags flags, |
794 |
|
|
const gchar *name, |
795 |
|
|
const gchar *object_path, |
796 |
|
|
GCancellable *cancellable, |
797 |
|
|
GError **error); |
798 |
|
|
|
799 |
|
|
|
800 |
|
|
/* ---- */ |
801 |
|
|
|
802 |
|
|
#define CC_REALM_TYPE_KERBEROS_SKELETON (cc_realm_kerberos_skeleton_get_type ()) |
803 |
|
|
#define CC_REALM_KERBEROS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS_SKELETON, CcRealmKerberosSkeleton)) |
804 |
|
|
#define CC_REALM_KERBEROS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_KERBEROS_SKELETON, CcRealmKerberosSkeletonClass)) |
805 |
|
|
#define CC_REALM_KERBEROS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_KERBEROS_SKELETON, CcRealmKerberosSkeletonClass)) |
806 |
|
|
#define CC_REALM_IS_KERBEROS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS_SKELETON)) |
807 |
|
|
#define CC_REALM_IS_KERBEROS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_KERBEROS_SKELETON)) |
808 |
|
|
|
809 |
|
|
typedef struct _CcRealmKerberosSkeleton CcRealmKerberosSkeleton; |
810 |
|
|
typedef struct _CcRealmKerberosSkeletonClass CcRealmKerberosSkeletonClass; |
811 |
|
|
typedef struct _CcRealmKerberosSkeletonPrivate CcRealmKerberosSkeletonPrivate; |
812 |
|
|
|
813 |
|
|
struct _CcRealmKerberosSkeleton |
814 |
|
|
{ |
815 |
|
|
/*< private >*/ |
816 |
|
|
GDBusInterfaceSkeleton parent_instance; |
817 |
|
|
CcRealmKerberosSkeletonPrivate *priv; |
818 |
|
|
}; |
819 |
|
|
|
820 |
|
|
struct _CcRealmKerberosSkeletonClass |
821 |
|
|
{ |
822 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
823 |
|
|
}; |
824 |
|
|
|
825 |
|
|
GType cc_realm_kerberos_skeleton_get_type (void) G_GNUC_CONST; |
826 |
|
|
|
827 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
828 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberosSkeleton, g_object_unref) |
829 |
|
|
#endif |
830 |
|
|
|
831 |
|
|
CcRealmKerberos *cc_realm_kerberos_skeleton_new (void); |
832 |
|
|
|
833 |
|
|
|
834 |
|
|
/* ------------------------------------------------------------------------ */ |
835 |
|
|
/* Declarations for org.freedesktop.realmd.KerberosMembership */ |
836 |
|
|
|
837 |
|
|
#define CC_REALM_TYPE_KERBEROS_MEMBERSHIP (cc_realm_kerberos_membership_get_type ()) |
838 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP, CcRealmKerberosMembership)) |
839 |
|
|
#define CC_REALM_IS_KERBEROS_MEMBERSHIP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP)) |
840 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP, CcRealmKerberosMembershipIface)) |
841 |
|
|
|
842 |
|
|
struct _CcRealmKerberosMembership; |
843 |
|
|
typedef struct _CcRealmKerberosMembership CcRealmKerberosMembership; |
844 |
|
|
typedef struct _CcRealmKerberosMembershipIface CcRealmKerberosMembershipIface; |
845 |
|
|
|
846 |
|
|
struct _CcRealmKerberosMembershipIface |
847 |
|
|
{ |
848 |
|
|
GTypeInterface parent_iface; |
849 |
|
|
|
850 |
|
|
|
851 |
|
|
gboolean (*handle_join) ( |
852 |
|
|
CcRealmKerberosMembership *object, |
853 |
|
|
GDBusMethodInvocation *invocation, |
854 |
|
|
GVariant *arg_credentials, |
855 |
|
|
GVariant *arg_options); |
856 |
|
|
|
857 |
|
|
gboolean (*handle_leave) ( |
858 |
|
|
CcRealmKerberosMembership *object, |
859 |
|
|
GDBusMethodInvocation *invocation, |
860 |
|
|
GVariant *arg_credentials, |
861 |
|
|
GVariant *arg_options); |
862 |
|
|
|
863 |
|
|
const gchar * (*get_suggested_administrator) (CcRealmKerberosMembership *object); |
864 |
|
|
|
865 |
|
|
GVariant * (*get_supported_join_credentials) (CcRealmKerberosMembership *object); |
866 |
|
|
|
867 |
|
|
GVariant * (*get_supported_leave_credentials) (CcRealmKerberosMembership *object); |
868 |
|
|
|
869 |
|
|
}; |
870 |
|
|
|
871 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
872 |
|
✗ |
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberosMembership, g_object_unref) |
873 |
|
|
#endif |
874 |
|
|
|
875 |
|
|
GType cc_realm_kerberos_membership_get_type (void) G_GNUC_CONST; |
876 |
|
|
|
877 |
|
|
GDBusInterfaceInfo *cc_realm_kerberos_membership_interface_info (void); |
878 |
|
|
guint cc_realm_kerberos_membership_override_properties (GObjectClass *klass, guint property_id_begin); |
879 |
|
|
|
880 |
|
|
|
881 |
|
|
/* D-Bus method call completion functions: */ |
882 |
|
|
void cc_realm_kerberos_membership_complete_join ( |
883 |
|
|
CcRealmKerberosMembership *object, |
884 |
|
|
GDBusMethodInvocation *invocation); |
885 |
|
|
|
886 |
|
|
void cc_realm_kerberos_membership_complete_leave ( |
887 |
|
|
CcRealmKerberosMembership *object, |
888 |
|
|
GDBusMethodInvocation *invocation); |
889 |
|
|
|
890 |
|
|
|
891 |
|
|
|
892 |
|
|
/* D-Bus method calls: */ |
893 |
|
|
void cc_realm_kerberos_membership_call_join ( |
894 |
|
|
CcRealmKerberosMembership *proxy, |
895 |
|
|
GVariant *arg_credentials, |
896 |
|
|
GVariant *arg_options, |
897 |
|
|
GCancellable *cancellable, |
898 |
|
|
GAsyncReadyCallback callback, |
899 |
|
|
gpointer user_data); |
900 |
|
|
|
901 |
|
|
gboolean cc_realm_kerberos_membership_call_join_finish ( |
902 |
|
|
CcRealmKerberosMembership *proxy, |
903 |
|
|
GAsyncResult *res, |
904 |
|
|
GError **error); |
905 |
|
|
|
906 |
|
|
gboolean cc_realm_kerberos_membership_call_join_sync ( |
907 |
|
|
CcRealmKerberosMembership *proxy, |
908 |
|
|
GVariant *arg_credentials, |
909 |
|
|
GVariant *arg_options, |
910 |
|
|
GCancellable *cancellable, |
911 |
|
|
GError **error); |
912 |
|
|
|
913 |
|
|
void cc_realm_kerberos_membership_call_leave ( |
914 |
|
|
CcRealmKerberosMembership *proxy, |
915 |
|
|
GVariant *arg_credentials, |
916 |
|
|
GVariant *arg_options, |
917 |
|
|
GCancellable *cancellable, |
918 |
|
|
GAsyncReadyCallback callback, |
919 |
|
|
gpointer user_data); |
920 |
|
|
|
921 |
|
|
gboolean cc_realm_kerberos_membership_call_leave_finish ( |
922 |
|
|
CcRealmKerberosMembership *proxy, |
923 |
|
|
GAsyncResult *res, |
924 |
|
|
GError **error); |
925 |
|
|
|
926 |
|
|
gboolean cc_realm_kerberos_membership_call_leave_sync ( |
927 |
|
|
CcRealmKerberosMembership *proxy, |
928 |
|
|
GVariant *arg_credentials, |
929 |
|
|
GVariant *arg_options, |
930 |
|
|
GCancellable *cancellable, |
931 |
|
|
GError **error); |
932 |
|
|
|
933 |
|
|
|
934 |
|
|
|
935 |
|
|
/* D-Bus property accessors: */ |
936 |
|
|
const gchar *cc_realm_kerberos_membership_get_suggested_administrator (CcRealmKerberosMembership *object); |
937 |
|
|
gchar *cc_realm_kerberos_membership_dup_suggested_administrator (CcRealmKerberosMembership *object); |
938 |
|
|
void cc_realm_kerberos_membership_set_suggested_administrator (CcRealmKerberosMembership *object, const gchar *value); |
939 |
|
|
|
940 |
|
|
GVariant *cc_realm_kerberos_membership_get_supported_join_credentials (CcRealmKerberosMembership *object); |
941 |
|
|
GVariant *cc_realm_kerberos_membership_dup_supported_join_credentials (CcRealmKerberosMembership *object); |
942 |
|
|
void cc_realm_kerberos_membership_set_supported_join_credentials (CcRealmKerberosMembership *object, GVariant *value); |
943 |
|
|
|
944 |
|
|
GVariant *cc_realm_kerberos_membership_get_supported_leave_credentials (CcRealmKerberosMembership *object); |
945 |
|
|
GVariant *cc_realm_kerberos_membership_dup_supported_leave_credentials (CcRealmKerberosMembership *object); |
946 |
|
|
void cc_realm_kerberos_membership_set_supported_leave_credentials (CcRealmKerberosMembership *object, GVariant *value); |
947 |
|
|
|
948 |
|
|
|
949 |
|
|
/* ---- */ |
950 |
|
|
|
951 |
|
|
#define CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY (cc_realm_kerberos_membership_proxy_get_type ()) |
952 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY, CcRealmKerberosMembershipProxy)) |
953 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY, CcRealmKerberosMembershipProxyClass)) |
954 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY, CcRealmKerberosMembershipProxyClass)) |
955 |
|
|
#define CC_REALM_IS_KERBEROS_MEMBERSHIP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY)) |
956 |
|
|
#define CC_REALM_IS_KERBEROS_MEMBERSHIP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_PROXY)) |
957 |
|
|
|
958 |
|
|
typedef struct _CcRealmKerberosMembershipProxy CcRealmKerberosMembershipProxy; |
959 |
|
|
typedef struct _CcRealmKerberosMembershipProxyClass CcRealmKerberosMembershipProxyClass; |
960 |
|
|
typedef struct _CcRealmKerberosMembershipProxyPrivate CcRealmKerberosMembershipProxyPrivate; |
961 |
|
|
|
962 |
|
|
struct _CcRealmKerberosMembershipProxy |
963 |
|
|
{ |
964 |
|
|
/*< private >*/ |
965 |
|
|
GDBusProxy parent_instance; |
966 |
|
|
CcRealmKerberosMembershipProxyPrivate *priv; |
967 |
|
|
}; |
968 |
|
|
|
969 |
|
|
struct _CcRealmKerberosMembershipProxyClass |
970 |
|
|
{ |
971 |
|
|
GDBusProxyClass parent_class; |
972 |
|
|
}; |
973 |
|
|
|
974 |
|
|
GType cc_realm_kerberos_membership_proxy_get_type (void) G_GNUC_CONST; |
975 |
|
|
|
976 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
977 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberosMembershipProxy, g_object_unref) |
978 |
|
|
#endif |
979 |
|
|
|
980 |
|
|
void cc_realm_kerberos_membership_proxy_new ( |
981 |
|
|
GDBusConnection *connection, |
982 |
|
|
GDBusProxyFlags flags, |
983 |
|
|
const gchar *name, |
984 |
|
|
const gchar *object_path, |
985 |
|
|
GCancellable *cancellable, |
986 |
|
|
GAsyncReadyCallback callback, |
987 |
|
|
gpointer user_data); |
988 |
|
|
CcRealmKerberosMembership *cc_realm_kerberos_membership_proxy_new_finish ( |
989 |
|
|
GAsyncResult *res, |
990 |
|
|
GError **error); |
991 |
|
|
CcRealmKerberosMembership *cc_realm_kerberos_membership_proxy_new_sync ( |
992 |
|
|
GDBusConnection *connection, |
993 |
|
|
GDBusProxyFlags flags, |
994 |
|
|
const gchar *name, |
995 |
|
|
const gchar *object_path, |
996 |
|
|
GCancellable *cancellable, |
997 |
|
|
GError **error); |
998 |
|
|
|
999 |
|
|
void cc_realm_kerberos_membership_proxy_new_for_bus ( |
1000 |
|
|
GBusType bus_type, |
1001 |
|
|
GDBusProxyFlags flags, |
1002 |
|
|
const gchar *name, |
1003 |
|
|
const gchar *object_path, |
1004 |
|
|
GCancellable *cancellable, |
1005 |
|
|
GAsyncReadyCallback callback, |
1006 |
|
|
gpointer user_data); |
1007 |
|
|
CcRealmKerberosMembership *cc_realm_kerberos_membership_proxy_new_for_bus_finish ( |
1008 |
|
|
GAsyncResult *res, |
1009 |
|
|
GError **error); |
1010 |
|
|
CcRealmKerberosMembership *cc_realm_kerberos_membership_proxy_new_for_bus_sync ( |
1011 |
|
|
GBusType bus_type, |
1012 |
|
|
GDBusProxyFlags flags, |
1013 |
|
|
const gchar *name, |
1014 |
|
|
const gchar *object_path, |
1015 |
|
|
GCancellable *cancellable, |
1016 |
|
|
GError **error); |
1017 |
|
|
|
1018 |
|
|
|
1019 |
|
|
/* ---- */ |
1020 |
|
|
|
1021 |
|
|
#define CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON (cc_realm_kerberos_membership_skeleton_get_type ()) |
1022 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON, CcRealmKerberosMembershipSkeleton)) |
1023 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON, CcRealmKerberosMembershipSkeletonClass)) |
1024 |
|
|
#define CC_REALM_KERBEROS_MEMBERSHIP_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON, CcRealmKerberosMembershipSkeletonClass)) |
1025 |
|
|
#define CC_REALM_IS_KERBEROS_MEMBERSHIP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON)) |
1026 |
|
|
#define CC_REALM_IS_KERBEROS_MEMBERSHIP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_KERBEROS_MEMBERSHIP_SKELETON)) |
1027 |
|
|
|
1028 |
|
|
typedef struct _CcRealmKerberosMembershipSkeleton CcRealmKerberosMembershipSkeleton; |
1029 |
|
|
typedef struct _CcRealmKerberosMembershipSkeletonClass CcRealmKerberosMembershipSkeletonClass; |
1030 |
|
|
typedef struct _CcRealmKerberosMembershipSkeletonPrivate CcRealmKerberosMembershipSkeletonPrivate; |
1031 |
|
|
|
1032 |
|
|
struct _CcRealmKerberosMembershipSkeleton |
1033 |
|
|
{ |
1034 |
|
|
/*< private >*/ |
1035 |
|
|
GDBusInterfaceSkeleton parent_instance; |
1036 |
|
|
CcRealmKerberosMembershipSkeletonPrivate *priv; |
1037 |
|
|
}; |
1038 |
|
|
|
1039 |
|
|
struct _CcRealmKerberosMembershipSkeletonClass |
1040 |
|
|
{ |
1041 |
|
|
GDBusInterfaceSkeletonClass parent_class; |
1042 |
|
|
}; |
1043 |
|
|
|
1044 |
|
|
GType cc_realm_kerberos_membership_skeleton_get_type (void) G_GNUC_CONST; |
1045 |
|
|
|
1046 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
1047 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmKerberosMembershipSkeleton, g_object_unref) |
1048 |
|
|
#endif |
1049 |
|
|
|
1050 |
|
|
CcRealmKerberosMembership *cc_realm_kerberos_membership_skeleton_new (void); |
1051 |
|
|
|
1052 |
|
|
|
1053 |
|
|
/* ---- */ |
1054 |
|
|
|
1055 |
|
|
#define CC_REALM_TYPE_OBJECT (cc_realm_object_get_type ()) |
1056 |
|
|
#define CC_REALM_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_OBJECT, CcRealmObject)) |
1057 |
|
|
#define CC_REALM_IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_OBJECT)) |
1058 |
|
|
#define CC_REALM_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), CC_REALM_TYPE_OBJECT, CcRealmObject)) |
1059 |
|
|
|
1060 |
|
|
struct _CcRealmObject; |
1061 |
|
|
typedef struct _CcRealmObject CcRealmObject; |
1062 |
|
|
typedef struct _CcRealmObjectIface CcRealmObjectIface; |
1063 |
|
|
|
1064 |
|
|
struct _CcRealmObjectIface |
1065 |
|
|
{ |
1066 |
|
|
GTypeInterface parent_iface; |
1067 |
|
|
}; |
1068 |
|
|
|
1069 |
|
|
GType cc_realm_object_get_type (void) G_GNUC_CONST; |
1070 |
|
|
|
1071 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
1072 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmObject, g_object_unref) |
1073 |
|
|
#endif |
1074 |
|
|
|
1075 |
|
|
CcRealmProvider *cc_realm_object_get_provider (CcRealmObject *object); |
1076 |
|
|
CcRealmService *cc_realm_object_get_service (CcRealmObject *object); |
1077 |
|
|
CcRealmCommon *cc_realm_object_get_common (CcRealmObject *object); |
1078 |
|
|
CcRealmKerberos *cc_realm_object_get_kerberos (CcRealmObject *object); |
1079 |
|
|
CcRealmKerberosMembership *cc_realm_object_get_kerberos_membership (CcRealmObject *object); |
1080 |
|
|
CcRealmProvider *cc_realm_object_peek_provider (CcRealmObject *object); |
1081 |
|
|
CcRealmService *cc_realm_object_peek_service (CcRealmObject *object); |
1082 |
|
|
CcRealmCommon *cc_realm_object_peek_common (CcRealmObject *object); |
1083 |
|
|
CcRealmKerberos *cc_realm_object_peek_kerberos (CcRealmObject *object); |
1084 |
|
|
CcRealmKerberosMembership *cc_realm_object_peek_kerberos_membership (CcRealmObject *object); |
1085 |
|
|
|
1086 |
|
|
#define CC_REALM_TYPE_OBJECT_PROXY (cc_realm_object_proxy_get_type ()) |
1087 |
|
|
#define CC_REALM_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_OBJECT_PROXY, CcRealmObjectProxy)) |
1088 |
|
|
#define CC_REALM_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_OBJECT_PROXY, CcRealmObjectProxyClass)) |
1089 |
|
|
#define CC_REALM_OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_OBJECT_PROXY, CcRealmObjectProxyClass)) |
1090 |
|
|
#define CC_REALM_IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_OBJECT_PROXY)) |
1091 |
|
|
#define CC_REALM_IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_OBJECT_PROXY)) |
1092 |
|
|
|
1093 |
|
|
typedef struct _CcRealmObjectProxy CcRealmObjectProxy; |
1094 |
|
|
typedef struct _CcRealmObjectProxyClass CcRealmObjectProxyClass; |
1095 |
|
|
typedef struct _CcRealmObjectProxyPrivate CcRealmObjectProxyPrivate; |
1096 |
|
|
|
1097 |
|
|
struct _CcRealmObjectProxy |
1098 |
|
|
{ |
1099 |
|
|
/*< private >*/ |
1100 |
|
|
GDBusObjectProxy parent_instance; |
1101 |
|
|
CcRealmObjectProxyPrivate *priv; |
1102 |
|
|
}; |
1103 |
|
|
|
1104 |
|
|
struct _CcRealmObjectProxyClass |
1105 |
|
|
{ |
1106 |
|
|
GDBusObjectProxyClass parent_class; |
1107 |
|
|
}; |
1108 |
|
|
|
1109 |
|
|
GType cc_realm_object_proxy_get_type (void) G_GNUC_CONST; |
1110 |
|
|
|
1111 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
1112 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmObjectProxy, g_object_unref) |
1113 |
|
|
#endif |
1114 |
|
|
|
1115 |
|
|
CcRealmObjectProxy *cc_realm_object_proxy_new (GDBusConnection *connection, const gchar *object_path); |
1116 |
|
|
|
1117 |
|
|
#define CC_REALM_TYPE_OBJECT_SKELETON (cc_realm_object_skeleton_get_type ()) |
1118 |
|
|
#define CC_REALM_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_OBJECT_SKELETON, CcRealmObjectSkeleton)) |
1119 |
|
|
#define CC_REALM_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_OBJECT_SKELETON, CcRealmObjectSkeletonClass)) |
1120 |
|
|
#define CC_REALM_OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_OBJECT_SKELETON, CcRealmObjectSkeletonClass)) |
1121 |
|
|
#define CC_REALM_IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_OBJECT_SKELETON)) |
1122 |
|
|
#define CC_REALM_IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_OBJECT_SKELETON)) |
1123 |
|
|
|
1124 |
|
|
typedef struct _CcRealmObjectSkeleton CcRealmObjectSkeleton; |
1125 |
|
|
typedef struct _CcRealmObjectSkeletonClass CcRealmObjectSkeletonClass; |
1126 |
|
|
typedef struct _CcRealmObjectSkeletonPrivate CcRealmObjectSkeletonPrivate; |
1127 |
|
|
|
1128 |
|
|
struct _CcRealmObjectSkeleton |
1129 |
|
|
{ |
1130 |
|
|
/*< private >*/ |
1131 |
|
|
GDBusObjectSkeleton parent_instance; |
1132 |
|
|
CcRealmObjectSkeletonPrivate *priv; |
1133 |
|
|
}; |
1134 |
|
|
|
1135 |
|
|
struct _CcRealmObjectSkeletonClass |
1136 |
|
|
{ |
1137 |
|
|
GDBusObjectSkeletonClass parent_class; |
1138 |
|
|
}; |
1139 |
|
|
|
1140 |
|
|
GType cc_realm_object_skeleton_get_type (void) G_GNUC_CONST; |
1141 |
|
|
|
1142 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
1143 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmObjectSkeleton, g_object_unref) |
1144 |
|
|
#endif |
1145 |
|
|
|
1146 |
|
|
CcRealmObjectSkeleton *cc_realm_object_skeleton_new (const gchar *object_path); |
1147 |
|
|
void cc_realm_object_skeleton_set_provider (CcRealmObjectSkeleton *object, CcRealmProvider *interface_); |
1148 |
|
|
void cc_realm_object_skeleton_set_service (CcRealmObjectSkeleton *object, CcRealmService *interface_); |
1149 |
|
|
void cc_realm_object_skeleton_set_common (CcRealmObjectSkeleton *object, CcRealmCommon *interface_); |
1150 |
|
|
void cc_realm_object_skeleton_set_kerberos (CcRealmObjectSkeleton *object, CcRealmKerberos *interface_); |
1151 |
|
|
void cc_realm_object_skeleton_set_kerberos_membership (CcRealmObjectSkeleton *object, CcRealmKerberosMembership *interface_); |
1152 |
|
|
|
1153 |
|
|
/* ---- */ |
1154 |
|
|
|
1155 |
|
|
#define CC_REALM_TYPE_OBJECT_MANAGER_CLIENT (cc_realm_object_manager_client_get_type ()) |
1156 |
|
|
#define CC_REALM_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CC_REALM_TYPE_OBJECT_MANAGER_CLIENT, CcRealmObjectManagerClient)) |
1157 |
|
|
#define CC_REALM_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), CC_REALM_TYPE_OBJECT_MANAGER_CLIENT, CcRealmObjectManagerClientClass)) |
1158 |
|
|
#define CC_REALM_OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CC_REALM_TYPE_OBJECT_MANAGER_CLIENT, CcRealmObjectManagerClientClass)) |
1159 |
|
|
#define CC_REALM_IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CC_REALM_TYPE_OBJECT_MANAGER_CLIENT)) |
1160 |
|
|
#define CC_REALM_IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CC_REALM_TYPE_OBJECT_MANAGER_CLIENT)) |
1161 |
|
|
|
1162 |
|
|
typedef struct _CcRealmObjectManagerClient CcRealmObjectManagerClient; |
1163 |
|
|
typedef struct _CcRealmObjectManagerClientClass CcRealmObjectManagerClientClass; |
1164 |
|
|
typedef struct _CcRealmObjectManagerClientPrivate CcRealmObjectManagerClientPrivate; |
1165 |
|
|
|
1166 |
|
|
struct _CcRealmObjectManagerClient |
1167 |
|
|
{ |
1168 |
|
|
/*< private >*/ |
1169 |
|
|
GDBusObjectManagerClient parent_instance; |
1170 |
|
|
CcRealmObjectManagerClientPrivate *priv; |
1171 |
|
|
}; |
1172 |
|
|
|
1173 |
|
|
struct _CcRealmObjectManagerClientClass |
1174 |
|
|
{ |
1175 |
|
|
GDBusObjectManagerClientClass parent_class; |
1176 |
|
|
}; |
1177 |
|
|
|
1178 |
|
|
#if GLIB_CHECK_VERSION(2, 44, 0) |
1179 |
|
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (CcRealmObjectManagerClient, g_object_unref) |
1180 |
|
|
#endif |
1181 |
|
|
|
1182 |
|
|
GType cc_realm_object_manager_client_get_type (void) G_GNUC_CONST; |
1183 |
|
|
|
1184 |
|
|
GType cc_realm_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data); |
1185 |
|
|
|
1186 |
|
|
void cc_realm_object_manager_client_new ( |
1187 |
|
|
GDBusConnection *connection, |
1188 |
|
|
GDBusObjectManagerClientFlags flags, |
1189 |
|
|
const gchar *name, |
1190 |
|
|
const gchar *object_path, |
1191 |
|
|
GCancellable *cancellable, |
1192 |
|
|
GAsyncReadyCallback callback, |
1193 |
|
|
gpointer user_data); |
1194 |
|
|
GDBusObjectManager *cc_realm_object_manager_client_new_finish ( |
1195 |
|
|
GAsyncResult *res, |
1196 |
|
|
GError **error); |
1197 |
|
|
GDBusObjectManager *cc_realm_object_manager_client_new_sync ( |
1198 |
|
|
GDBusConnection *connection, |
1199 |
|
|
GDBusObjectManagerClientFlags flags, |
1200 |
|
|
const gchar *name, |
1201 |
|
|
const gchar *object_path, |
1202 |
|
|
GCancellable *cancellable, |
1203 |
|
|
GError **error); |
1204 |
|
|
|
1205 |
|
|
void cc_realm_object_manager_client_new_for_bus ( |
1206 |
|
|
GBusType bus_type, |
1207 |
|
|
GDBusObjectManagerClientFlags flags, |
1208 |
|
|
const gchar *name, |
1209 |
|
|
const gchar *object_path, |
1210 |
|
|
GCancellable *cancellable, |
1211 |
|
|
GAsyncReadyCallback callback, |
1212 |
|
|
gpointer user_data); |
1213 |
|
|
GDBusObjectManager *cc_realm_object_manager_client_new_for_bus_finish ( |
1214 |
|
|
GAsyncResult *res, |
1215 |
|
|
GError **error); |
1216 |
|
|
GDBusObjectManager *cc_realm_object_manager_client_new_for_bus_sync ( |
1217 |
|
|
GBusType bus_type, |
1218 |
|
|
GDBusObjectManagerClientFlags flags, |
1219 |
|
|
const gchar *name, |
1220 |
|
|
const gchar *object_path, |
1221 |
|
|
GCancellable *cancellable, |
1222 |
|
|
GError **error); |
1223 |
|
|
|
1224 |
|
|
|
1225 |
|
|
G_END_DECLS |
1226 |
|
|
|
1227 |
|
|
#endif /* __CC_REALM_GENERATED_H__ */ |
1228 |
|
|
|