1 /*
2  * Generated by gdbus-codegen 2.42.2. DO NOT EDIT.
3  *
4  * The license of this code is the same as for the source it was derived from.
5  */
6 
7 #ifndef __OPENBMC_INTF_H__
8 #define __OPENBMC_INTF_H__
9 
10 #include <gio/gio.h>
11 
12 G_BEGIN_DECLS
13 
14 
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.openbmc.Hwmon */
17 
18 #define TYPE_HWMON (hwmon_get_type ())
19 #define HWMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HWMON, Hwmon))
20 #define IS_HWMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HWMON))
21 #define HWMON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_HWMON, HwmonIface))
22 
23 struct _Hwmon;
24 typedef struct _Hwmon Hwmon;
25 typedef struct _HwmonIface HwmonIface;
26 
27 struct _HwmonIface
28 {
29   GTypeInterface parent_iface;
30 
31   gint  (*get_poll_interval) (Hwmon *object);
32 
33   gint  (*get_scale) (Hwmon *object);
34 
35   const gchar * (*get_sysfs_path) (Hwmon *object);
36 
37 };
38 
39 GType hwmon_get_type (void) G_GNUC_CONST;
40 
41 GDBusInterfaceInfo *hwmon_interface_info (void);
42 guint hwmon_override_properties (GObjectClass *klass, guint property_id_begin);
43 
44 
45 /* D-Bus property accessors: */
46 gint hwmon_get_poll_interval (Hwmon *object);
47 void hwmon_set_poll_interval (Hwmon *object, gint value);
48 
49 const gchar *hwmon_get_sysfs_path (Hwmon *object);
50 gchar *hwmon_dup_sysfs_path (Hwmon *object);
51 void hwmon_set_sysfs_path (Hwmon *object, const gchar *value);
52 
53 gint hwmon_get_scale (Hwmon *object);
54 void hwmon_set_scale (Hwmon *object, gint value);
55 
56 
57 /* ---- */
58 
59 #define TYPE_HWMON_PROXY (hwmon_proxy_get_type ())
60 #define HWMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HWMON_PROXY, HwmonProxy))
61 #define HWMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HWMON_PROXY, HwmonProxyClass))
62 #define HWMON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HWMON_PROXY, HwmonProxyClass))
63 #define IS_HWMON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HWMON_PROXY))
64 #define IS_HWMON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HWMON_PROXY))
65 
66 typedef struct _HwmonProxy HwmonProxy;
67 typedef struct _HwmonProxyClass HwmonProxyClass;
68 typedef struct _HwmonProxyPrivate HwmonProxyPrivate;
69 
70 struct _HwmonProxy
71 {
72   /*< private >*/
73   GDBusProxy parent_instance;
74   HwmonProxyPrivate *priv;
75 };
76 
77 struct _HwmonProxyClass
78 {
79   GDBusProxyClass parent_class;
80 };
81 
82 GType hwmon_proxy_get_type (void) G_GNUC_CONST;
83 
84 void hwmon_proxy_new (
85     GDBusConnection     *connection,
86     GDBusProxyFlags      flags,
87     const gchar         *name,
88     const gchar         *object_path,
89     GCancellable        *cancellable,
90     GAsyncReadyCallback  callback,
91     gpointer             user_data);
92 Hwmon *hwmon_proxy_new_finish (
93     GAsyncResult        *res,
94     GError             **error);
95 Hwmon *hwmon_proxy_new_sync (
96     GDBusConnection     *connection,
97     GDBusProxyFlags      flags,
98     const gchar         *name,
99     const gchar         *object_path,
100     GCancellable        *cancellable,
101     GError             **error);
102 
103 void hwmon_proxy_new_for_bus (
104     GBusType             bus_type,
105     GDBusProxyFlags      flags,
106     const gchar         *name,
107     const gchar         *object_path,
108     GCancellable        *cancellable,
109     GAsyncReadyCallback  callback,
110     gpointer             user_data);
111 Hwmon *hwmon_proxy_new_for_bus_finish (
112     GAsyncResult        *res,
113     GError             **error);
114 Hwmon *hwmon_proxy_new_for_bus_sync (
115     GBusType             bus_type,
116     GDBusProxyFlags      flags,
117     const gchar         *name,
118     const gchar         *object_path,
119     GCancellable        *cancellable,
120     GError             **error);
121 
122 
123 /* ---- */
124 
125 #define TYPE_HWMON_SKELETON (hwmon_skeleton_get_type ())
126 #define HWMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HWMON_SKELETON, HwmonSkeleton))
127 #define HWMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HWMON_SKELETON, HwmonSkeletonClass))
128 #define HWMON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HWMON_SKELETON, HwmonSkeletonClass))
129 #define IS_HWMON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HWMON_SKELETON))
130 #define IS_HWMON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HWMON_SKELETON))
131 
132 typedef struct _HwmonSkeleton HwmonSkeleton;
133 typedef struct _HwmonSkeletonClass HwmonSkeletonClass;
134 typedef struct _HwmonSkeletonPrivate HwmonSkeletonPrivate;
135 
136 struct _HwmonSkeleton
137 {
138   /*< private >*/
139   GDBusInterfaceSkeleton parent_instance;
140   HwmonSkeletonPrivate *priv;
141 };
142 
143 struct _HwmonSkeletonClass
144 {
145   GDBusInterfaceSkeletonClass parent_class;
146 };
147 
148 GType hwmon_skeleton_get_type (void) G_GNUC_CONST;
149 
150 Hwmon *hwmon_skeleton_new (void);
151 
152 
153 /* ------------------------------------------------------------------------ */
154 /* Declarations for org.openbmc.Fan */
155 
156 #define TYPE_FAN (fan_get_type ())
157 #define FAN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN, Fan))
158 #define IS_FAN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN))
159 #define FAN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FAN, FanIface))
160 
161 struct _Fan;
162 typedef struct _Fan Fan;
163 typedef struct _FanIface FanIface;
164 
165 struct _FanIface
166 {
167   GTypeInterface parent_iface;
168 
169 
170 
171   gboolean (*handle_get_speed) (
172     Fan *object,
173     GDBusMethodInvocation *invocation);
174 
175   gboolean (*handle_set_cooling_zone) (
176     Fan *object,
177     GDBusMethodInvocation *invocation,
178     gint arg_cooling_zone);
179 
180   gboolean (*handle_set_speed) (
181     Fan *object,
182     GDBusMethodInvocation *invocation,
183     gint arg_speed);
184 
185   gint  (*get_cooling_zone) (Fan *object);
186 
187   gint  (*get_pwm_num) (Fan *object);
188 
189   gint  (*get_speed) (Fan *object);
190 
191   void (*speed_changed) (
192     Fan *object,
193     gint arg_speed);
194 
195   void (*tach_error) (
196     Fan *object);
197 
198 };
199 
200 GType fan_get_type (void) G_GNUC_CONST;
201 
202 GDBusInterfaceInfo *fan_interface_info (void);
203 guint fan_override_properties (GObjectClass *klass, guint property_id_begin);
204 
205 
206 /* D-Bus method call completion functions: */
207 void fan_complete_set_cooling_zone (
208     Fan *object,
209     GDBusMethodInvocation *invocation);
210 
211 void fan_complete_get_speed (
212     Fan *object,
213     GDBusMethodInvocation *invocation,
214     gint speed);
215 
216 void fan_complete_set_speed (
217     Fan *object,
218     GDBusMethodInvocation *invocation);
219 
220 
221 
222 /* D-Bus signal emissions functions: */
223 void fan_emit_speed_changed (
224     Fan *object,
225     gint arg_speed);
226 
227 void fan_emit_tach_error (
228     Fan *object);
229 
230 
231 
232 /* D-Bus method calls: */
233 void fan_call_set_cooling_zone (
234     Fan *proxy,
235     gint arg_cooling_zone,
236     GCancellable *cancellable,
237     GAsyncReadyCallback callback,
238     gpointer user_data);
239 
240 gboolean fan_call_set_cooling_zone_finish (
241     Fan *proxy,
242     GAsyncResult *res,
243     GError **error);
244 
245 gboolean fan_call_set_cooling_zone_sync (
246     Fan *proxy,
247     gint arg_cooling_zone,
248     GCancellable *cancellable,
249     GError **error);
250 
251 void fan_call_get_speed (
252     Fan *proxy,
253     GCancellable *cancellable,
254     GAsyncReadyCallback callback,
255     gpointer user_data);
256 
257 gboolean fan_call_get_speed_finish (
258     Fan *proxy,
259     gint *out_speed,
260     GAsyncResult *res,
261     GError **error);
262 
263 gboolean fan_call_get_speed_sync (
264     Fan *proxy,
265     gint *out_speed,
266     GCancellable *cancellable,
267     GError **error);
268 
269 void fan_call_set_speed (
270     Fan *proxy,
271     gint arg_speed,
272     GCancellable *cancellable,
273     GAsyncReadyCallback callback,
274     gpointer user_data);
275 
276 gboolean fan_call_set_speed_finish (
277     Fan *proxy,
278     GAsyncResult *res,
279     GError **error);
280 
281 gboolean fan_call_set_speed_sync (
282     Fan *proxy,
283     gint arg_speed,
284     GCancellable *cancellable,
285     GError **error);
286 
287 
288 
289 /* D-Bus property accessors: */
290 gint fan_get_speed (Fan *object);
291 void fan_set_speed (Fan *object, gint value);
292 
293 gint fan_get_cooling_zone (Fan *object);
294 void fan_set_cooling_zone (Fan *object, gint value);
295 
296 gint fan_get_pwm_num (Fan *object);
297 void fan_set_pwm_num (Fan *object, gint value);
298 
299 
300 /* ---- */
301 
302 #define TYPE_FAN_PROXY (fan_proxy_get_type ())
303 #define FAN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN_PROXY, FanProxy))
304 #define FAN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FAN_PROXY, FanProxyClass))
305 #define FAN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FAN_PROXY, FanProxyClass))
306 #define IS_FAN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN_PROXY))
307 #define IS_FAN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FAN_PROXY))
308 
309 typedef struct _FanProxy FanProxy;
310 typedef struct _FanProxyClass FanProxyClass;
311 typedef struct _FanProxyPrivate FanProxyPrivate;
312 
313 struct _FanProxy
314 {
315   /*< private >*/
316   GDBusProxy parent_instance;
317   FanProxyPrivate *priv;
318 };
319 
320 struct _FanProxyClass
321 {
322   GDBusProxyClass parent_class;
323 };
324 
325 GType fan_proxy_get_type (void) G_GNUC_CONST;
326 
327 void fan_proxy_new (
328     GDBusConnection     *connection,
329     GDBusProxyFlags      flags,
330     const gchar         *name,
331     const gchar         *object_path,
332     GCancellable        *cancellable,
333     GAsyncReadyCallback  callback,
334     gpointer             user_data);
335 Fan *fan_proxy_new_finish (
336     GAsyncResult        *res,
337     GError             **error);
338 Fan *fan_proxy_new_sync (
339     GDBusConnection     *connection,
340     GDBusProxyFlags      flags,
341     const gchar         *name,
342     const gchar         *object_path,
343     GCancellable        *cancellable,
344     GError             **error);
345 
346 void fan_proxy_new_for_bus (
347     GBusType             bus_type,
348     GDBusProxyFlags      flags,
349     const gchar         *name,
350     const gchar         *object_path,
351     GCancellable        *cancellable,
352     GAsyncReadyCallback  callback,
353     gpointer             user_data);
354 Fan *fan_proxy_new_for_bus_finish (
355     GAsyncResult        *res,
356     GError             **error);
357 Fan *fan_proxy_new_for_bus_sync (
358     GBusType             bus_type,
359     GDBusProxyFlags      flags,
360     const gchar         *name,
361     const gchar         *object_path,
362     GCancellable        *cancellable,
363     GError             **error);
364 
365 
366 /* ---- */
367 
368 #define TYPE_FAN_SKELETON (fan_skeleton_get_type ())
369 #define FAN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN_SKELETON, FanSkeleton))
370 #define FAN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FAN_SKELETON, FanSkeletonClass))
371 #define FAN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FAN_SKELETON, FanSkeletonClass))
372 #define IS_FAN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN_SKELETON))
373 #define IS_FAN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FAN_SKELETON))
374 
375 typedef struct _FanSkeleton FanSkeleton;
376 typedef struct _FanSkeletonClass FanSkeletonClass;
377 typedef struct _FanSkeletonPrivate FanSkeletonPrivate;
378 
379 struct _FanSkeleton
380 {
381   /*< private >*/
382   GDBusInterfaceSkeleton parent_instance;
383   FanSkeletonPrivate *priv;
384 };
385 
386 struct _FanSkeletonClass
387 {
388   GDBusInterfaceSkeletonClass parent_class;
389 };
390 
391 GType fan_skeleton_get_type (void) G_GNUC_CONST;
392 
393 Fan *fan_skeleton_new (void);
394 
395 
396 /* ------------------------------------------------------------------------ */
397 /* Declarations for org.openbmc.SensorValue */
398 
399 #define TYPE_SENSOR_VALUE (sensor_value_get_type ())
400 #define SENSOR_VALUE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE, SensorValue))
401 #define IS_SENSOR_VALUE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE))
402 #define SENSOR_VALUE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_VALUE, SensorValueIface))
403 
404 struct _SensorValue;
405 typedef struct _SensorValue SensorValue;
406 typedef struct _SensorValueIface SensorValueIface;
407 
408 struct _SensorValueIface
409 {
410   GTypeInterface parent_iface;
411 
412 
413 
414   gboolean (*handle_get_value) (
415     SensorValue *object,
416     GDBusMethodInvocation *invocation);
417 
418   gboolean (*handle_init) (
419     SensorValue *object,
420     GDBusMethodInvocation *invocation);
421 
422   gboolean (*handle_set_value) (
423     SensorValue *object,
424     GDBusMethodInvocation *invocation,
425     GVariant *arg_value);
426 
427   gint  (*get_heatbeat) (SensorValue *object);
428 
429   gint  (*get_poll_interval) (SensorValue *object);
430 
431   gboolean  (*get_settable) (SensorValue *object);
432 
433   const gchar * (*get_units) (SensorValue *object);
434 
435   GVariant * (*get_value) (SensorValue *object);
436 
437   void (*changed) (
438     SensorValue *object,
439     GVariant *arg_value,
440     const gchar *arg_units);
441 
442   void (*error) (
443     SensorValue *object);
444 
445   void (*heartbeat) (
446     SensorValue *object,
447     const gchar *arg_bus_name);
448 
449 };
450 
451 GType sensor_value_get_type (void) G_GNUC_CONST;
452 
453 GDBusInterfaceInfo *sensor_value_interface_info (void);
454 guint sensor_value_override_properties (GObjectClass *klass, guint property_id_begin);
455 
456 
457 /* D-Bus method call completion functions: */
458 void sensor_value_complete_init (
459     SensorValue *object,
460     GDBusMethodInvocation *invocation);
461 
462 void sensor_value_complete_get_value (
463     SensorValue *object,
464     GDBusMethodInvocation *invocation,
465     GVariant *value);
466 
467 void sensor_value_complete_set_value (
468     SensorValue *object,
469     GDBusMethodInvocation *invocation);
470 
471 
472 
473 /* D-Bus signal emissions functions: */
474 void sensor_value_emit_changed (
475     SensorValue *object,
476     GVariant *arg_value,
477     const gchar *arg_units);
478 
479 void sensor_value_emit_error (
480     SensorValue *object);
481 
482 void sensor_value_emit_heartbeat (
483     SensorValue *object,
484     const gchar *arg_bus_name);
485 
486 
487 
488 /* D-Bus method calls: */
489 void sensor_value_call_init (
490     SensorValue *proxy,
491     GCancellable *cancellable,
492     GAsyncReadyCallback callback,
493     gpointer user_data);
494 
495 gboolean sensor_value_call_init_finish (
496     SensorValue *proxy,
497     GAsyncResult *res,
498     GError **error);
499 
500 gboolean sensor_value_call_init_sync (
501     SensorValue *proxy,
502     GCancellable *cancellable,
503     GError **error);
504 
505 void sensor_value_call_get_value (
506     SensorValue *proxy,
507     GCancellable *cancellable,
508     GAsyncReadyCallback callback,
509     gpointer user_data);
510 
511 gboolean sensor_value_call_get_value_finish (
512     SensorValue *proxy,
513     GVariant **out_value,
514     GAsyncResult *res,
515     GError **error);
516 
517 gboolean sensor_value_call_get_value_sync (
518     SensorValue *proxy,
519     GVariant **out_value,
520     GCancellable *cancellable,
521     GError **error);
522 
523 void sensor_value_call_set_value (
524     SensorValue *proxy,
525     GVariant *arg_value,
526     GCancellable *cancellable,
527     GAsyncReadyCallback callback,
528     gpointer user_data);
529 
530 gboolean sensor_value_call_set_value_finish (
531     SensorValue *proxy,
532     GAsyncResult *res,
533     GError **error);
534 
535 gboolean sensor_value_call_set_value_sync (
536     SensorValue *proxy,
537     GVariant *arg_value,
538     GCancellable *cancellable,
539     GError **error);
540 
541 
542 
543 /* D-Bus property accessors: */
544 GVariant *sensor_value_get_value (SensorValue *object);
545 GVariant *sensor_value_dup_value (SensorValue *object);
546 void sensor_value_set_value (SensorValue *object, GVariant *value);
547 
548 const gchar *sensor_value_get_units (SensorValue *object);
549 gchar *sensor_value_dup_units (SensorValue *object);
550 void sensor_value_set_units (SensorValue *object, const gchar *value);
551 
552 gint sensor_value_get_poll_interval (SensorValue *object);
553 void sensor_value_set_poll_interval (SensorValue *object, gint value);
554 
555 gint sensor_value_get_heatbeat (SensorValue *object);
556 void sensor_value_set_heatbeat (SensorValue *object, gint value);
557 
558 gboolean sensor_value_get_settable (SensorValue *object);
559 void sensor_value_set_settable (SensorValue *object, gboolean value);
560 
561 
562 /* ---- */
563 
564 #define TYPE_SENSOR_VALUE_PROXY (sensor_value_proxy_get_type ())
565 #define SENSOR_VALUE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE_PROXY, SensorValueProxy))
566 #define SENSOR_VALUE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_VALUE_PROXY, SensorValueProxyClass))
567 #define SENSOR_VALUE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_VALUE_PROXY, SensorValueProxyClass))
568 #define IS_SENSOR_VALUE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE_PROXY))
569 #define IS_SENSOR_VALUE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_VALUE_PROXY))
570 
571 typedef struct _SensorValueProxy SensorValueProxy;
572 typedef struct _SensorValueProxyClass SensorValueProxyClass;
573 typedef struct _SensorValueProxyPrivate SensorValueProxyPrivate;
574 
575 struct _SensorValueProxy
576 {
577   /*< private >*/
578   GDBusProxy parent_instance;
579   SensorValueProxyPrivate *priv;
580 };
581 
582 struct _SensorValueProxyClass
583 {
584   GDBusProxyClass parent_class;
585 };
586 
587 GType sensor_value_proxy_get_type (void) G_GNUC_CONST;
588 
589 void sensor_value_proxy_new (
590     GDBusConnection     *connection,
591     GDBusProxyFlags      flags,
592     const gchar         *name,
593     const gchar         *object_path,
594     GCancellable        *cancellable,
595     GAsyncReadyCallback  callback,
596     gpointer             user_data);
597 SensorValue *sensor_value_proxy_new_finish (
598     GAsyncResult        *res,
599     GError             **error);
600 SensorValue *sensor_value_proxy_new_sync (
601     GDBusConnection     *connection,
602     GDBusProxyFlags      flags,
603     const gchar         *name,
604     const gchar         *object_path,
605     GCancellable        *cancellable,
606     GError             **error);
607 
608 void sensor_value_proxy_new_for_bus (
609     GBusType             bus_type,
610     GDBusProxyFlags      flags,
611     const gchar         *name,
612     const gchar         *object_path,
613     GCancellable        *cancellable,
614     GAsyncReadyCallback  callback,
615     gpointer             user_data);
616 SensorValue *sensor_value_proxy_new_for_bus_finish (
617     GAsyncResult        *res,
618     GError             **error);
619 SensorValue *sensor_value_proxy_new_for_bus_sync (
620     GBusType             bus_type,
621     GDBusProxyFlags      flags,
622     const gchar         *name,
623     const gchar         *object_path,
624     GCancellable        *cancellable,
625     GError             **error);
626 
627 
628 /* ---- */
629 
630 #define TYPE_SENSOR_VALUE_SKELETON (sensor_value_skeleton_get_type ())
631 #define SENSOR_VALUE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeleton))
632 #define SENSOR_VALUE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeletonClass))
633 #define SENSOR_VALUE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeletonClass))
634 #define IS_SENSOR_VALUE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE_SKELETON))
635 #define IS_SENSOR_VALUE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_VALUE_SKELETON))
636 
637 typedef struct _SensorValueSkeleton SensorValueSkeleton;
638 typedef struct _SensorValueSkeletonClass SensorValueSkeletonClass;
639 typedef struct _SensorValueSkeletonPrivate SensorValueSkeletonPrivate;
640 
641 struct _SensorValueSkeleton
642 {
643   /*< private >*/
644   GDBusInterfaceSkeleton parent_instance;
645   SensorValueSkeletonPrivate *priv;
646 };
647 
648 struct _SensorValueSkeletonClass
649 {
650   GDBusInterfaceSkeletonClass parent_class;
651 };
652 
653 GType sensor_value_skeleton_get_type (void) G_GNUC_CONST;
654 
655 SensorValue *sensor_value_skeleton_new (void);
656 
657 
658 /* ------------------------------------------------------------------------ */
659 /* Declarations for org.openbmc.SensorThreshold */
660 
661 #define TYPE_SENSOR_THRESHOLD (sensor_threshold_get_type ())
662 #define SENSOR_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD, SensorThreshold))
663 #define IS_SENSOR_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD))
664 #define SENSOR_THRESHOLD_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_THRESHOLD, SensorThresholdIface))
665 
666 struct _SensorThreshold;
667 typedef struct _SensorThreshold SensorThreshold;
668 typedef struct _SensorThresholdIface SensorThresholdIface;
669 
670 struct _SensorThresholdIface
671 {
672   GTypeInterface parent_iface;
673 
674 
675 
676   gboolean (*handle_get_state) (
677     SensorThreshold *object,
678     GDBusMethodInvocation *invocation);
679 
680   GVariant * (*get_lower_critical) (SensorThreshold *object);
681 
682   GVariant * (*get_lower_warning) (SensorThreshold *object);
683 
684   guchar  (*get_state) (SensorThreshold *object);
685 
686   GVariant * (*get_upper_critical) (SensorThreshold *object);
687 
688   GVariant * (*get_upper_warning) (SensorThreshold *object);
689 
690   void (*critical) (
691     SensorThreshold *object);
692 
693   void (*normal) (
694     SensorThreshold *object);
695 
696   void (*warning) (
697     SensorThreshold *object);
698 
699 };
700 
701 GType sensor_threshold_get_type (void) G_GNUC_CONST;
702 
703 GDBusInterfaceInfo *sensor_threshold_interface_info (void);
704 guint sensor_threshold_override_properties (GObjectClass *klass, guint property_id_begin);
705 
706 
707 /* D-Bus method call completion functions: */
708 void sensor_threshold_complete_get_state (
709     SensorThreshold *object,
710     GDBusMethodInvocation *invocation,
711     guchar state);
712 
713 
714 
715 /* D-Bus signal emissions functions: */
716 void sensor_threshold_emit_warning (
717     SensorThreshold *object);
718 
719 void sensor_threshold_emit_critical (
720     SensorThreshold *object);
721 
722 void sensor_threshold_emit_normal (
723     SensorThreshold *object);
724 
725 
726 
727 /* D-Bus method calls: */
728 void sensor_threshold_call_get_state (
729     SensorThreshold *proxy,
730     GCancellable *cancellable,
731     GAsyncReadyCallback callback,
732     gpointer user_data);
733 
734 gboolean sensor_threshold_call_get_state_finish (
735     SensorThreshold *proxy,
736     guchar *out_state,
737     GAsyncResult *res,
738     GError **error);
739 
740 gboolean sensor_threshold_call_get_state_sync (
741     SensorThreshold *proxy,
742     guchar *out_state,
743     GCancellable *cancellable,
744     GError **error);
745 
746 
747 
748 /* D-Bus property accessors: */
749 GVariant *sensor_threshold_get_lower_critical (SensorThreshold *object);
750 GVariant *sensor_threshold_dup_lower_critical (SensorThreshold *object);
751 void sensor_threshold_set_lower_critical (SensorThreshold *object, GVariant *value);
752 
753 GVariant *sensor_threshold_get_lower_warning (SensorThreshold *object);
754 GVariant *sensor_threshold_dup_lower_warning (SensorThreshold *object);
755 void sensor_threshold_set_lower_warning (SensorThreshold *object, GVariant *value);
756 
757 GVariant *sensor_threshold_get_upper_warning (SensorThreshold *object);
758 GVariant *sensor_threshold_dup_upper_warning (SensorThreshold *object);
759 void sensor_threshold_set_upper_warning (SensorThreshold *object, GVariant *value);
760 
761 GVariant *sensor_threshold_get_upper_critical (SensorThreshold *object);
762 GVariant *sensor_threshold_dup_upper_critical (SensorThreshold *object);
763 void sensor_threshold_set_upper_critical (SensorThreshold *object, GVariant *value);
764 
765 guchar sensor_threshold_get_state (SensorThreshold *object);
766 void sensor_threshold_set_state (SensorThreshold *object, guchar value);
767 
768 
769 /* ---- */
770 
771 #define TYPE_SENSOR_THRESHOLD_PROXY (sensor_threshold_proxy_get_type ())
772 #define SENSOR_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxy))
773 #define SENSOR_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxyClass))
774 #define SENSOR_THRESHOLD_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxyClass))
775 #define IS_SENSOR_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD_PROXY))
776 #define IS_SENSOR_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_THRESHOLD_PROXY))
777 
778 typedef struct _SensorThresholdProxy SensorThresholdProxy;
779 typedef struct _SensorThresholdProxyClass SensorThresholdProxyClass;
780 typedef struct _SensorThresholdProxyPrivate SensorThresholdProxyPrivate;
781 
782 struct _SensorThresholdProxy
783 {
784   /*< private >*/
785   GDBusProxy parent_instance;
786   SensorThresholdProxyPrivate *priv;
787 };
788 
789 struct _SensorThresholdProxyClass
790 {
791   GDBusProxyClass parent_class;
792 };
793 
794 GType sensor_threshold_proxy_get_type (void) G_GNUC_CONST;
795 
796 void sensor_threshold_proxy_new (
797     GDBusConnection     *connection,
798     GDBusProxyFlags      flags,
799     const gchar         *name,
800     const gchar         *object_path,
801     GCancellable        *cancellable,
802     GAsyncReadyCallback  callback,
803     gpointer             user_data);
804 SensorThreshold *sensor_threshold_proxy_new_finish (
805     GAsyncResult        *res,
806     GError             **error);
807 SensorThreshold *sensor_threshold_proxy_new_sync (
808     GDBusConnection     *connection,
809     GDBusProxyFlags      flags,
810     const gchar         *name,
811     const gchar         *object_path,
812     GCancellable        *cancellable,
813     GError             **error);
814 
815 void sensor_threshold_proxy_new_for_bus (
816     GBusType             bus_type,
817     GDBusProxyFlags      flags,
818     const gchar         *name,
819     const gchar         *object_path,
820     GCancellable        *cancellable,
821     GAsyncReadyCallback  callback,
822     gpointer             user_data);
823 SensorThreshold *sensor_threshold_proxy_new_for_bus_finish (
824     GAsyncResult        *res,
825     GError             **error);
826 SensorThreshold *sensor_threshold_proxy_new_for_bus_sync (
827     GBusType             bus_type,
828     GDBusProxyFlags      flags,
829     const gchar         *name,
830     const gchar         *object_path,
831     GCancellable        *cancellable,
832     GError             **error);
833 
834 
835 /* ---- */
836 
837 #define TYPE_SENSOR_THRESHOLD_SKELETON (sensor_threshold_skeleton_get_type ())
838 #define SENSOR_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeleton))
839 #define SENSOR_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeletonClass))
840 #define SENSOR_THRESHOLD_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeletonClass))
841 #define IS_SENSOR_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD_SKELETON))
842 #define IS_SENSOR_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_THRESHOLD_SKELETON))
843 
844 typedef struct _SensorThresholdSkeleton SensorThresholdSkeleton;
845 typedef struct _SensorThresholdSkeletonClass SensorThresholdSkeletonClass;
846 typedef struct _SensorThresholdSkeletonPrivate SensorThresholdSkeletonPrivate;
847 
848 struct _SensorThresholdSkeleton
849 {
850   /*< private >*/
851   GDBusInterfaceSkeleton parent_instance;
852   SensorThresholdSkeletonPrivate *priv;
853 };
854 
855 struct _SensorThresholdSkeletonClass
856 {
857   GDBusInterfaceSkeletonClass parent_class;
858 };
859 
860 GType sensor_threshold_skeleton_get_type (void) G_GNUC_CONST;
861 
862 SensorThreshold *sensor_threshold_skeleton_new (void);
863 
864 
865 /* ------------------------------------------------------------------------ */
866 /* Declarations for org.openbmc.SensorI2c */
867 
868 #define TYPE_SENSOR_I2C (sensor_i2c_get_type ())
869 #define SENSOR_I2C(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C, SensorI2c))
870 #define IS_SENSOR_I2C(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C))
871 #define SENSOR_I2C_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_I2C, SensorI2cIface))
872 
873 struct _SensorI2c;
874 typedef struct _SensorI2c SensorI2c;
875 typedef struct _SensorI2cIface SensorI2cIface;
876 
877 struct _SensorI2cIface
878 {
879   GTypeInterface parent_iface;
880 
881   const gchar * (*get_address) (SensorI2c *object);
882 
883   const gchar * (*get_dev_path) (SensorI2c *object);
884 
885 };
886 
887 GType sensor_i2c_get_type (void) G_GNUC_CONST;
888 
889 GDBusInterfaceInfo *sensor_i2c_interface_info (void);
890 guint sensor_i2c_override_properties (GObjectClass *klass, guint property_id_begin);
891 
892 
893 /* D-Bus property accessors: */
894 const gchar *sensor_i2c_get_dev_path (SensorI2c *object);
895 gchar *sensor_i2c_dup_dev_path (SensorI2c *object);
896 void sensor_i2c_set_dev_path (SensorI2c *object, const gchar *value);
897 
898 const gchar *sensor_i2c_get_address (SensorI2c *object);
899 gchar *sensor_i2c_dup_address (SensorI2c *object);
900 void sensor_i2c_set_address (SensorI2c *object, const gchar *value);
901 
902 
903 /* ---- */
904 
905 #define TYPE_SENSOR_I2C_PROXY (sensor_i2c_proxy_get_type ())
906 #define SENSOR_I2C_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C_PROXY, SensorI2cProxy))
907 #define SENSOR_I2C_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_I2C_PROXY, SensorI2cProxyClass))
908 #define SENSOR_I2C_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_I2C_PROXY, SensorI2cProxyClass))
909 #define IS_SENSOR_I2C_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C_PROXY))
910 #define IS_SENSOR_I2C_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_I2C_PROXY))
911 
912 typedef struct _SensorI2cProxy SensorI2cProxy;
913 typedef struct _SensorI2cProxyClass SensorI2cProxyClass;
914 typedef struct _SensorI2cProxyPrivate SensorI2cProxyPrivate;
915 
916 struct _SensorI2cProxy
917 {
918   /*< private >*/
919   GDBusProxy parent_instance;
920   SensorI2cProxyPrivate *priv;
921 };
922 
923 struct _SensorI2cProxyClass
924 {
925   GDBusProxyClass parent_class;
926 };
927 
928 GType sensor_i2c_proxy_get_type (void) G_GNUC_CONST;
929 
930 void sensor_i2c_proxy_new (
931     GDBusConnection     *connection,
932     GDBusProxyFlags      flags,
933     const gchar         *name,
934     const gchar         *object_path,
935     GCancellable        *cancellable,
936     GAsyncReadyCallback  callback,
937     gpointer             user_data);
938 SensorI2c *sensor_i2c_proxy_new_finish (
939     GAsyncResult        *res,
940     GError             **error);
941 SensorI2c *sensor_i2c_proxy_new_sync (
942     GDBusConnection     *connection,
943     GDBusProxyFlags      flags,
944     const gchar         *name,
945     const gchar         *object_path,
946     GCancellable        *cancellable,
947     GError             **error);
948 
949 void sensor_i2c_proxy_new_for_bus (
950     GBusType             bus_type,
951     GDBusProxyFlags      flags,
952     const gchar         *name,
953     const gchar         *object_path,
954     GCancellable        *cancellable,
955     GAsyncReadyCallback  callback,
956     gpointer             user_data);
957 SensorI2c *sensor_i2c_proxy_new_for_bus_finish (
958     GAsyncResult        *res,
959     GError             **error);
960 SensorI2c *sensor_i2c_proxy_new_for_bus_sync (
961     GBusType             bus_type,
962     GDBusProxyFlags      flags,
963     const gchar         *name,
964     const gchar         *object_path,
965     GCancellable        *cancellable,
966     GError             **error);
967 
968 
969 /* ---- */
970 
971 #define TYPE_SENSOR_I2C_SKELETON (sensor_i2c_skeleton_get_type ())
972 #define SENSOR_I2C_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeleton))
973 #define SENSOR_I2C_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeletonClass))
974 #define SENSOR_I2C_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeletonClass))
975 #define IS_SENSOR_I2C_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C_SKELETON))
976 #define IS_SENSOR_I2C_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_I2C_SKELETON))
977 
978 typedef struct _SensorI2cSkeleton SensorI2cSkeleton;
979 typedef struct _SensorI2cSkeletonClass SensorI2cSkeletonClass;
980 typedef struct _SensorI2cSkeletonPrivate SensorI2cSkeletonPrivate;
981 
982 struct _SensorI2cSkeleton
983 {
984   /*< private >*/
985   GDBusInterfaceSkeleton parent_instance;
986   SensorI2cSkeletonPrivate *priv;
987 };
988 
989 struct _SensorI2cSkeletonClass
990 {
991   GDBusInterfaceSkeletonClass parent_class;
992 };
993 
994 GType sensor_i2c_skeleton_get_type (void) G_GNUC_CONST;
995 
996 SensorI2c *sensor_i2c_skeleton_new (void);
997 
998 
999 /* ------------------------------------------------------------------------ */
1000 /* Declarations for org.openbmc.SensorMatch */
1001 
1002 #define TYPE_SENSOR_MATCH (sensor_match_get_type ())
1003 #define SENSOR_MATCH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH, SensorMatch))
1004 #define IS_SENSOR_MATCH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH))
1005 #define SENSOR_MATCH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_MATCH, SensorMatchIface))
1006 
1007 struct _SensorMatch;
1008 typedef struct _SensorMatch SensorMatch;
1009 typedef struct _SensorMatchIface SensorMatchIface;
1010 
1011 struct _SensorMatchIface
1012 {
1013   GTypeInterface parent_iface;
1014 
1015 
1016   GVariant * (*get_match_value) (SensorMatch *object);
1017 
1018   guchar  (*get_state) (SensorMatch *object);
1019 
1020   void (*sensor_match) (
1021     SensorMatch *object,
1022     guchar arg_state);
1023 
1024 };
1025 
1026 GType sensor_match_get_type (void) G_GNUC_CONST;
1027 
1028 GDBusInterfaceInfo *sensor_match_interface_info (void);
1029 guint sensor_match_override_properties (GObjectClass *klass, guint property_id_begin);
1030 
1031 
1032 /* D-Bus signal emissions functions: */
1033 void sensor_match_emit_sensor_match (
1034     SensorMatch *object,
1035     guchar arg_state);
1036 
1037 
1038 
1039 /* D-Bus property accessors: */
1040 GVariant *sensor_match_get_match_value (SensorMatch *object);
1041 GVariant *sensor_match_dup_match_value (SensorMatch *object);
1042 void sensor_match_set_match_value (SensorMatch *object, GVariant *value);
1043 
1044 guchar sensor_match_get_state (SensorMatch *object);
1045 void sensor_match_set_state (SensorMatch *object, guchar value);
1046 
1047 
1048 /* ---- */
1049 
1050 #define TYPE_SENSOR_MATCH_PROXY (sensor_match_proxy_get_type ())
1051 #define SENSOR_MATCH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxy))
1052 #define SENSOR_MATCH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxyClass))
1053 #define SENSOR_MATCH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxyClass))
1054 #define IS_SENSOR_MATCH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH_PROXY))
1055 #define IS_SENSOR_MATCH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_MATCH_PROXY))
1056 
1057 typedef struct _SensorMatchProxy SensorMatchProxy;
1058 typedef struct _SensorMatchProxyClass SensorMatchProxyClass;
1059 typedef struct _SensorMatchProxyPrivate SensorMatchProxyPrivate;
1060 
1061 struct _SensorMatchProxy
1062 {
1063   /*< private >*/
1064   GDBusProxy parent_instance;
1065   SensorMatchProxyPrivate *priv;
1066 };
1067 
1068 struct _SensorMatchProxyClass
1069 {
1070   GDBusProxyClass parent_class;
1071 };
1072 
1073 GType sensor_match_proxy_get_type (void) G_GNUC_CONST;
1074 
1075 void sensor_match_proxy_new (
1076     GDBusConnection     *connection,
1077     GDBusProxyFlags      flags,
1078     const gchar         *name,
1079     const gchar         *object_path,
1080     GCancellable        *cancellable,
1081     GAsyncReadyCallback  callback,
1082     gpointer             user_data);
1083 SensorMatch *sensor_match_proxy_new_finish (
1084     GAsyncResult        *res,
1085     GError             **error);
1086 SensorMatch *sensor_match_proxy_new_sync (
1087     GDBusConnection     *connection,
1088     GDBusProxyFlags      flags,
1089     const gchar         *name,
1090     const gchar         *object_path,
1091     GCancellable        *cancellable,
1092     GError             **error);
1093 
1094 void sensor_match_proxy_new_for_bus (
1095     GBusType             bus_type,
1096     GDBusProxyFlags      flags,
1097     const gchar         *name,
1098     const gchar         *object_path,
1099     GCancellable        *cancellable,
1100     GAsyncReadyCallback  callback,
1101     gpointer             user_data);
1102 SensorMatch *sensor_match_proxy_new_for_bus_finish (
1103     GAsyncResult        *res,
1104     GError             **error);
1105 SensorMatch *sensor_match_proxy_new_for_bus_sync (
1106     GBusType             bus_type,
1107     GDBusProxyFlags      flags,
1108     const gchar         *name,
1109     const gchar         *object_path,
1110     GCancellable        *cancellable,
1111     GError             **error);
1112 
1113 
1114 /* ---- */
1115 
1116 #define TYPE_SENSOR_MATCH_SKELETON (sensor_match_skeleton_get_type ())
1117 #define SENSOR_MATCH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeleton))
1118 #define SENSOR_MATCH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeletonClass))
1119 #define SENSOR_MATCH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeletonClass))
1120 #define IS_SENSOR_MATCH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH_SKELETON))
1121 #define IS_SENSOR_MATCH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_MATCH_SKELETON))
1122 
1123 typedef struct _SensorMatchSkeleton SensorMatchSkeleton;
1124 typedef struct _SensorMatchSkeletonClass SensorMatchSkeletonClass;
1125 typedef struct _SensorMatchSkeletonPrivate SensorMatchSkeletonPrivate;
1126 
1127 struct _SensorMatchSkeleton
1128 {
1129   /*< private >*/
1130   GDBusInterfaceSkeleton parent_instance;
1131   SensorMatchSkeletonPrivate *priv;
1132 };
1133 
1134 struct _SensorMatchSkeletonClass
1135 {
1136   GDBusInterfaceSkeletonClass parent_class;
1137 };
1138 
1139 GType sensor_match_skeleton_get_type (void) G_GNUC_CONST;
1140 
1141 SensorMatch *sensor_match_skeleton_new (void);
1142 
1143 
1144 /* ------------------------------------------------------------------------ */
1145 /* Declarations for org.openbmc.Process */
1146 
1147 #define TYPE_PROCESS (process_get_type ())
1148 #define PROCESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS, Process))
1149 #define IS_PROCESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS))
1150 #define PROCESS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_PROCESS, ProcessIface))
1151 
1152 struct _Process;
1153 typedef struct _Process Process;
1154 typedef struct _ProcessIface ProcessIface;
1155 
1156 struct _ProcessIface
1157 {
1158   GTypeInterface parent_iface;
1159 
1160   gboolean (*handle_stop) (
1161     Process *object,
1162     GDBusMethodInvocation *invocation);
1163 
1164 };
1165 
1166 GType process_get_type (void) G_GNUC_CONST;
1167 
1168 GDBusInterfaceInfo *process_interface_info (void);
1169 guint process_override_properties (GObjectClass *klass, guint property_id_begin);
1170 
1171 
1172 /* D-Bus method call completion functions: */
1173 void process_complete_stop (
1174     Process *object,
1175     GDBusMethodInvocation *invocation);
1176 
1177 
1178 
1179 /* D-Bus method calls: */
1180 void process_call_stop (
1181     Process *proxy,
1182     GCancellable *cancellable,
1183     GAsyncReadyCallback callback,
1184     gpointer user_data);
1185 
1186 gboolean process_call_stop_finish (
1187     Process *proxy,
1188     GAsyncResult *res,
1189     GError **error);
1190 
1191 gboolean process_call_stop_sync (
1192     Process *proxy,
1193     GCancellable *cancellable,
1194     GError **error);
1195 
1196 
1197 
1198 /* ---- */
1199 
1200 #define TYPE_PROCESS_PROXY (process_proxy_get_type ())
1201 #define PROCESS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS_PROXY, ProcessProxy))
1202 #define PROCESS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROCESS_PROXY, ProcessProxyClass))
1203 #define PROCESS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROCESS_PROXY, ProcessProxyClass))
1204 #define IS_PROCESS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS_PROXY))
1205 #define IS_PROCESS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROCESS_PROXY))
1206 
1207 typedef struct _ProcessProxy ProcessProxy;
1208 typedef struct _ProcessProxyClass ProcessProxyClass;
1209 typedef struct _ProcessProxyPrivate ProcessProxyPrivate;
1210 
1211 struct _ProcessProxy
1212 {
1213   /*< private >*/
1214   GDBusProxy parent_instance;
1215   ProcessProxyPrivate *priv;
1216 };
1217 
1218 struct _ProcessProxyClass
1219 {
1220   GDBusProxyClass parent_class;
1221 };
1222 
1223 GType process_proxy_get_type (void) G_GNUC_CONST;
1224 
1225 void process_proxy_new (
1226     GDBusConnection     *connection,
1227     GDBusProxyFlags      flags,
1228     const gchar         *name,
1229     const gchar         *object_path,
1230     GCancellable        *cancellable,
1231     GAsyncReadyCallback  callback,
1232     gpointer             user_data);
1233 Process *process_proxy_new_finish (
1234     GAsyncResult        *res,
1235     GError             **error);
1236 Process *process_proxy_new_sync (
1237     GDBusConnection     *connection,
1238     GDBusProxyFlags      flags,
1239     const gchar         *name,
1240     const gchar         *object_path,
1241     GCancellable        *cancellable,
1242     GError             **error);
1243 
1244 void process_proxy_new_for_bus (
1245     GBusType             bus_type,
1246     GDBusProxyFlags      flags,
1247     const gchar         *name,
1248     const gchar         *object_path,
1249     GCancellable        *cancellable,
1250     GAsyncReadyCallback  callback,
1251     gpointer             user_data);
1252 Process *process_proxy_new_for_bus_finish (
1253     GAsyncResult        *res,
1254     GError             **error);
1255 Process *process_proxy_new_for_bus_sync (
1256     GBusType             bus_type,
1257     GDBusProxyFlags      flags,
1258     const gchar         *name,
1259     const gchar         *object_path,
1260     GCancellable        *cancellable,
1261     GError             **error);
1262 
1263 
1264 /* ---- */
1265 
1266 #define TYPE_PROCESS_SKELETON (process_skeleton_get_type ())
1267 #define PROCESS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS_SKELETON, ProcessSkeleton))
1268 #define PROCESS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROCESS_SKELETON, ProcessSkeletonClass))
1269 #define PROCESS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROCESS_SKELETON, ProcessSkeletonClass))
1270 #define IS_PROCESS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS_SKELETON))
1271 #define IS_PROCESS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROCESS_SKELETON))
1272 
1273 typedef struct _ProcessSkeleton ProcessSkeleton;
1274 typedef struct _ProcessSkeletonClass ProcessSkeletonClass;
1275 typedef struct _ProcessSkeletonPrivate ProcessSkeletonPrivate;
1276 
1277 struct _ProcessSkeleton
1278 {
1279   /*< private >*/
1280   GDBusInterfaceSkeleton parent_instance;
1281   ProcessSkeletonPrivate *priv;
1282 };
1283 
1284 struct _ProcessSkeletonClass
1285 {
1286   GDBusInterfaceSkeletonClass parent_class;
1287 };
1288 
1289 GType process_skeleton_get_type (void) G_GNUC_CONST;
1290 
1291 Process *process_skeleton_new (void);
1292 
1293 
1294 /* ------------------------------------------------------------------------ */
1295 /* Declarations for org.openbmc.SharedResource */
1296 
1297 #define TYPE_SHARED_RESOURCE (shared_resource_get_type ())
1298 #define SHARED_RESOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SHARED_RESOURCE, SharedResource))
1299 #define IS_SHARED_RESOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SHARED_RESOURCE))
1300 #define SHARED_RESOURCE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SHARED_RESOURCE, SharedResourceIface))
1301 
1302 struct _SharedResource;
1303 typedef struct _SharedResource SharedResource;
1304 typedef struct _SharedResourceIface SharedResourceIface;
1305 
1306 struct _SharedResourceIface
1307 {
1308   GTypeInterface parent_iface;
1309 
1310 
1311   gboolean (*handle_is_locked) (
1312     SharedResource *object,
1313     GDBusMethodInvocation *invocation);
1314 
1315   gboolean (*handle_lock) (
1316     SharedResource *object,
1317     GDBusMethodInvocation *invocation,
1318     const gchar *arg_name);
1319 
1320   gboolean (*handle_unlock) (
1321     SharedResource *object,
1322     GDBusMethodInvocation *invocation);
1323 
1324   gboolean  (*get_lock) (SharedResource *object);
1325 
1326   const gchar * (*get_name) (SharedResource *object);
1327 
1328 };
1329 
1330 GType shared_resource_get_type (void) G_GNUC_CONST;
1331 
1332 GDBusInterfaceInfo *shared_resource_interface_info (void);
1333 guint shared_resource_override_properties (GObjectClass *klass, guint property_id_begin);
1334 
1335 
1336 /* D-Bus method call completion functions: */
1337 void shared_resource_complete_lock (
1338     SharedResource *object,
1339     GDBusMethodInvocation *invocation);
1340 
1341 void shared_resource_complete_unlock (
1342     SharedResource *object,
1343     GDBusMethodInvocation *invocation);
1344 
1345 void shared_resource_complete_is_locked (
1346     SharedResource *object,
1347     GDBusMethodInvocation *invocation,
1348     gboolean lock,
1349     const gchar *name);
1350 
1351 
1352 
1353 /* D-Bus method calls: */
1354 void shared_resource_call_lock (
1355     SharedResource *proxy,
1356     const gchar *arg_name,
1357     GCancellable *cancellable,
1358     GAsyncReadyCallback callback,
1359     gpointer user_data);
1360 
1361 gboolean shared_resource_call_lock_finish (
1362     SharedResource *proxy,
1363     GAsyncResult *res,
1364     GError **error);
1365 
1366 gboolean shared_resource_call_lock_sync (
1367     SharedResource *proxy,
1368     const gchar *arg_name,
1369     GCancellable *cancellable,
1370     GError **error);
1371 
1372 void shared_resource_call_unlock (
1373     SharedResource *proxy,
1374     GCancellable *cancellable,
1375     GAsyncReadyCallback callback,
1376     gpointer user_data);
1377 
1378 gboolean shared_resource_call_unlock_finish (
1379     SharedResource *proxy,
1380     GAsyncResult *res,
1381     GError **error);
1382 
1383 gboolean shared_resource_call_unlock_sync (
1384     SharedResource *proxy,
1385     GCancellable *cancellable,
1386     GError **error);
1387 
1388 void shared_resource_call_is_locked (
1389     SharedResource *proxy,
1390     GCancellable *cancellable,
1391     GAsyncReadyCallback callback,
1392     gpointer user_data);
1393 
1394 gboolean shared_resource_call_is_locked_finish (
1395     SharedResource *proxy,
1396     gboolean *out_lock,
1397     gchar **out_name,
1398     GAsyncResult *res,
1399     GError **error);
1400 
1401 gboolean shared_resource_call_is_locked_sync (
1402     SharedResource *proxy,
1403     gboolean *out_lock,
1404     gchar **out_name,
1405     GCancellable *cancellable,
1406     GError **error);
1407 
1408 
1409 
1410 /* D-Bus property accessors: */
1411 gboolean shared_resource_get_lock (SharedResource *object);
1412 void shared_resource_set_lock (SharedResource *object, gboolean value);
1413 
1414 const gchar *shared_resource_get_name (SharedResource *object);
1415 gchar *shared_resource_dup_name (SharedResource *object);
1416 void shared_resource_set_name (SharedResource *object, const gchar *value);
1417 
1418 
1419 /* ---- */
1420 
1421 #define TYPE_SHARED_RESOURCE_PROXY (shared_resource_proxy_get_type ())
1422 #define SHARED_RESOURCE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SHARED_RESOURCE_PROXY, SharedResourceProxy))
1423 #define SHARED_RESOURCE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SHARED_RESOURCE_PROXY, SharedResourceProxyClass))
1424 #define SHARED_RESOURCE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SHARED_RESOURCE_PROXY, SharedResourceProxyClass))
1425 #define IS_SHARED_RESOURCE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SHARED_RESOURCE_PROXY))
1426 #define IS_SHARED_RESOURCE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SHARED_RESOURCE_PROXY))
1427 
1428 typedef struct _SharedResourceProxy SharedResourceProxy;
1429 typedef struct _SharedResourceProxyClass SharedResourceProxyClass;
1430 typedef struct _SharedResourceProxyPrivate SharedResourceProxyPrivate;
1431 
1432 struct _SharedResourceProxy
1433 {
1434   /*< private >*/
1435   GDBusProxy parent_instance;
1436   SharedResourceProxyPrivate *priv;
1437 };
1438 
1439 struct _SharedResourceProxyClass
1440 {
1441   GDBusProxyClass parent_class;
1442 };
1443 
1444 GType shared_resource_proxy_get_type (void) G_GNUC_CONST;
1445 
1446 void shared_resource_proxy_new (
1447     GDBusConnection     *connection,
1448     GDBusProxyFlags      flags,
1449     const gchar         *name,
1450     const gchar         *object_path,
1451     GCancellable        *cancellable,
1452     GAsyncReadyCallback  callback,
1453     gpointer             user_data);
1454 SharedResource *shared_resource_proxy_new_finish (
1455     GAsyncResult        *res,
1456     GError             **error);
1457 SharedResource *shared_resource_proxy_new_sync (
1458     GDBusConnection     *connection,
1459     GDBusProxyFlags      flags,
1460     const gchar         *name,
1461     const gchar         *object_path,
1462     GCancellable        *cancellable,
1463     GError             **error);
1464 
1465 void shared_resource_proxy_new_for_bus (
1466     GBusType             bus_type,
1467     GDBusProxyFlags      flags,
1468     const gchar         *name,
1469     const gchar         *object_path,
1470     GCancellable        *cancellable,
1471     GAsyncReadyCallback  callback,
1472     gpointer             user_data);
1473 SharedResource *shared_resource_proxy_new_for_bus_finish (
1474     GAsyncResult        *res,
1475     GError             **error);
1476 SharedResource *shared_resource_proxy_new_for_bus_sync (
1477     GBusType             bus_type,
1478     GDBusProxyFlags      flags,
1479     const gchar         *name,
1480     const gchar         *object_path,
1481     GCancellable        *cancellable,
1482     GError             **error);
1483 
1484 
1485 /* ---- */
1486 
1487 #define TYPE_SHARED_RESOURCE_SKELETON (shared_resource_skeleton_get_type ())
1488 #define SHARED_RESOURCE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SHARED_RESOURCE_SKELETON, SharedResourceSkeleton))
1489 #define SHARED_RESOURCE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SHARED_RESOURCE_SKELETON, SharedResourceSkeletonClass))
1490 #define SHARED_RESOURCE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SHARED_RESOURCE_SKELETON, SharedResourceSkeletonClass))
1491 #define IS_SHARED_RESOURCE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SHARED_RESOURCE_SKELETON))
1492 #define IS_SHARED_RESOURCE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SHARED_RESOURCE_SKELETON))
1493 
1494 typedef struct _SharedResourceSkeleton SharedResourceSkeleton;
1495 typedef struct _SharedResourceSkeletonClass SharedResourceSkeletonClass;
1496 typedef struct _SharedResourceSkeletonPrivate SharedResourceSkeletonPrivate;
1497 
1498 struct _SharedResourceSkeleton
1499 {
1500   /*< private >*/
1501   GDBusInterfaceSkeleton parent_instance;
1502   SharedResourceSkeletonPrivate *priv;
1503 };
1504 
1505 struct _SharedResourceSkeletonClass
1506 {
1507   GDBusInterfaceSkeletonClass parent_class;
1508 };
1509 
1510 GType shared_resource_skeleton_get_type (void) G_GNUC_CONST;
1511 
1512 SharedResource *shared_resource_skeleton_new (void);
1513 
1514 
1515 /* ------------------------------------------------------------------------ */
1516 /* Declarations for org.openbmc.Control */
1517 
1518 #define TYPE_CONTROL (control_get_type ())
1519 #define CONTROL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL, Control))
1520 #define IS_CONTROL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL))
1521 #define CONTROL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL, ControlIface))
1522 
1523 struct _Control;
1524 typedef struct _Control Control;
1525 typedef struct _ControlIface ControlIface;
1526 
1527 struct _ControlIface
1528 {
1529   GTypeInterface parent_iface;
1530 
1531 
1532 
1533   gboolean (*handle_init) (
1534     Control *object,
1535     GDBusMethodInvocation *invocation);
1536 
1537   gint  (*get_heatbeat) (Control *object);
1538 
1539   gint  (*get_poll_interval) (Control *object);
1540 
1541   void (*goto_system_state) (
1542     Control *object,
1543     const gchar *arg_state_name);
1544 
1545   void (*heartbeat) (
1546     Control *object,
1547     const gchar *arg_bus_name);
1548 
1549   void (*started) (
1550     Control *object);
1551 
1552 };
1553 
1554 GType control_get_type (void) G_GNUC_CONST;
1555 
1556 GDBusInterfaceInfo *control_interface_info (void);
1557 guint control_override_properties (GObjectClass *klass, guint property_id_begin);
1558 
1559 
1560 /* D-Bus method call completion functions: */
1561 void control_complete_init (
1562     Control *object,
1563     GDBusMethodInvocation *invocation);
1564 
1565 
1566 
1567 /* D-Bus signal emissions functions: */
1568 void control_emit_heartbeat (
1569     Control *object,
1570     const gchar *arg_bus_name);
1571 
1572 void control_emit_goto_system_state (
1573     Control *object,
1574     const gchar *arg_state_name);
1575 
1576 void control_emit_started (
1577     Control *object);
1578 
1579 
1580 
1581 /* D-Bus method calls: */
1582 void control_call_init (
1583     Control *proxy,
1584     GCancellable *cancellable,
1585     GAsyncReadyCallback callback,
1586     gpointer user_data);
1587 
1588 gboolean control_call_init_finish (
1589     Control *proxy,
1590     GAsyncResult *res,
1591     GError **error);
1592 
1593 gboolean control_call_init_sync (
1594     Control *proxy,
1595     GCancellable *cancellable,
1596     GError **error);
1597 
1598 
1599 
1600 /* D-Bus property accessors: */
1601 gint control_get_poll_interval (Control *object);
1602 void control_set_poll_interval (Control *object, gint value);
1603 
1604 gint control_get_heatbeat (Control *object);
1605 void control_set_heatbeat (Control *object, gint value);
1606 
1607 
1608 /* ---- */
1609 
1610 #define TYPE_CONTROL_PROXY (control_proxy_get_type ())
1611 #define CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_PROXY, ControlProxy))
1612 #define CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_PROXY, ControlProxyClass))
1613 #define CONTROL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_PROXY, ControlProxyClass))
1614 #define IS_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_PROXY))
1615 #define IS_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_PROXY))
1616 
1617 typedef struct _ControlProxy ControlProxy;
1618 typedef struct _ControlProxyClass ControlProxyClass;
1619 typedef struct _ControlProxyPrivate ControlProxyPrivate;
1620 
1621 struct _ControlProxy
1622 {
1623   /*< private >*/
1624   GDBusProxy parent_instance;
1625   ControlProxyPrivate *priv;
1626 };
1627 
1628 struct _ControlProxyClass
1629 {
1630   GDBusProxyClass parent_class;
1631 };
1632 
1633 GType control_proxy_get_type (void) G_GNUC_CONST;
1634 
1635 void control_proxy_new (
1636     GDBusConnection     *connection,
1637     GDBusProxyFlags      flags,
1638     const gchar         *name,
1639     const gchar         *object_path,
1640     GCancellable        *cancellable,
1641     GAsyncReadyCallback  callback,
1642     gpointer             user_data);
1643 Control *control_proxy_new_finish (
1644     GAsyncResult        *res,
1645     GError             **error);
1646 Control *control_proxy_new_sync (
1647     GDBusConnection     *connection,
1648     GDBusProxyFlags      flags,
1649     const gchar         *name,
1650     const gchar         *object_path,
1651     GCancellable        *cancellable,
1652     GError             **error);
1653 
1654 void control_proxy_new_for_bus (
1655     GBusType             bus_type,
1656     GDBusProxyFlags      flags,
1657     const gchar         *name,
1658     const gchar         *object_path,
1659     GCancellable        *cancellable,
1660     GAsyncReadyCallback  callback,
1661     gpointer             user_data);
1662 Control *control_proxy_new_for_bus_finish (
1663     GAsyncResult        *res,
1664     GError             **error);
1665 Control *control_proxy_new_for_bus_sync (
1666     GBusType             bus_type,
1667     GDBusProxyFlags      flags,
1668     const gchar         *name,
1669     const gchar         *object_path,
1670     GCancellable        *cancellable,
1671     GError             **error);
1672 
1673 
1674 /* ---- */
1675 
1676 #define TYPE_CONTROL_SKELETON (control_skeleton_get_type ())
1677 #define CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_SKELETON, ControlSkeleton))
1678 #define CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_SKELETON, ControlSkeletonClass))
1679 #define CONTROL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_SKELETON, ControlSkeletonClass))
1680 #define IS_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_SKELETON))
1681 #define IS_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_SKELETON))
1682 
1683 typedef struct _ControlSkeleton ControlSkeleton;
1684 typedef struct _ControlSkeletonClass ControlSkeletonClass;
1685 typedef struct _ControlSkeletonPrivate ControlSkeletonPrivate;
1686 
1687 struct _ControlSkeleton
1688 {
1689   /*< private >*/
1690   GDBusInterfaceSkeleton parent_instance;
1691   ControlSkeletonPrivate *priv;
1692 };
1693 
1694 struct _ControlSkeletonClass
1695 {
1696   GDBusInterfaceSkeletonClass parent_class;
1697 };
1698 
1699 GType control_skeleton_get_type (void) G_GNUC_CONST;
1700 
1701 Control *control_skeleton_new (void);
1702 
1703 
1704 /* ------------------------------------------------------------------------ */
1705 /* Declarations for org.openbmc.control.Bmc */
1706 
1707 #define TYPE_CONTROL_BMC (control_bmc_get_type ())
1708 #define CONTROL_BMC(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC, ControlBmc))
1709 #define IS_CONTROL_BMC(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC))
1710 #define CONTROL_BMC_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_BMC, ControlBmcIface))
1711 
1712 struct _ControlBmc;
1713 typedef struct _ControlBmc ControlBmc;
1714 typedef struct _ControlBmcIface ControlBmcIface;
1715 
1716 struct _ControlBmcIface
1717 {
1718   GTypeInterface parent_iface;
1719 
1720   gboolean (*handle_warm_reset) (
1721     ControlBmc *object,
1722     GDBusMethodInvocation *invocation);
1723 
1724 };
1725 
1726 GType control_bmc_get_type (void) G_GNUC_CONST;
1727 
1728 GDBusInterfaceInfo *control_bmc_interface_info (void);
1729 guint control_bmc_override_properties (GObjectClass *klass, guint property_id_begin);
1730 
1731 
1732 /* D-Bus method call completion functions: */
1733 void control_bmc_complete_warm_reset (
1734     ControlBmc *object,
1735     GDBusMethodInvocation *invocation);
1736 
1737 
1738 
1739 /* D-Bus method calls: */
1740 void control_bmc_call_warm_reset (
1741     ControlBmc *proxy,
1742     GCancellable *cancellable,
1743     GAsyncReadyCallback callback,
1744     gpointer user_data);
1745 
1746 gboolean control_bmc_call_warm_reset_finish (
1747     ControlBmc *proxy,
1748     GAsyncResult *res,
1749     GError **error);
1750 
1751 gboolean control_bmc_call_warm_reset_sync (
1752     ControlBmc *proxy,
1753     GCancellable *cancellable,
1754     GError **error);
1755 
1756 
1757 
1758 /* ---- */
1759 
1760 #define TYPE_CONTROL_BMC_PROXY (control_bmc_proxy_get_type ())
1761 #define CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxy))
1762 #define CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass))
1763 #define CONTROL_BMC_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass))
1764 #define IS_CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_PROXY))
1765 #define IS_CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_PROXY))
1766 
1767 typedef struct _ControlBmcProxy ControlBmcProxy;
1768 typedef struct _ControlBmcProxyClass ControlBmcProxyClass;
1769 typedef struct _ControlBmcProxyPrivate ControlBmcProxyPrivate;
1770 
1771 struct _ControlBmcProxy
1772 {
1773   /*< private >*/
1774   GDBusProxy parent_instance;
1775   ControlBmcProxyPrivate *priv;
1776 };
1777 
1778 struct _ControlBmcProxyClass
1779 {
1780   GDBusProxyClass parent_class;
1781 };
1782 
1783 GType control_bmc_proxy_get_type (void) G_GNUC_CONST;
1784 
1785 void control_bmc_proxy_new (
1786     GDBusConnection     *connection,
1787     GDBusProxyFlags      flags,
1788     const gchar         *name,
1789     const gchar         *object_path,
1790     GCancellable        *cancellable,
1791     GAsyncReadyCallback  callback,
1792     gpointer             user_data);
1793 ControlBmc *control_bmc_proxy_new_finish (
1794     GAsyncResult        *res,
1795     GError             **error);
1796 ControlBmc *control_bmc_proxy_new_sync (
1797     GDBusConnection     *connection,
1798     GDBusProxyFlags      flags,
1799     const gchar         *name,
1800     const gchar         *object_path,
1801     GCancellable        *cancellable,
1802     GError             **error);
1803 
1804 void control_bmc_proxy_new_for_bus (
1805     GBusType             bus_type,
1806     GDBusProxyFlags      flags,
1807     const gchar         *name,
1808     const gchar         *object_path,
1809     GCancellable        *cancellable,
1810     GAsyncReadyCallback  callback,
1811     gpointer             user_data);
1812 ControlBmc *control_bmc_proxy_new_for_bus_finish (
1813     GAsyncResult        *res,
1814     GError             **error);
1815 ControlBmc *control_bmc_proxy_new_for_bus_sync (
1816     GBusType             bus_type,
1817     GDBusProxyFlags      flags,
1818     const gchar         *name,
1819     const gchar         *object_path,
1820     GCancellable        *cancellable,
1821     GError             **error);
1822 
1823 
1824 /* ---- */
1825 
1826 #define TYPE_CONTROL_BMC_SKELETON (control_bmc_skeleton_get_type ())
1827 #define CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeleton))
1828 #define CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass))
1829 #define CONTROL_BMC_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass))
1830 #define IS_CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_SKELETON))
1831 #define IS_CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_SKELETON))
1832 
1833 typedef struct _ControlBmcSkeleton ControlBmcSkeleton;
1834 typedef struct _ControlBmcSkeletonClass ControlBmcSkeletonClass;
1835 typedef struct _ControlBmcSkeletonPrivate ControlBmcSkeletonPrivate;
1836 
1837 struct _ControlBmcSkeleton
1838 {
1839   /*< private >*/
1840   GDBusInterfaceSkeleton parent_instance;
1841   ControlBmcSkeletonPrivate *priv;
1842 };
1843 
1844 struct _ControlBmcSkeletonClass
1845 {
1846   GDBusInterfaceSkeletonClass parent_class;
1847 };
1848 
1849 GType control_bmc_skeleton_get_type (void) G_GNUC_CONST;
1850 
1851 ControlBmc *control_bmc_skeleton_new (void);
1852 
1853 
1854 /* ------------------------------------------------------------------------ */
1855 /* Declarations for org.openbmc.control.Host */
1856 
1857 #define TYPE_CONTROL_HOST (control_host_get_type ())
1858 #define CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST, ControlHost))
1859 #define IS_CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST))
1860 #define CONTROL_HOST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_HOST, ControlHostIface))
1861 
1862 struct _ControlHost;
1863 typedef struct _ControlHost ControlHost;
1864 typedef struct _ControlHostIface ControlHostIface;
1865 
1866 struct _ControlHostIface
1867 {
1868   GTypeInterface parent_iface;
1869 
1870 
1871 
1872   gboolean (*handle_boot) (
1873     ControlHost *object,
1874     GDBusMethodInvocation *invocation);
1875 
1876   gboolean (*handle_reboot) (
1877     ControlHost *object,
1878     GDBusMethodInvocation *invocation);
1879 
1880   gboolean (*handle_shutdown) (
1881     ControlHost *object,
1882     GDBusMethodInvocation *invocation);
1883 
1884   gint  (*get_debug_mode) (ControlHost *object);
1885 
1886   const gchar * (*get_flash_side) (ControlHost *object);
1887 
1888   void (*booted) (
1889     ControlHost *object);
1890 
1891 };
1892 
1893 GType control_host_get_type (void) G_GNUC_CONST;
1894 
1895 GDBusInterfaceInfo *control_host_interface_info (void);
1896 guint control_host_override_properties (GObjectClass *klass, guint property_id_begin);
1897 
1898 
1899 /* D-Bus method call completion functions: */
1900 void control_host_complete_boot (
1901     ControlHost *object,
1902     GDBusMethodInvocation *invocation);
1903 
1904 void control_host_complete_shutdown (
1905     ControlHost *object,
1906     GDBusMethodInvocation *invocation);
1907 
1908 void control_host_complete_reboot (
1909     ControlHost *object,
1910     GDBusMethodInvocation *invocation);
1911 
1912 
1913 
1914 /* D-Bus signal emissions functions: */
1915 void control_host_emit_booted (
1916     ControlHost *object);
1917 
1918 
1919 
1920 /* D-Bus method calls: */
1921 void control_host_call_boot (
1922     ControlHost *proxy,
1923     GCancellable *cancellable,
1924     GAsyncReadyCallback callback,
1925     gpointer user_data);
1926 
1927 gboolean control_host_call_boot_finish (
1928     ControlHost *proxy,
1929     GAsyncResult *res,
1930     GError **error);
1931 
1932 gboolean control_host_call_boot_sync (
1933     ControlHost *proxy,
1934     GCancellable *cancellable,
1935     GError **error);
1936 
1937 void control_host_call_shutdown (
1938     ControlHost *proxy,
1939     GCancellable *cancellable,
1940     GAsyncReadyCallback callback,
1941     gpointer user_data);
1942 
1943 gboolean control_host_call_shutdown_finish (
1944     ControlHost *proxy,
1945     GAsyncResult *res,
1946     GError **error);
1947 
1948 gboolean control_host_call_shutdown_sync (
1949     ControlHost *proxy,
1950     GCancellable *cancellable,
1951     GError **error);
1952 
1953 void control_host_call_reboot (
1954     ControlHost *proxy,
1955     GCancellable *cancellable,
1956     GAsyncReadyCallback callback,
1957     gpointer user_data);
1958 
1959 gboolean control_host_call_reboot_finish (
1960     ControlHost *proxy,
1961     GAsyncResult *res,
1962     GError **error);
1963 
1964 gboolean control_host_call_reboot_sync (
1965     ControlHost *proxy,
1966     GCancellable *cancellable,
1967     GError **error);
1968 
1969 
1970 
1971 /* D-Bus property accessors: */
1972 gint control_host_get_debug_mode (ControlHost *object);
1973 void control_host_set_debug_mode (ControlHost *object, gint value);
1974 
1975 const gchar *control_host_get_flash_side (ControlHost *object);
1976 gchar *control_host_dup_flash_side (ControlHost *object);
1977 void control_host_set_flash_side (ControlHost *object, const gchar *value);
1978 
1979 
1980 /* ---- */
1981 
1982 #define TYPE_CONTROL_HOST_PROXY (control_host_proxy_get_type ())
1983 #define CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxy))
1984 #define CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass))
1985 #define CONTROL_HOST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass))
1986 #define IS_CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_PROXY))
1987 #define IS_CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_PROXY))
1988 
1989 typedef struct _ControlHostProxy ControlHostProxy;
1990 typedef struct _ControlHostProxyClass ControlHostProxyClass;
1991 typedef struct _ControlHostProxyPrivate ControlHostProxyPrivate;
1992 
1993 struct _ControlHostProxy
1994 {
1995   /*< private >*/
1996   GDBusProxy parent_instance;
1997   ControlHostProxyPrivate *priv;
1998 };
1999 
2000 struct _ControlHostProxyClass
2001 {
2002   GDBusProxyClass parent_class;
2003 };
2004 
2005 GType control_host_proxy_get_type (void) G_GNUC_CONST;
2006 
2007 void control_host_proxy_new (
2008     GDBusConnection     *connection,
2009     GDBusProxyFlags      flags,
2010     const gchar         *name,
2011     const gchar         *object_path,
2012     GCancellable        *cancellable,
2013     GAsyncReadyCallback  callback,
2014     gpointer             user_data);
2015 ControlHost *control_host_proxy_new_finish (
2016     GAsyncResult        *res,
2017     GError             **error);
2018 ControlHost *control_host_proxy_new_sync (
2019     GDBusConnection     *connection,
2020     GDBusProxyFlags      flags,
2021     const gchar         *name,
2022     const gchar         *object_path,
2023     GCancellable        *cancellable,
2024     GError             **error);
2025 
2026 void control_host_proxy_new_for_bus (
2027     GBusType             bus_type,
2028     GDBusProxyFlags      flags,
2029     const gchar         *name,
2030     const gchar         *object_path,
2031     GCancellable        *cancellable,
2032     GAsyncReadyCallback  callback,
2033     gpointer             user_data);
2034 ControlHost *control_host_proxy_new_for_bus_finish (
2035     GAsyncResult        *res,
2036     GError             **error);
2037 ControlHost *control_host_proxy_new_for_bus_sync (
2038     GBusType             bus_type,
2039     GDBusProxyFlags      flags,
2040     const gchar         *name,
2041     const gchar         *object_path,
2042     GCancellable        *cancellable,
2043     GError             **error);
2044 
2045 
2046 /* ---- */
2047 
2048 #define TYPE_CONTROL_HOST_SKELETON (control_host_skeleton_get_type ())
2049 #define CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeleton))
2050 #define CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass))
2051 #define CONTROL_HOST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass))
2052 #define IS_CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_SKELETON))
2053 #define IS_CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_SKELETON))
2054 
2055 typedef struct _ControlHostSkeleton ControlHostSkeleton;
2056 typedef struct _ControlHostSkeletonClass ControlHostSkeletonClass;
2057 typedef struct _ControlHostSkeletonPrivate ControlHostSkeletonPrivate;
2058 
2059 struct _ControlHostSkeleton
2060 {
2061   /*< private >*/
2062   GDBusInterfaceSkeleton parent_instance;
2063   ControlHostSkeletonPrivate *priv;
2064 };
2065 
2066 struct _ControlHostSkeletonClass
2067 {
2068   GDBusInterfaceSkeletonClass parent_class;
2069 };
2070 
2071 GType control_host_skeleton_get_type (void) G_GNUC_CONST;
2072 
2073 ControlHost *control_host_skeleton_new (void);
2074 
2075 
2076 /* ------------------------------------------------------------------------ */
2077 /* Declarations for org.openbmc.control.Power */
2078 
2079 #define TYPE_CONTROL_POWER (control_power_get_type ())
2080 #define CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER, ControlPower))
2081 #define IS_CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER))
2082 #define CONTROL_POWER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_POWER, ControlPowerIface))
2083 
2084 struct _ControlPower;
2085 typedef struct _ControlPower ControlPower;
2086 typedef struct _ControlPowerIface ControlPowerIface;
2087 
2088 struct _ControlPowerIface
2089 {
2090   GTypeInterface parent_iface;
2091 
2092 
2093 
2094   gboolean (*handle_get_power_state) (
2095     ControlPower *object,
2096     GDBusMethodInvocation *invocation);
2097 
2098   gboolean (*handle_set_power_state) (
2099     ControlPower *object,
2100     GDBusMethodInvocation *invocation,
2101     gint arg_state);
2102 
2103   gint  (*get_pgood) (ControlPower *object);
2104 
2105   gint  (*get_pgood_timeout) (ControlPower *object);
2106 
2107   gint  (*get_state) (ControlPower *object);
2108 
2109   void (*power_good) (
2110     ControlPower *object);
2111 
2112   void (*power_lost) (
2113     ControlPower *object);
2114 
2115 };
2116 
2117 GType control_power_get_type (void) G_GNUC_CONST;
2118 
2119 GDBusInterfaceInfo *control_power_interface_info (void);
2120 guint control_power_override_properties (GObjectClass *klass, guint property_id_begin);
2121 
2122 
2123 /* D-Bus method call completion functions: */
2124 void control_power_complete_set_power_state (
2125     ControlPower *object,
2126     GDBusMethodInvocation *invocation);
2127 
2128 void control_power_complete_get_power_state (
2129     ControlPower *object,
2130     GDBusMethodInvocation *invocation,
2131     gint state);
2132 
2133 
2134 
2135 /* D-Bus signal emissions functions: */
2136 void control_power_emit_power_good (
2137     ControlPower *object);
2138 
2139 void control_power_emit_power_lost (
2140     ControlPower *object);
2141 
2142 
2143 
2144 /* D-Bus method calls: */
2145 void control_power_call_set_power_state (
2146     ControlPower *proxy,
2147     gint arg_state,
2148     GCancellable *cancellable,
2149     GAsyncReadyCallback callback,
2150     gpointer user_data);
2151 
2152 gboolean control_power_call_set_power_state_finish (
2153     ControlPower *proxy,
2154     GAsyncResult *res,
2155     GError **error);
2156 
2157 gboolean control_power_call_set_power_state_sync (
2158     ControlPower *proxy,
2159     gint arg_state,
2160     GCancellable *cancellable,
2161     GError **error);
2162 
2163 void control_power_call_get_power_state (
2164     ControlPower *proxy,
2165     GCancellable *cancellable,
2166     GAsyncReadyCallback callback,
2167     gpointer user_data);
2168 
2169 gboolean control_power_call_get_power_state_finish (
2170     ControlPower *proxy,
2171     gint *out_state,
2172     GAsyncResult *res,
2173     GError **error);
2174 
2175 gboolean control_power_call_get_power_state_sync (
2176     ControlPower *proxy,
2177     gint *out_state,
2178     GCancellable *cancellable,
2179     GError **error);
2180 
2181 
2182 
2183 /* D-Bus property accessors: */
2184 gint control_power_get_pgood (ControlPower *object);
2185 void control_power_set_pgood (ControlPower *object, gint value);
2186 
2187 gint control_power_get_state (ControlPower *object);
2188 void control_power_set_state (ControlPower *object, gint value);
2189 
2190 gint control_power_get_pgood_timeout (ControlPower *object);
2191 void control_power_set_pgood_timeout (ControlPower *object, gint value);
2192 
2193 
2194 /* ---- */
2195 
2196 #define TYPE_CONTROL_POWER_PROXY (control_power_proxy_get_type ())
2197 #define CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxy))
2198 #define CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass))
2199 #define CONTROL_POWER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass))
2200 #define IS_CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_PROXY))
2201 #define IS_CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_PROXY))
2202 
2203 typedef struct _ControlPowerProxy ControlPowerProxy;
2204 typedef struct _ControlPowerProxyClass ControlPowerProxyClass;
2205 typedef struct _ControlPowerProxyPrivate ControlPowerProxyPrivate;
2206 
2207 struct _ControlPowerProxy
2208 {
2209   /*< private >*/
2210   GDBusProxy parent_instance;
2211   ControlPowerProxyPrivate *priv;
2212 };
2213 
2214 struct _ControlPowerProxyClass
2215 {
2216   GDBusProxyClass parent_class;
2217 };
2218 
2219 GType control_power_proxy_get_type (void) G_GNUC_CONST;
2220 
2221 void control_power_proxy_new (
2222     GDBusConnection     *connection,
2223     GDBusProxyFlags      flags,
2224     const gchar         *name,
2225     const gchar         *object_path,
2226     GCancellable        *cancellable,
2227     GAsyncReadyCallback  callback,
2228     gpointer             user_data);
2229 ControlPower *control_power_proxy_new_finish (
2230     GAsyncResult        *res,
2231     GError             **error);
2232 ControlPower *control_power_proxy_new_sync (
2233     GDBusConnection     *connection,
2234     GDBusProxyFlags      flags,
2235     const gchar         *name,
2236     const gchar         *object_path,
2237     GCancellable        *cancellable,
2238     GError             **error);
2239 
2240 void control_power_proxy_new_for_bus (
2241     GBusType             bus_type,
2242     GDBusProxyFlags      flags,
2243     const gchar         *name,
2244     const gchar         *object_path,
2245     GCancellable        *cancellable,
2246     GAsyncReadyCallback  callback,
2247     gpointer             user_data);
2248 ControlPower *control_power_proxy_new_for_bus_finish (
2249     GAsyncResult        *res,
2250     GError             **error);
2251 ControlPower *control_power_proxy_new_for_bus_sync (
2252     GBusType             bus_type,
2253     GDBusProxyFlags      flags,
2254     const gchar         *name,
2255     const gchar         *object_path,
2256     GCancellable        *cancellable,
2257     GError             **error);
2258 
2259 
2260 /* ---- */
2261 
2262 #define TYPE_CONTROL_POWER_SKELETON (control_power_skeleton_get_type ())
2263 #define CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeleton))
2264 #define CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass))
2265 #define CONTROL_POWER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass))
2266 #define IS_CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_SKELETON))
2267 #define IS_CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_SKELETON))
2268 
2269 typedef struct _ControlPowerSkeleton ControlPowerSkeleton;
2270 typedef struct _ControlPowerSkeletonClass ControlPowerSkeletonClass;
2271 typedef struct _ControlPowerSkeletonPrivate ControlPowerSkeletonPrivate;
2272 
2273 struct _ControlPowerSkeleton
2274 {
2275   /*< private >*/
2276   GDBusInterfaceSkeleton parent_instance;
2277   ControlPowerSkeletonPrivate *priv;
2278 };
2279 
2280 struct _ControlPowerSkeletonClass
2281 {
2282   GDBusInterfaceSkeletonClass parent_class;
2283 };
2284 
2285 GType control_power_skeleton_get_type (void) G_GNUC_CONST;
2286 
2287 ControlPower *control_power_skeleton_new (void);
2288 
2289 
2290 /* ------------------------------------------------------------------------ */
2291 /* Declarations for org.openbmc.control.Checkstop */
2292 
2293 #define TYPE_CONTROL_CHECKSTOP (control_checkstop_get_type ())
2294 #define CONTROL_CHECKSTOP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP, ControlCheckstop))
2295 #define IS_CONTROL_CHECKSTOP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP))
2296 #define CONTROL_CHECKSTOP_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_CHECKSTOP, ControlCheckstopIface))
2297 
2298 struct _ControlCheckstop;
2299 typedef struct _ControlCheckstop ControlCheckstop;
2300 typedef struct _ControlCheckstopIface ControlCheckstopIface;
2301 
2302 struct _ControlCheckstopIface
2303 {
2304   GTypeInterface parent_iface;
2305 };
2306 
2307 GType control_checkstop_get_type (void) G_GNUC_CONST;
2308 
2309 GDBusInterfaceInfo *control_checkstop_interface_info (void);
2310 guint control_checkstop_override_properties (GObjectClass *klass, guint property_id_begin);
2311 
2312 
2313 /* ---- */
2314 
2315 #define TYPE_CONTROL_CHECKSTOP_PROXY (control_checkstop_proxy_get_type ())
2316 #define CONTROL_CHECKSTOP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxy))
2317 #define CONTROL_CHECKSTOP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxyClass))
2318 #define CONTROL_CHECKSTOP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxyClass))
2319 #define IS_CONTROL_CHECKSTOP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP_PROXY))
2320 #define IS_CONTROL_CHECKSTOP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_CHECKSTOP_PROXY))
2321 
2322 typedef struct _ControlCheckstopProxy ControlCheckstopProxy;
2323 typedef struct _ControlCheckstopProxyClass ControlCheckstopProxyClass;
2324 typedef struct _ControlCheckstopProxyPrivate ControlCheckstopProxyPrivate;
2325 
2326 struct _ControlCheckstopProxy
2327 {
2328   /*< private >*/
2329   GDBusProxy parent_instance;
2330   ControlCheckstopProxyPrivate *priv;
2331 };
2332 
2333 struct _ControlCheckstopProxyClass
2334 {
2335   GDBusProxyClass parent_class;
2336 };
2337 
2338 GType control_checkstop_proxy_get_type (void) G_GNUC_CONST;
2339 
2340 void control_checkstop_proxy_new (
2341     GDBusConnection     *connection,
2342     GDBusProxyFlags      flags,
2343     const gchar         *name,
2344     const gchar         *object_path,
2345     GCancellable        *cancellable,
2346     GAsyncReadyCallback  callback,
2347     gpointer             user_data);
2348 ControlCheckstop *control_checkstop_proxy_new_finish (
2349     GAsyncResult        *res,
2350     GError             **error);
2351 ControlCheckstop *control_checkstop_proxy_new_sync (
2352     GDBusConnection     *connection,
2353     GDBusProxyFlags      flags,
2354     const gchar         *name,
2355     const gchar         *object_path,
2356     GCancellable        *cancellable,
2357     GError             **error);
2358 
2359 void control_checkstop_proxy_new_for_bus (
2360     GBusType             bus_type,
2361     GDBusProxyFlags      flags,
2362     const gchar         *name,
2363     const gchar         *object_path,
2364     GCancellable        *cancellable,
2365     GAsyncReadyCallback  callback,
2366     gpointer             user_data);
2367 ControlCheckstop *control_checkstop_proxy_new_for_bus_finish (
2368     GAsyncResult        *res,
2369     GError             **error);
2370 ControlCheckstop *control_checkstop_proxy_new_for_bus_sync (
2371     GBusType             bus_type,
2372     GDBusProxyFlags      flags,
2373     const gchar         *name,
2374     const gchar         *object_path,
2375     GCancellable        *cancellable,
2376     GError             **error);
2377 
2378 
2379 /* ---- */
2380 
2381 #define TYPE_CONTROL_CHECKSTOP_SKELETON (control_checkstop_skeleton_get_type ())
2382 #define CONTROL_CHECKSTOP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeleton))
2383 #define CONTROL_CHECKSTOP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeletonClass))
2384 #define CONTROL_CHECKSTOP_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeletonClass))
2385 #define IS_CONTROL_CHECKSTOP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP_SKELETON))
2386 #define IS_CONTROL_CHECKSTOP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_CHECKSTOP_SKELETON))
2387 
2388 typedef struct _ControlCheckstopSkeleton ControlCheckstopSkeleton;
2389 typedef struct _ControlCheckstopSkeletonClass ControlCheckstopSkeletonClass;
2390 typedef struct _ControlCheckstopSkeletonPrivate ControlCheckstopSkeletonPrivate;
2391 
2392 struct _ControlCheckstopSkeleton
2393 {
2394   /*< private >*/
2395   GDBusInterfaceSkeleton parent_instance;
2396   ControlCheckstopSkeletonPrivate *priv;
2397 };
2398 
2399 struct _ControlCheckstopSkeletonClass
2400 {
2401   GDBusInterfaceSkeletonClass parent_class;
2402 };
2403 
2404 GType control_checkstop_skeleton_get_type (void) G_GNUC_CONST;
2405 
2406 ControlCheckstop *control_checkstop_skeleton_new (void);
2407 
2408 
2409 /* ------------------------------------------------------------------------ */
2410 /* Declarations for org.openbmc.Watchdog */
2411 
2412 #define TYPE_WATCHDOG (watchdog_get_type ())
2413 #define WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG, Watchdog))
2414 #define IS_WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG))
2415 #define WATCHDOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_WATCHDOG, WatchdogIface))
2416 
2417 struct _Watchdog;
2418 typedef struct _Watchdog Watchdog;
2419 typedef struct _WatchdogIface WatchdogIface;
2420 
2421 struct _WatchdogIface
2422 {
2423   GTypeInterface parent_iface;
2424 
2425 
2426 
2427   gboolean (*handle_poke) (
2428     Watchdog *object,
2429     GDBusMethodInvocation *invocation);
2430 
2431   gboolean (*handle_set) (
2432     Watchdog *object,
2433     GDBusMethodInvocation *invocation,
2434     gint arg_interval);
2435 
2436   gboolean (*handle_start) (
2437     Watchdog *object,
2438     GDBusMethodInvocation *invocation);
2439 
2440   gboolean (*handle_stop) (
2441     Watchdog *object,
2442     GDBusMethodInvocation *invocation);
2443 
2444   gint  (*get_poll_interval) (Watchdog *object);
2445 
2446   gint  (*get_watchdog) (Watchdog *object);
2447 
2448   void (*watchdog_error) (
2449     Watchdog *object);
2450 
2451 };
2452 
2453 GType watchdog_get_type (void) G_GNUC_CONST;
2454 
2455 GDBusInterfaceInfo *watchdog_interface_info (void);
2456 guint watchdog_override_properties (GObjectClass *klass, guint property_id_begin);
2457 
2458 
2459 /* D-Bus method call completion functions: */
2460 void watchdog_complete_start (
2461     Watchdog *object,
2462     GDBusMethodInvocation *invocation);
2463 
2464 void watchdog_complete_poke (
2465     Watchdog *object,
2466     GDBusMethodInvocation *invocation);
2467 
2468 void watchdog_complete_stop (
2469     Watchdog *object,
2470     GDBusMethodInvocation *invocation);
2471 
2472 void watchdog_complete_set (
2473     Watchdog *object,
2474     GDBusMethodInvocation *invocation);
2475 
2476 
2477 
2478 /* D-Bus signal emissions functions: */
2479 void watchdog_emit_watchdog_error (
2480     Watchdog *object);
2481 
2482 
2483 
2484 /* D-Bus method calls: */
2485 void watchdog_call_start (
2486     Watchdog *proxy,
2487     GCancellable *cancellable,
2488     GAsyncReadyCallback callback,
2489     gpointer user_data);
2490 
2491 gboolean watchdog_call_start_finish (
2492     Watchdog *proxy,
2493     GAsyncResult *res,
2494     GError **error);
2495 
2496 gboolean watchdog_call_start_sync (
2497     Watchdog *proxy,
2498     GCancellable *cancellable,
2499     GError **error);
2500 
2501 void watchdog_call_poke (
2502     Watchdog *proxy,
2503     GCancellable *cancellable,
2504     GAsyncReadyCallback callback,
2505     gpointer user_data);
2506 
2507 gboolean watchdog_call_poke_finish (
2508     Watchdog *proxy,
2509     GAsyncResult *res,
2510     GError **error);
2511 
2512 gboolean watchdog_call_poke_sync (
2513     Watchdog *proxy,
2514     GCancellable *cancellable,
2515     GError **error);
2516 
2517 void watchdog_call_stop (
2518     Watchdog *proxy,
2519     GCancellable *cancellable,
2520     GAsyncReadyCallback callback,
2521     gpointer user_data);
2522 
2523 gboolean watchdog_call_stop_finish (
2524     Watchdog *proxy,
2525     GAsyncResult *res,
2526     GError **error);
2527 
2528 gboolean watchdog_call_stop_sync (
2529     Watchdog *proxy,
2530     GCancellable *cancellable,
2531     GError **error);
2532 
2533 void watchdog_call_set (
2534     Watchdog *proxy,
2535     gint arg_interval,
2536     GCancellable *cancellable,
2537     GAsyncReadyCallback callback,
2538     gpointer user_data);
2539 
2540 gboolean watchdog_call_set_finish (
2541     Watchdog *proxy,
2542     GAsyncResult *res,
2543     GError **error);
2544 
2545 gboolean watchdog_call_set_sync (
2546     Watchdog *proxy,
2547     gint arg_interval,
2548     GCancellable *cancellable,
2549     GError **error);
2550 
2551 
2552 
2553 /* D-Bus property accessors: */
2554 gint watchdog_get_watchdog (Watchdog *object);
2555 void watchdog_set_watchdog (Watchdog *object, gint value);
2556 
2557 gint watchdog_get_poll_interval (Watchdog *object);
2558 void watchdog_set_poll_interval (Watchdog *object, gint value);
2559 
2560 
2561 /* ---- */
2562 
2563 #define TYPE_WATCHDOG_PROXY (watchdog_proxy_get_type ())
2564 #define WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_PROXY, WatchdogProxy))
2565 #define WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_PROXY, WatchdogProxyClass))
2566 #define WATCHDOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_PROXY, WatchdogProxyClass))
2567 #define IS_WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_PROXY))
2568 #define IS_WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_PROXY))
2569 
2570 typedef struct _WatchdogProxy WatchdogProxy;
2571 typedef struct _WatchdogProxyClass WatchdogProxyClass;
2572 typedef struct _WatchdogProxyPrivate WatchdogProxyPrivate;
2573 
2574 struct _WatchdogProxy
2575 {
2576   /*< private >*/
2577   GDBusProxy parent_instance;
2578   WatchdogProxyPrivate *priv;
2579 };
2580 
2581 struct _WatchdogProxyClass
2582 {
2583   GDBusProxyClass parent_class;
2584 };
2585 
2586 GType watchdog_proxy_get_type (void) G_GNUC_CONST;
2587 
2588 void watchdog_proxy_new (
2589     GDBusConnection     *connection,
2590     GDBusProxyFlags      flags,
2591     const gchar         *name,
2592     const gchar         *object_path,
2593     GCancellable        *cancellable,
2594     GAsyncReadyCallback  callback,
2595     gpointer             user_data);
2596 Watchdog *watchdog_proxy_new_finish (
2597     GAsyncResult        *res,
2598     GError             **error);
2599 Watchdog *watchdog_proxy_new_sync (
2600     GDBusConnection     *connection,
2601     GDBusProxyFlags      flags,
2602     const gchar         *name,
2603     const gchar         *object_path,
2604     GCancellable        *cancellable,
2605     GError             **error);
2606 
2607 void watchdog_proxy_new_for_bus (
2608     GBusType             bus_type,
2609     GDBusProxyFlags      flags,
2610     const gchar         *name,
2611     const gchar         *object_path,
2612     GCancellable        *cancellable,
2613     GAsyncReadyCallback  callback,
2614     gpointer             user_data);
2615 Watchdog *watchdog_proxy_new_for_bus_finish (
2616     GAsyncResult        *res,
2617     GError             **error);
2618 Watchdog *watchdog_proxy_new_for_bus_sync (
2619     GBusType             bus_type,
2620     GDBusProxyFlags      flags,
2621     const gchar         *name,
2622     const gchar         *object_path,
2623     GCancellable        *cancellable,
2624     GError             **error);
2625 
2626 
2627 /* ---- */
2628 
2629 #define TYPE_WATCHDOG_SKELETON (watchdog_skeleton_get_type ())
2630 #define WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeleton))
2631 #define WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass))
2632 #define WATCHDOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass))
2633 #define IS_WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_SKELETON))
2634 #define IS_WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_SKELETON))
2635 
2636 typedef struct _WatchdogSkeleton WatchdogSkeleton;
2637 typedef struct _WatchdogSkeletonClass WatchdogSkeletonClass;
2638 typedef struct _WatchdogSkeletonPrivate WatchdogSkeletonPrivate;
2639 
2640 struct _WatchdogSkeleton
2641 {
2642   /*< private >*/
2643   GDBusInterfaceSkeleton parent_instance;
2644   WatchdogSkeletonPrivate *priv;
2645 };
2646 
2647 struct _WatchdogSkeletonClass
2648 {
2649   GDBusInterfaceSkeletonClass parent_class;
2650 };
2651 
2652 GType watchdog_skeleton_get_type (void) G_GNUC_CONST;
2653 
2654 Watchdog *watchdog_skeleton_new (void);
2655 
2656 
2657 /* ------------------------------------------------------------------------ */
2658 /* Declarations for org.openbmc.EventLog */
2659 
2660 #define TYPE_EVENT_LOG (event_log_get_type ())
2661 #define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog))
2662 #define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG))
2663 #define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface))
2664 
2665 struct _EventLog;
2666 typedef struct _EventLog EventLog;
2667 typedef struct _EventLogIface EventLogIface;
2668 
2669 struct _EventLogIface
2670 {
2671   GTypeInterface parent_iface;
2672 
2673 
2674   gboolean (*handle_get_event_log) (
2675     EventLog *object,
2676     GDBusMethodInvocation *invocation);
2677 
2678   void (*event_log) (
2679     EventLog *object,
2680     gint arg_priority,
2681     const gchar *arg_message,
2682     gint arg_rc);
2683 
2684 };
2685 
2686 GType event_log_get_type (void) G_GNUC_CONST;
2687 
2688 GDBusInterfaceInfo *event_log_interface_info (void);
2689 guint event_log_override_properties (GObjectClass *klass, guint property_id_begin);
2690 
2691 
2692 /* D-Bus method call completion functions: */
2693 void event_log_complete_get_event_log (
2694     EventLog *object,
2695     GDBusMethodInvocation *invocation,
2696     GVariant *log);
2697 
2698 
2699 
2700 /* D-Bus signal emissions functions: */
2701 void event_log_emit_event_log (
2702     EventLog *object,
2703     gint arg_priority,
2704     const gchar *arg_message,
2705     gint arg_rc);
2706 
2707 
2708 
2709 /* D-Bus method calls: */
2710 void event_log_call_get_event_log (
2711     EventLog *proxy,
2712     GCancellable *cancellable,
2713     GAsyncReadyCallback callback,
2714     gpointer user_data);
2715 
2716 gboolean event_log_call_get_event_log_finish (
2717     EventLog *proxy,
2718     GVariant **out_log,
2719     GAsyncResult *res,
2720     GError **error);
2721 
2722 gboolean event_log_call_get_event_log_sync (
2723     EventLog *proxy,
2724     GVariant **out_log,
2725     GCancellable *cancellable,
2726     GError **error);
2727 
2728 
2729 
2730 /* ---- */
2731 
2732 #define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ())
2733 #define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy))
2734 #define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
2735 #define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
2736 #define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY))
2737 #define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY))
2738 
2739 typedef struct _EventLogProxy EventLogProxy;
2740 typedef struct _EventLogProxyClass EventLogProxyClass;
2741 typedef struct _EventLogProxyPrivate EventLogProxyPrivate;
2742 
2743 struct _EventLogProxy
2744 {
2745   /*< private >*/
2746   GDBusProxy parent_instance;
2747   EventLogProxyPrivate *priv;
2748 };
2749 
2750 struct _EventLogProxyClass
2751 {
2752   GDBusProxyClass parent_class;
2753 };
2754 
2755 GType event_log_proxy_get_type (void) G_GNUC_CONST;
2756 
2757 void event_log_proxy_new (
2758     GDBusConnection     *connection,
2759     GDBusProxyFlags      flags,
2760     const gchar         *name,
2761     const gchar         *object_path,
2762     GCancellable        *cancellable,
2763     GAsyncReadyCallback  callback,
2764     gpointer             user_data);
2765 EventLog *event_log_proxy_new_finish (
2766     GAsyncResult        *res,
2767     GError             **error);
2768 EventLog *event_log_proxy_new_sync (
2769     GDBusConnection     *connection,
2770     GDBusProxyFlags      flags,
2771     const gchar         *name,
2772     const gchar         *object_path,
2773     GCancellable        *cancellable,
2774     GError             **error);
2775 
2776 void event_log_proxy_new_for_bus (
2777     GBusType             bus_type,
2778     GDBusProxyFlags      flags,
2779     const gchar         *name,
2780     const gchar         *object_path,
2781     GCancellable        *cancellable,
2782     GAsyncReadyCallback  callback,
2783     gpointer             user_data);
2784 EventLog *event_log_proxy_new_for_bus_finish (
2785     GAsyncResult        *res,
2786     GError             **error);
2787 EventLog *event_log_proxy_new_for_bus_sync (
2788     GBusType             bus_type,
2789     GDBusProxyFlags      flags,
2790     const gchar         *name,
2791     const gchar         *object_path,
2792     GCancellable        *cancellable,
2793     GError             **error);
2794 
2795 
2796 /* ---- */
2797 
2798 #define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ())
2799 #define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton))
2800 #define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
2801 #define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
2802 #define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON))
2803 #define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON))
2804 
2805 typedef struct _EventLogSkeleton EventLogSkeleton;
2806 typedef struct _EventLogSkeletonClass EventLogSkeletonClass;
2807 typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate;
2808 
2809 struct _EventLogSkeleton
2810 {
2811   /*< private >*/
2812   GDBusInterfaceSkeleton parent_instance;
2813   EventLogSkeletonPrivate *priv;
2814 };
2815 
2816 struct _EventLogSkeletonClass
2817 {
2818   GDBusInterfaceSkeletonClass parent_class;
2819 };
2820 
2821 GType event_log_skeleton_get_type (void) G_GNUC_CONST;
2822 
2823 EventLog *event_log_skeleton_new (void);
2824 
2825 
2826 /* ------------------------------------------------------------------------ */
2827 /* Declarations for org.openbmc.Flash */
2828 
2829 #define TYPE_FLASH (flash_get_type ())
2830 #define FLASH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH, Flash))
2831 #define IS_FLASH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH))
2832 #define FLASH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH, FlashIface))
2833 
2834 struct _Flash;
2835 typedef struct _Flash Flash;
2836 typedef struct _FlashIface FlashIface;
2837 
2838 struct _FlashIface
2839 {
2840   GTypeInterface parent_iface;
2841 
2842 
2843 
2844   gboolean (*handle_done) (
2845     Flash *object,
2846     GDBusMethodInvocation *invocation);
2847 
2848   gboolean (*handle_error) (
2849     Flash *object,
2850     GDBusMethodInvocation *invocation,
2851     const gchar *arg_message);
2852 
2853   gboolean (*handle_init) (
2854     Flash *object,
2855     GDBusMethodInvocation *invocation);
2856 
2857   gboolean (*handle_update) (
2858     Flash *object,
2859     GDBusMethodInvocation *invocation,
2860     const gchar *arg_filename);
2861 
2862   gboolean (*handle_update_via_tftp) (
2863     Flash *object,
2864     GDBusMethodInvocation *invocation,
2865     const gchar *arg_url,
2866     const gchar *arg_filename);
2867 
2868   const gchar * (*get_filename) (Flash *object);
2869 
2870   const gchar * (*get_flasher_instance) (Flash *object);
2871 
2872   const gchar * (*get_flasher_name) (Flash *object);
2873 
2874   const gchar * (*get_flasher_path) (Flash *object);
2875 
2876   const gchar * (*get_status) (Flash *object);
2877 
2878   void (*download) (
2879     Flash *object,
2880     const gchar *arg_url,
2881     const gchar *arg_filename);
2882 
2883   void (*updated) (
2884     Flash *object);
2885 
2886 };
2887 
2888 GType flash_get_type (void) G_GNUC_CONST;
2889 
2890 GDBusInterfaceInfo *flash_interface_info (void);
2891 guint flash_override_properties (GObjectClass *klass, guint property_id_begin);
2892 
2893 
2894 /* D-Bus method call completion functions: */
2895 void flash_complete_update (
2896     Flash *object,
2897     GDBusMethodInvocation *invocation);
2898 
2899 void flash_complete_error (
2900     Flash *object,
2901     GDBusMethodInvocation *invocation);
2902 
2903 void flash_complete_done (
2904     Flash *object,
2905     GDBusMethodInvocation *invocation);
2906 
2907 void flash_complete_update_via_tftp (
2908     Flash *object,
2909     GDBusMethodInvocation *invocation);
2910 
2911 void flash_complete_init (
2912     Flash *object,
2913     GDBusMethodInvocation *invocation);
2914 
2915 
2916 
2917 /* D-Bus signal emissions functions: */
2918 void flash_emit_updated (
2919     Flash *object);
2920 
2921 void flash_emit_download (
2922     Flash *object,
2923     const gchar *arg_url,
2924     const gchar *arg_filename);
2925 
2926 
2927 
2928 /* D-Bus method calls: */
2929 void flash_call_update (
2930     Flash *proxy,
2931     const gchar *arg_filename,
2932     GCancellable *cancellable,
2933     GAsyncReadyCallback callback,
2934     gpointer user_data);
2935 
2936 gboolean flash_call_update_finish (
2937     Flash *proxy,
2938     GAsyncResult *res,
2939     GError **error);
2940 
2941 gboolean flash_call_update_sync (
2942     Flash *proxy,
2943     const gchar *arg_filename,
2944     GCancellable *cancellable,
2945     GError **error);
2946 
2947 void flash_call_error (
2948     Flash *proxy,
2949     const gchar *arg_message,
2950     GCancellable *cancellable,
2951     GAsyncReadyCallback callback,
2952     gpointer user_data);
2953 
2954 gboolean flash_call_error_finish (
2955     Flash *proxy,
2956     GAsyncResult *res,
2957     GError **error);
2958 
2959 gboolean flash_call_error_sync (
2960     Flash *proxy,
2961     const gchar *arg_message,
2962     GCancellable *cancellable,
2963     GError **error);
2964 
2965 void flash_call_done (
2966     Flash *proxy,
2967     GCancellable *cancellable,
2968     GAsyncReadyCallback callback,
2969     gpointer user_data);
2970 
2971 gboolean flash_call_done_finish (
2972     Flash *proxy,
2973     GAsyncResult *res,
2974     GError **error);
2975 
2976 gboolean flash_call_done_sync (
2977     Flash *proxy,
2978     GCancellable *cancellable,
2979     GError **error);
2980 
2981 void flash_call_update_via_tftp (
2982     Flash *proxy,
2983     const gchar *arg_url,
2984     const gchar *arg_filename,
2985     GCancellable *cancellable,
2986     GAsyncReadyCallback callback,
2987     gpointer user_data);
2988 
2989 gboolean flash_call_update_via_tftp_finish (
2990     Flash *proxy,
2991     GAsyncResult *res,
2992     GError **error);
2993 
2994 gboolean flash_call_update_via_tftp_sync (
2995     Flash *proxy,
2996     const gchar *arg_url,
2997     const gchar *arg_filename,
2998     GCancellable *cancellable,
2999     GError **error);
3000 
3001 void flash_call_init (
3002     Flash *proxy,
3003     GCancellable *cancellable,
3004     GAsyncReadyCallback callback,
3005     gpointer user_data);
3006 
3007 gboolean flash_call_init_finish (
3008     Flash *proxy,
3009     GAsyncResult *res,
3010     GError **error);
3011 
3012 gboolean flash_call_init_sync (
3013     Flash *proxy,
3014     GCancellable *cancellable,
3015     GError **error);
3016 
3017 
3018 
3019 /* D-Bus property accessors: */
3020 const gchar *flash_get_filename (Flash *object);
3021 gchar *flash_dup_filename (Flash *object);
3022 void flash_set_filename (Flash *object, const gchar *value);
3023 
3024 const gchar *flash_get_flasher_path (Flash *object);
3025 gchar *flash_dup_flasher_path (Flash *object);
3026 void flash_set_flasher_path (Flash *object, const gchar *value);
3027 
3028 const gchar *flash_get_flasher_name (Flash *object);
3029 gchar *flash_dup_flasher_name (Flash *object);
3030 void flash_set_flasher_name (Flash *object, const gchar *value);
3031 
3032 const gchar *flash_get_flasher_instance (Flash *object);
3033 gchar *flash_dup_flasher_instance (Flash *object);
3034 void flash_set_flasher_instance (Flash *object, const gchar *value);
3035 
3036 const gchar *flash_get_status (Flash *object);
3037 gchar *flash_dup_status (Flash *object);
3038 void flash_set_status (Flash *object, const gchar *value);
3039 
3040 
3041 /* ---- */
3042 
3043 #define TYPE_FLASH_PROXY (flash_proxy_get_type ())
3044 #define FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_PROXY, FlashProxy))
3045 #define FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_PROXY, FlashProxyClass))
3046 #define FLASH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_PROXY, FlashProxyClass))
3047 #define IS_FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_PROXY))
3048 #define IS_FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_PROXY))
3049 
3050 typedef struct _FlashProxy FlashProxy;
3051 typedef struct _FlashProxyClass FlashProxyClass;
3052 typedef struct _FlashProxyPrivate FlashProxyPrivate;
3053 
3054 struct _FlashProxy
3055 {
3056   /*< private >*/
3057   GDBusProxy parent_instance;
3058   FlashProxyPrivate *priv;
3059 };
3060 
3061 struct _FlashProxyClass
3062 {
3063   GDBusProxyClass parent_class;
3064 };
3065 
3066 GType flash_proxy_get_type (void) G_GNUC_CONST;
3067 
3068 void flash_proxy_new (
3069     GDBusConnection     *connection,
3070     GDBusProxyFlags      flags,
3071     const gchar         *name,
3072     const gchar         *object_path,
3073     GCancellable        *cancellable,
3074     GAsyncReadyCallback  callback,
3075     gpointer             user_data);
3076 Flash *flash_proxy_new_finish (
3077     GAsyncResult        *res,
3078     GError             **error);
3079 Flash *flash_proxy_new_sync (
3080     GDBusConnection     *connection,
3081     GDBusProxyFlags      flags,
3082     const gchar         *name,
3083     const gchar         *object_path,
3084     GCancellable        *cancellable,
3085     GError             **error);
3086 
3087 void flash_proxy_new_for_bus (
3088     GBusType             bus_type,
3089     GDBusProxyFlags      flags,
3090     const gchar         *name,
3091     const gchar         *object_path,
3092     GCancellable        *cancellable,
3093     GAsyncReadyCallback  callback,
3094     gpointer             user_data);
3095 Flash *flash_proxy_new_for_bus_finish (
3096     GAsyncResult        *res,
3097     GError             **error);
3098 Flash *flash_proxy_new_for_bus_sync (
3099     GBusType             bus_type,
3100     GDBusProxyFlags      flags,
3101     const gchar         *name,
3102     const gchar         *object_path,
3103     GCancellable        *cancellable,
3104     GError             **error);
3105 
3106 
3107 /* ---- */
3108 
3109 #define TYPE_FLASH_SKELETON (flash_skeleton_get_type ())
3110 #define FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_SKELETON, FlashSkeleton))
3111 #define FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_SKELETON, FlashSkeletonClass))
3112 #define FLASH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_SKELETON, FlashSkeletonClass))
3113 #define IS_FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_SKELETON))
3114 #define IS_FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_SKELETON))
3115 
3116 typedef struct _FlashSkeleton FlashSkeleton;
3117 typedef struct _FlashSkeletonClass FlashSkeletonClass;
3118 typedef struct _FlashSkeletonPrivate FlashSkeletonPrivate;
3119 
3120 struct _FlashSkeleton
3121 {
3122   /*< private >*/
3123   GDBusInterfaceSkeleton parent_instance;
3124   FlashSkeletonPrivate *priv;
3125 };
3126 
3127 struct _FlashSkeletonClass
3128 {
3129   GDBusInterfaceSkeletonClass parent_class;
3130 };
3131 
3132 GType flash_skeleton_get_type (void) G_GNUC_CONST;
3133 
3134 Flash *flash_skeleton_new (void);
3135 
3136 
3137 /* ------------------------------------------------------------------------ */
3138 /* Declarations for org.openbmc.FlashControl */
3139 
3140 #define TYPE_FLASH_CONTROL (flash_control_get_type ())
3141 #define FLASH_CONTROL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL, FlashControl))
3142 #define IS_FLASH_CONTROL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL))
3143 #define FLASH_CONTROL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH_CONTROL, FlashControlIface))
3144 
3145 struct _FlashControl;
3146 typedef struct _FlashControl FlashControl;
3147 typedef struct _FlashControlIface FlashControlIface;
3148 
3149 struct _FlashControlIface
3150 {
3151   GTypeInterface parent_iface;
3152 
3153 
3154 
3155   gboolean (*handle_flash) (
3156     FlashControl *object,
3157     GDBusMethodInvocation *invocation,
3158     const gchar *arg_type,
3159     const gchar *arg_filename);
3160 
3161   const gchar * (*get_filename) (FlashControl *object);
3162 
3163   const gchar * (*get_type_) (FlashControl *object);
3164 
3165   void (*done) (
3166     FlashControl *object,
3167     const gchar *arg_filename);
3168 
3169   void (*error) (
3170     FlashControl *object,
3171     const gchar *arg_filename);
3172 
3173   void (*progress) (
3174     FlashControl *object,
3175     const gchar *arg_filename,
3176     guchar arg_progress);
3177 
3178 };
3179 
3180 GType flash_control_get_type (void) G_GNUC_CONST;
3181 
3182 GDBusInterfaceInfo *flash_control_interface_info (void);
3183 guint flash_control_override_properties (GObjectClass *klass, guint property_id_begin);
3184 
3185 
3186 /* D-Bus method call completion functions: */
3187 void flash_control_complete_flash (
3188     FlashControl *object,
3189     GDBusMethodInvocation *invocation);
3190 
3191 
3192 
3193 /* D-Bus signal emissions functions: */
3194 void flash_control_emit_done (
3195     FlashControl *object,
3196     const gchar *arg_filename);
3197 
3198 void flash_control_emit_error (
3199     FlashControl *object,
3200     const gchar *arg_filename);
3201 
3202 void flash_control_emit_progress (
3203     FlashControl *object,
3204     const gchar *arg_filename,
3205     guchar arg_progress);
3206 
3207 
3208 
3209 /* D-Bus method calls: */
3210 void flash_control_call_flash (
3211     FlashControl *proxy,
3212     const gchar *arg_type,
3213     const gchar *arg_filename,
3214     GCancellable *cancellable,
3215     GAsyncReadyCallback callback,
3216     gpointer user_data);
3217 
3218 gboolean flash_control_call_flash_finish (
3219     FlashControl *proxy,
3220     GAsyncResult *res,
3221     GError **error);
3222 
3223 gboolean flash_control_call_flash_sync (
3224     FlashControl *proxy,
3225     const gchar *arg_type,
3226     const gchar *arg_filename,
3227     GCancellable *cancellable,
3228     GError **error);
3229 
3230 
3231 
3232 /* D-Bus property accessors: */
3233 const gchar *flash_control_get_filename (FlashControl *object);
3234 gchar *flash_control_dup_filename (FlashControl *object);
3235 void flash_control_set_filename (FlashControl *object, const gchar *value);
3236 
3237 const gchar *flash_control_get_type_ (FlashControl *object);
3238 gchar *flash_control_dup_type_ (FlashControl *object);
3239 void flash_control_set_type_ (FlashControl *object, const gchar *value);
3240 
3241 
3242 /* ---- */
3243 
3244 #define TYPE_FLASH_CONTROL_PROXY (flash_control_proxy_get_type ())
3245 #define FLASH_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL_PROXY, FlashControlProxy))
3246 #define FLASH_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_CONTROL_PROXY, FlashControlProxyClass))
3247 #define FLASH_CONTROL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_CONTROL_PROXY, FlashControlProxyClass))
3248 #define IS_FLASH_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL_PROXY))
3249 #define IS_FLASH_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_CONTROL_PROXY))
3250 
3251 typedef struct _FlashControlProxy FlashControlProxy;
3252 typedef struct _FlashControlProxyClass FlashControlProxyClass;
3253 typedef struct _FlashControlProxyPrivate FlashControlProxyPrivate;
3254 
3255 struct _FlashControlProxy
3256 {
3257   /*< private >*/
3258   GDBusProxy parent_instance;
3259   FlashControlProxyPrivate *priv;
3260 };
3261 
3262 struct _FlashControlProxyClass
3263 {
3264   GDBusProxyClass parent_class;
3265 };
3266 
3267 GType flash_control_proxy_get_type (void) G_GNUC_CONST;
3268 
3269 void flash_control_proxy_new (
3270     GDBusConnection     *connection,
3271     GDBusProxyFlags      flags,
3272     const gchar         *name,
3273     const gchar         *object_path,
3274     GCancellable        *cancellable,
3275     GAsyncReadyCallback  callback,
3276     gpointer             user_data);
3277 FlashControl *flash_control_proxy_new_finish (
3278     GAsyncResult        *res,
3279     GError             **error);
3280 FlashControl *flash_control_proxy_new_sync (
3281     GDBusConnection     *connection,
3282     GDBusProxyFlags      flags,
3283     const gchar         *name,
3284     const gchar         *object_path,
3285     GCancellable        *cancellable,
3286     GError             **error);
3287 
3288 void flash_control_proxy_new_for_bus (
3289     GBusType             bus_type,
3290     GDBusProxyFlags      flags,
3291     const gchar         *name,
3292     const gchar         *object_path,
3293     GCancellable        *cancellable,
3294     GAsyncReadyCallback  callback,
3295     gpointer             user_data);
3296 FlashControl *flash_control_proxy_new_for_bus_finish (
3297     GAsyncResult        *res,
3298     GError             **error);
3299 FlashControl *flash_control_proxy_new_for_bus_sync (
3300     GBusType             bus_type,
3301     GDBusProxyFlags      flags,
3302     const gchar         *name,
3303     const gchar         *object_path,
3304     GCancellable        *cancellable,
3305     GError             **error);
3306 
3307 
3308 /* ---- */
3309 
3310 #define TYPE_FLASH_CONTROL_SKELETON (flash_control_skeleton_get_type ())
3311 #define FLASH_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeleton))
3312 #define FLASH_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeletonClass))
3313 #define FLASH_CONTROL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeletonClass))
3314 #define IS_FLASH_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL_SKELETON))
3315 #define IS_FLASH_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_CONTROL_SKELETON))
3316 
3317 typedef struct _FlashControlSkeleton FlashControlSkeleton;
3318 typedef struct _FlashControlSkeletonClass FlashControlSkeletonClass;
3319 typedef struct _FlashControlSkeletonPrivate FlashControlSkeletonPrivate;
3320 
3321 struct _FlashControlSkeleton
3322 {
3323   /*< private >*/
3324   GDBusInterfaceSkeleton parent_instance;
3325   FlashControlSkeletonPrivate *priv;
3326 };
3327 
3328 struct _FlashControlSkeletonClass
3329 {
3330   GDBusInterfaceSkeletonClass parent_class;
3331 };
3332 
3333 GType flash_control_skeleton_get_type (void) G_GNUC_CONST;
3334 
3335 FlashControl *flash_control_skeleton_new (void);
3336 
3337 
3338 /* ------------------------------------------------------------------------ */
3339 /* Declarations for org.openbmc.Button */
3340 
3341 #define TYPE_BUTTON (button_get_type ())
3342 #define BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON, Button))
3343 #define IS_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON))
3344 #define BUTTON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_BUTTON, ButtonIface))
3345 
3346 struct _Button;
3347 typedef struct _Button Button;
3348 typedef struct _ButtonIface ButtonIface;
3349 
3350 struct _ButtonIface
3351 {
3352   GTypeInterface parent_iface;
3353 
3354 
3355 
3356   gboolean (*handle_is_on) (
3357     Button *object,
3358     GDBusMethodInvocation *invocation);
3359 
3360   gboolean (*handle_sim_long_press) (
3361     Button *object,
3362     GDBusMethodInvocation *invocation);
3363 
3364   gboolean (*handle_sim_press) (
3365     Button *object,
3366     GDBusMethodInvocation *invocation);
3367 
3368   gboolean  (*get_state) (Button *object);
3369 
3370   guint64  (*get_timer) (Button *object);
3371 
3372   void (*pressed) (
3373     Button *object);
3374 
3375   void (*pressed_long) (
3376     Button *object);
3377 
3378   void (*released) (
3379     Button *object);
3380 
3381 };
3382 
3383 GType button_get_type (void) G_GNUC_CONST;
3384 
3385 GDBusInterfaceInfo *button_interface_info (void);
3386 guint button_override_properties (GObjectClass *klass, guint property_id_begin);
3387 
3388 
3389 /* D-Bus method call completion functions: */
3390 void button_complete_is_on (
3391     Button *object,
3392     GDBusMethodInvocation *invocation,
3393     gboolean state);
3394 
3395 void button_complete_sim_press (
3396     Button *object,
3397     GDBusMethodInvocation *invocation);
3398 
3399 void button_complete_sim_long_press (
3400     Button *object,
3401     GDBusMethodInvocation *invocation);
3402 
3403 
3404 
3405 /* D-Bus signal emissions functions: */
3406 void button_emit_released (
3407     Button *object);
3408 
3409 void button_emit_pressed (
3410     Button *object);
3411 
3412 void button_emit_pressed_long (
3413     Button *object);
3414 
3415 
3416 
3417 /* D-Bus method calls: */
3418 void button_call_is_on (
3419     Button *proxy,
3420     GCancellable *cancellable,
3421     GAsyncReadyCallback callback,
3422     gpointer user_data);
3423 
3424 gboolean button_call_is_on_finish (
3425     Button *proxy,
3426     gboolean *out_state,
3427     GAsyncResult *res,
3428     GError **error);
3429 
3430 gboolean button_call_is_on_sync (
3431     Button *proxy,
3432     gboolean *out_state,
3433     GCancellable *cancellable,
3434     GError **error);
3435 
3436 void button_call_sim_press (
3437     Button *proxy,
3438     GCancellable *cancellable,
3439     GAsyncReadyCallback callback,
3440     gpointer user_data);
3441 
3442 gboolean button_call_sim_press_finish (
3443     Button *proxy,
3444     GAsyncResult *res,
3445     GError **error);
3446 
3447 gboolean button_call_sim_press_sync (
3448     Button *proxy,
3449     GCancellable *cancellable,
3450     GError **error);
3451 
3452 void button_call_sim_long_press (
3453     Button *proxy,
3454     GCancellable *cancellable,
3455     GAsyncReadyCallback callback,
3456     gpointer user_data);
3457 
3458 gboolean button_call_sim_long_press_finish (
3459     Button *proxy,
3460     GAsyncResult *res,
3461     GError **error);
3462 
3463 gboolean button_call_sim_long_press_sync (
3464     Button *proxy,
3465     GCancellable *cancellable,
3466     GError **error);
3467 
3468 
3469 
3470 /* D-Bus property accessors: */
3471 gboolean button_get_state (Button *object);
3472 void button_set_state (Button *object, gboolean value);
3473 
3474 guint64 button_get_timer (Button *object);
3475 void button_set_timer (Button *object, guint64 value);
3476 
3477 
3478 /* ---- */
3479 
3480 #define TYPE_BUTTON_PROXY (button_proxy_get_type ())
3481 #define BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_PROXY, ButtonProxy))
3482 #define BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_PROXY, ButtonProxyClass))
3483 #define BUTTON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_PROXY, ButtonProxyClass))
3484 #define IS_BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_PROXY))
3485 #define IS_BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_PROXY))
3486 
3487 typedef struct _ButtonProxy ButtonProxy;
3488 typedef struct _ButtonProxyClass ButtonProxyClass;
3489 typedef struct _ButtonProxyPrivate ButtonProxyPrivate;
3490 
3491 struct _ButtonProxy
3492 {
3493   /*< private >*/
3494   GDBusProxy parent_instance;
3495   ButtonProxyPrivate *priv;
3496 };
3497 
3498 struct _ButtonProxyClass
3499 {
3500   GDBusProxyClass parent_class;
3501 };
3502 
3503 GType button_proxy_get_type (void) G_GNUC_CONST;
3504 
3505 void button_proxy_new (
3506     GDBusConnection     *connection,
3507     GDBusProxyFlags      flags,
3508     const gchar         *name,
3509     const gchar         *object_path,
3510     GCancellable        *cancellable,
3511     GAsyncReadyCallback  callback,
3512     gpointer             user_data);
3513 Button *button_proxy_new_finish (
3514     GAsyncResult        *res,
3515     GError             **error);
3516 Button *button_proxy_new_sync (
3517     GDBusConnection     *connection,
3518     GDBusProxyFlags      flags,
3519     const gchar         *name,
3520     const gchar         *object_path,
3521     GCancellable        *cancellable,
3522     GError             **error);
3523 
3524 void button_proxy_new_for_bus (
3525     GBusType             bus_type,
3526     GDBusProxyFlags      flags,
3527     const gchar         *name,
3528     const gchar         *object_path,
3529     GCancellable        *cancellable,
3530     GAsyncReadyCallback  callback,
3531     gpointer             user_data);
3532 Button *button_proxy_new_for_bus_finish (
3533     GAsyncResult        *res,
3534     GError             **error);
3535 Button *button_proxy_new_for_bus_sync (
3536     GBusType             bus_type,
3537     GDBusProxyFlags      flags,
3538     const gchar         *name,
3539     const gchar         *object_path,
3540     GCancellable        *cancellable,
3541     GError             **error);
3542 
3543 
3544 /* ---- */
3545 
3546 #define TYPE_BUTTON_SKELETON (button_skeleton_get_type ())
3547 #define BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_SKELETON, ButtonSkeleton))
3548 #define BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_SKELETON, ButtonSkeletonClass))
3549 #define BUTTON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_SKELETON, ButtonSkeletonClass))
3550 #define IS_BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_SKELETON))
3551 #define IS_BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_SKELETON))
3552 
3553 typedef struct _ButtonSkeleton ButtonSkeleton;
3554 typedef struct _ButtonSkeletonClass ButtonSkeletonClass;
3555 typedef struct _ButtonSkeletonPrivate ButtonSkeletonPrivate;
3556 
3557 struct _ButtonSkeleton
3558 {
3559   /*< private >*/
3560   GDBusInterfaceSkeleton parent_instance;
3561   ButtonSkeletonPrivate *priv;
3562 };
3563 
3564 struct _ButtonSkeletonClass
3565 {
3566   GDBusInterfaceSkeletonClass parent_class;
3567 };
3568 
3569 GType button_skeleton_get_type (void) G_GNUC_CONST;
3570 
3571 Button *button_skeleton_new (void);
3572 
3573 
3574 /* ------------------------------------------------------------------------ */
3575 /* Declarations for org.openbmc.Led */
3576 
3577 #define TYPE_LED (led_get_type ())
3578 #define LED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED, Led))
3579 #define IS_LED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED))
3580 #define LED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_LED, LedIface))
3581 
3582 struct _Led;
3583 typedef struct _Led Led;
3584 typedef struct _LedIface LedIface;
3585 
3586 struct _LedIface
3587 {
3588   GTypeInterface parent_iface;
3589 
3590 
3591   gboolean (*handle_set_blink_fast) (
3592     Led *object,
3593     GDBusMethodInvocation *invocation);
3594 
3595   gboolean (*handle_set_blink_slow) (
3596     Led *object,
3597     GDBusMethodInvocation *invocation);
3598 
3599   gboolean (*handle_set_off) (
3600     Led *object,
3601     GDBusMethodInvocation *invocation);
3602 
3603   gboolean (*handle_set_on) (
3604     Led *object,
3605     GDBusMethodInvocation *invocation);
3606 
3607   gint  (*get_color) (Led *object);
3608 
3609   const gchar * (*get_function) (Led *object);
3610 
3611   const gchar * (*get_state) (Led *object);
3612 
3613 };
3614 
3615 GType led_get_type (void) G_GNUC_CONST;
3616 
3617 GDBusInterfaceInfo *led_interface_info (void);
3618 guint led_override_properties (GObjectClass *klass, guint property_id_begin);
3619 
3620 
3621 /* D-Bus method call completion functions: */
3622 void led_complete_set_on (
3623     Led *object,
3624     GDBusMethodInvocation *invocation);
3625 
3626 void led_complete_set_off (
3627     Led *object,
3628     GDBusMethodInvocation *invocation);
3629 
3630 void led_complete_set_blink_slow (
3631     Led *object,
3632     GDBusMethodInvocation *invocation);
3633 
3634 void led_complete_set_blink_fast (
3635     Led *object,
3636     GDBusMethodInvocation *invocation);
3637 
3638 
3639 
3640 /* D-Bus method calls: */
3641 void led_call_set_on (
3642     Led *proxy,
3643     GCancellable *cancellable,
3644     GAsyncReadyCallback callback,
3645     gpointer user_data);
3646 
3647 gboolean led_call_set_on_finish (
3648     Led *proxy,
3649     GAsyncResult *res,
3650     GError **error);
3651 
3652 gboolean led_call_set_on_sync (
3653     Led *proxy,
3654     GCancellable *cancellable,
3655     GError **error);
3656 
3657 void led_call_set_off (
3658     Led *proxy,
3659     GCancellable *cancellable,
3660     GAsyncReadyCallback callback,
3661     gpointer user_data);
3662 
3663 gboolean led_call_set_off_finish (
3664     Led *proxy,
3665     GAsyncResult *res,
3666     GError **error);
3667 
3668 gboolean led_call_set_off_sync (
3669     Led *proxy,
3670     GCancellable *cancellable,
3671     GError **error);
3672 
3673 void led_call_set_blink_slow (
3674     Led *proxy,
3675     GCancellable *cancellable,
3676     GAsyncReadyCallback callback,
3677     gpointer user_data);
3678 
3679 gboolean led_call_set_blink_slow_finish (
3680     Led *proxy,
3681     GAsyncResult *res,
3682     GError **error);
3683 
3684 gboolean led_call_set_blink_slow_sync (
3685     Led *proxy,
3686     GCancellable *cancellable,
3687     GError **error);
3688 
3689 void led_call_set_blink_fast (
3690     Led *proxy,
3691     GCancellable *cancellable,
3692     GAsyncReadyCallback callback,
3693     gpointer user_data);
3694 
3695 gboolean led_call_set_blink_fast_finish (
3696     Led *proxy,
3697     GAsyncResult *res,
3698     GError **error);
3699 
3700 gboolean led_call_set_blink_fast_sync (
3701     Led *proxy,
3702     GCancellable *cancellable,
3703     GError **error);
3704 
3705 
3706 
3707 /* D-Bus property accessors: */
3708 gint led_get_color (Led *object);
3709 void led_set_color (Led *object, gint value);
3710 
3711 const gchar *led_get_function (Led *object);
3712 gchar *led_dup_function (Led *object);
3713 void led_set_function (Led *object, const gchar *value);
3714 
3715 const gchar *led_get_state (Led *object);
3716 gchar *led_dup_state (Led *object);
3717 void led_set_state (Led *object, const gchar *value);
3718 
3719 
3720 /* ---- */
3721 
3722 #define TYPE_LED_PROXY (led_proxy_get_type ())
3723 #define LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_PROXY, LedProxy))
3724 #define LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_PROXY, LedProxyClass))
3725 #define LED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_PROXY, LedProxyClass))
3726 #define IS_LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_PROXY))
3727 #define IS_LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_PROXY))
3728 
3729 typedef struct _LedProxy LedProxy;
3730 typedef struct _LedProxyClass LedProxyClass;
3731 typedef struct _LedProxyPrivate LedProxyPrivate;
3732 
3733 struct _LedProxy
3734 {
3735   /*< private >*/
3736   GDBusProxy parent_instance;
3737   LedProxyPrivate *priv;
3738 };
3739 
3740 struct _LedProxyClass
3741 {
3742   GDBusProxyClass parent_class;
3743 };
3744 
3745 GType led_proxy_get_type (void) G_GNUC_CONST;
3746 
3747 void led_proxy_new (
3748     GDBusConnection     *connection,
3749     GDBusProxyFlags      flags,
3750     const gchar         *name,
3751     const gchar         *object_path,
3752     GCancellable        *cancellable,
3753     GAsyncReadyCallback  callback,
3754     gpointer             user_data);
3755 Led *led_proxy_new_finish (
3756     GAsyncResult        *res,
3757     GError             **error);
3758 Led *led_proxy_new_sync (
3759     GDBusConnection     *connection,
3760     GDBusProxyFlags      flags,
3761     const gchar         *name,
3762     const gchar         *object_path,
3763     GCancellable        *cancellable,
3764     GError             **error);
3765 
3766 void led_proxy_new_for_bus (
3767     GBusType             bus_type,
3768     GDBusProxyFlags      flags,
3769     const gchar         *name,
3770     const gchar         *object_path,
3771     GCancellable        *cancellable,
3772     GAsyncReadyCallback  callback,
3773     gpointer             user_data);
3774 Led *led_proxy_new_for_bus_finish (
3775     GAsyncResult        *res,
3776     GError             **error);
3777 Led *led_proxy_new_for_bus_sync (
3778     GBusType             bus_type,
3779     GDBusProxyFlags      flags,
3780     const gchar         *name,
3781     const gchar         *object_path,
3782     GCancellable        *cancellable,
3783     GError             **error);
3784 
3785 
3786 /* ---- */
3787 
3788 #define TYPE_LED_SKELETON (led_skeleton_get_type ())
3789 #define LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_SKELETON, LedSkeleton))
3790 #define LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_SKELETON, LedSkeletonClass))
3791 #define LED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_SKELETON, LedSkeletonClass))
3792 #define IS_LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_SKELETON))
3793 #define IS_LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_SKELETON))
3794 
3795 typedef struct _LedSkeleton LedSkeleton;
3796 typedef struct _LedSkeletonClass LedSkeletonClass;
3797 typedef struct _LedSkeletonPrivate LedSkeletonPrivate;
3798 
3799 struct _LedSkeleton
3800 {
3801   /*< private >*/
3802   GDBusInterfaceSkeleton parent_instance;
3803   LedSkeletonPrivate *priv;
3804 };
3805 
3806 struct _LedSkeletonClass
3807 {
3808   GDBusInterfaceSkeletonClass parent_class;
3809 };
3810 
3811 GType led_skeleton_get_type (void) G_GNUC_CONST;
3812 
3813 Led *led_skeleton_new (void);
3814 
3815 
3816 /* ------------------------------------------------------------------------ */
3817 /* Declarations for org.openbmc.HostIpmi */
3818 
3819 #define TYPE_HOST_IPMI (host_ipmi_get_type ())
3820 #define HOST_IPMI(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI, HostIpmi))
3821 #define IS_HOST_IPMI(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI))
3822 #define HOST_IPMI_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_HOST_IPMI, HostIpmiIface))
3823 
3824 struct _HostIpmi;
3825 typedef struct _HostIpmi HostIpmi;
3826 typedef struct _HostIpmiIface HostIpmiIface;
3827 
3828 struct _HostIpmiIface
3829 {
3830   GTypeInterface parent_iface;
3831 
3832 
3833   gboolean (*handle_send_message) (
3834     HostIpmi *object,
3835     GDBusMethodInvocation *invocation,
3836     guchar arg_seq,
3837     guchar arg_netfn,
3838     guchar arg_cmd,
3839     const gchar *arg_data);
3840 
3841   void (*received_message) (
3842     HostIpmi *object,
3843     guchar arg_seq,
3844     guchar arg_netfn,
3845     guchar arg_cmd,
3846     const gchar *arg_data);
3847 
3848 };
3849 
3850 GType host_ipmi_get_type (void) G_GNUC_CONST;
3851 
3852 GDBusInterfaceInfo *host_ipmi_interface_info (void);
3853 guint host_ipmi_override_properties (GObjectClass *klass, guint property_id_begin);
3854 
3855 
3856 /* D-Bus method call completion functions: */
3857 void host_ipmi_complete_send_message (
3858     HostIpmi *object,
3859     GDBusMethodInvocation *invocation,
3860     gint64 unnamed_arg4);
3861 
3862 
3863 
3864 /* D-Bus signal emissions functions: */
3865 void host_ipmi_emit_received_message (
3866     HostIpmi *object,
3867     guchar arg_seq,
3868     guchar arg_netfn,
3869     guchar arg_cmd,
3870     const gchar *arg_data);
3871 
3872 
3873 
3874 /* D-Bus method calls: */
3875 void host_ipmi_call_send_message (
3876     HostIpmi *proxy,
3877     guchar arg_seq,
3878     guchar arg_netfn,
3879     guchar arg_cmd,
3880     const gchar *arg_data,
3881     GCancellable *cancellable,
3882     GAsyncReadyCallback callback,
3883     gpointer user_data);
3884 
3885 gboolean host_ipmi_call_send_message_finish (
3886     HostIpmi *proxy,
3887     gint64 *out_unnamed_arg4,
3888     GAsyncResult *res,
3889     GError **error);
3890 
3891 gboolean host_ipmi_call_send_message_sync (
3892     HostIpmi *proxy,
3893     guchar arg_seq,
3894     guchar arg_netfn,
3895     guchar arg_cmd,
3896     const gchar *arg_data,
3897     gint64 *out_unnamed_arg4,
3898     GCancellable *cancellable,
3899     GError **error);
3900 
3901 
3902 
3903 /* ---- */
3904 
3905 #define TYPE_HOST_IPMI_PROXY (host_ipmi_proxy_get_type ())
3906 #define HOST_IPMI_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI_PROXY, HostIpmiProxy))
3907 #define HOST_IPMI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOST_IPMI_PROXY, HostIpmiProxyClass))
3908 #define HOST_IPMI_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOST_IPMI_PROXY, HostIpmiProxyClass))
3909 #define IS_HOST_IPMI_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI_PROXY))
3910 #define IS_HOST_IPMI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOST_IPMI_PROXY))
3911 
3912 typedef struct _HostIpmiProxy HostIpmiProxy;
3913 typedef struct _HostIpmiProxyClass HostIpmiProxyClass;
3914 typedef struct _HostIpmiProxyPrivate HostIpmiProxyPrivate;
3915 
3916 struct _HostIpmiProxy
3917 {
3918   /*< private >*/
3919   GDBusProxy parent_instance;
3920   HostIpmiProxyPrivate *priv;
3921 };
3922 
3923 struct _HostIpmiProxyClass
3924 {
3925   GDBusProxyClass parent_class;
3926 };
3927 
3928 GType host_ipmi_proxy_get_type (void) G_GNUC_CONST;
3929 
3930 void host_ipmi_proxy_new (
3931     GDBusConnection     *connection,
3932     GDBusProxyFlags      flags,
3933     const gchar         *name,
3934     const gchar         *object_path,
3935     GCancellable        *cancellable,
3936     GAsyncReadyCallback  callback,
3937     gpointer             user_data);
3938 HostIpmi *host_ipmi_proxy_new_finish (
3939     GAsyncResult        *res,
3940     GError             **error);
3941 HostIpmi *host_ipmi_proxy_new_sync (
3942     GDBusConnection     *connection,
3943     GDBusProxyFlags      flags,
3944     const gchar         *name,
3945     const gchar         *object_path,
3946     GCancellable        *cancellable,
3947     GError             **error);
3948 
3949 void host_ipmi_proxy_new_for_bus (
3950     GBusType             bus_type,
3951     GDBusProxyFlags      flags,
3952     const gchar         *name,
3953     const gchar         *object_path,
3954     GCancellable        *cancellable,
3955     GAsyncReadyCallback  callback,
3956     gpointer             user_data);
3957 HostIpmi *host_ipmi_proxy_new_for_bus_finish (
3958     GAsyncResult        *res,
3959     GError             **error);
3960 HostIpmi *host_ipmi_proxy_new_for_bus_sync (
3961     GBusType             bus_type,
3962     GDBusProxyFlags      flags,
3963     const gchar         *name,
3964     const gchar         *object_path,
3965     GCancellable        *cancellable,
3966     GError             **error);
3967 
3968 
3969 /* ---- */
3970 
3971 #define TYPE_HOST_IPMI_SKELETON (host_ipmi_skeleton_get_type ())
3972 #define HOST_IPMI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeleton))
3973 #define HOST_IPMI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeletonClass))
3974 #define HOST_IPMI_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeletonClass))
3975 #define IS_HOST_IPMI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI_SKELETON))
3976 #define IS_HOST_IPMI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOST_IPMI_SKELETON))
3977 
3978 typedef struct _HostIpmiSkeleton HostIpmiSkeleton;
3979 typedef struct _HostIpmiSkeletonClass HostIpmiSkeletonClass;
3980 typedef struct _HostIpmiSkeletonPrivate HostIpmiSkeletonPrivate;
3981 
3982 struct _HostIpmiSkeleton
3983 {
3984   /*< private >*/
3985   GDBusInterfaceSkeleton parent_instance;
3986   HostIpmiSkeletonPrivate *priv;
3987 };
3988 
3989 struct _HostIpmiSkeletonClass
3990 {
3991   GDBusInterfaceSkeletonClass parent_class;
3992 };
3993 
3994 GType host_ipmi_skeleton_get_type (void) G_GNUC_CONST;
3995 
3996 HostIpmi *host_ipmi_skeleton_new (void);
3997 
3998 
3999 /* ---- */
4000 
4001 #define TYPE_OBJECT (object_get_type ())
4002 #define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object))
4003 #define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT))
4004 #define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object))
4005 
4006 struct _Object;
4007 typedef struct _Object Object;
4008 typedef struct _ObjectIface ObjectIface;
4009 
4010 struct _ObjectIface
4011 {
4012   GTypeInterface parent_iface;
4013 };
4014 
4015 GType object_get_type (void) G_GNUC_CONST;
4016 
4017 Hwmon *object_get_hwmon (Object *object);
4018 Fan *object_get_fan (Object *object);
4019 SensorValue *object_get_sensor_value (Object *object);
4020 SensorThreshold *object_get_sensor_threshold (Object *object);
4021 SensorI2c *object_get_sensor_i2c (Object *object);
4022 SensorMatch *object_get_sensor_match (Object *object);
4023 Process *object_get_process (Object *object);
4024 SharedResource *object_get_shared_resource (Object *object);
4025 Control *object_get_control (Object *object);
4026 ControlBmc *object_get_control_bmc (Object *object);
4027 ControlHost *object_get_control_host (Object *object);
4028 ControlPower *object_get_control_power (Object *object);
4029 ControlCheckstop *object_get_control_checkstop (Object *object);
4030 Watchdog *object_get_watchdog (Object *object);
4031 EventLog *object_get_event_log (Object *object);
4032 Flash *object_get_flash (Object *object);
4033 FlashControl *object_get_flash_control (Object *object);
4034 Button *object_get_button (Object *object);
4035 Led *object_get_led (Object *object);
4036 HostIpmi *object_get_host_ipmi (Object *object);
4037 Hwmon *object_peek_hwmon (Object *object);
4038 Fan *object_peek_fan (Object *object);
4039 SensorValue *object_peek_sensor_value (Object *object);
4040 SensorThreshold *object_peek_sensor_threshold (Object *object);
4041 SensorI2c *object_peek_sensor_i2c (Object *object);
4042 SensorMatch *object_peek_sensor_match (Object *object);
4043 Process *object_peek_process (Object *object);
4044 SharedResource *object_peek_shared_resource (Object *object);
4045 Control *object_peek_control (Object *object);
4046 ControlBmc *object_peek_control_bmc (Object *object);
4047 ControlHost *object_peek_control_host (Object *object);
4048 ControlPower *object_peek_control_power (Object *object);
4049 ControlCheckstop *object_peek_control_checkstop (Object *object);
4050 Watchdog *object_peek_watchdog (Object *object);
4051 EventLog *object_peek_event_log (Object *object);
4052 Flash *object_peek_flash (Object *object);
4053 FlashControl *object_peek_flash_control (Object *object);
4054 Button *object_peek_button (Object *object);
4055 Led *object_peek_led (Object *object);
4056 HostIpmi *object_peek_host_ipmi (Object *object);
4057 
4058 #define TYPE_OBJECT_PROXY (object_proxy_get_type ())
4059 #define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy))
4060 #define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass))
4061 #define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass))
4062 #define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY))
4063 #define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY))
4064 
4065 typedef struct _ObjectProxy ObjectProxy;
4066 typedef struct _ObjectProxyClass ObjectProxyClass;
4067 typedef struct _ObjectProxyPrivate ObjectProxyPrivate;
4068 
4069 struct _ObjectProxy
4070 {
4071   /*< private >*/
4072   GDBusObjectProxy parent_instance;
4073   ObjectProxyPrivate *priv;
4074 };
4075 
4076 struct _ObjectProxyClass
4077 {
4078   GDBusObjectProxyClass parent_class;
4079 };
4080 
4081 GType object_proxy_get_type (void) G_GNUC_CONST;
4082 ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path);
4083 
4084 #define TYPE_OBJECT_SKELETON (object_skeleton_get_type ())
4085 #define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton))
4086 #define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
4087 #define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
4088 #define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON))
4089 #define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON))
4090 
4091 typedef struct _ObjectSkeleton ObjectSkeleton;
4092 typedef struct _ObjectSkeletonClass ObjectSkeletonClass;
4093 typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate;
4094 
4095 struct _ObjectSkeleton
4096 {
4097   /*< private >*/
4098   GDBusObjectSkeleton parent_instance;
4099   ObjectSkeletonPrivate *priv;
4100 };
4101 
4102 struct _ObjectSkeletonClass
4103 {
4104   GDBusObjectSkeletonClass parent_class;
4105 };
4106 
4107 GType object_skeleton_get_type (void) G_GNUC_CONST;
4108 ObjectSkeleton *object_skeleton_new (const gchar *object_path);
4109 void object_skeleton_set_hwmon (ObjectSkeleton *object, Hwmon *interface_);
4110 void object_skeleton_set_fan (ObjectSkeleton *object, Fan *interface_);
4111 void object_skeleton_set_sensor_value (ObjectSkeleton *object, SensorValue *interface_);
4112 void object_skeleton_set_sensor_threshold (ObjectSkeleton *object, SensorThreshold *interface_);
4113 void object_skeleton_set_sensor_i2c (ObjectSkeleton *object, SensorI2c *interface_);
4114 void object_skeleton_set_sensor_match (ObjectSkeleton *object, SensorMatch *interface_);
4115 void object_skeleton_set_process (ObjectSkeleton *object, Process *interface_);
4116 void object_skeleton_set_shared_resource (ObjectSkeleton *object, SharedResource *interface_);
4117 void object_skeleton_set_control (ObjectSkeleton *object, Control *interface_);
4118 void object_skeleton_set_control_bmc (ObjectSkeleton *object, ControlBmc *interface_);
4119 void object_skeleton_set_control_host (ObjectSkeleton *object, ControlHost *interface_);
4120 void object_skeleton_set_control_power (ObjectSkeleton *object, ControlPower *interface_);
4121 void object_skeleton_set_control_checkstop (ObjectSkeleton *object, ControlCheckstop *interface_);
4122 void object_skeleton_set_watchdog (ObjectSkeleton *object, Watchdog *interface_);
4123 void object_skeleton_set_event_log (ObjectSkeleton *object, EventLog *interface_);
4124 void object_skeleton_set_flash (ObjectSkeleton *object, Flash *interface_);
4125 void object_skeleton_set_flash_control (ObjectSkeleton *object, FlashControl *interface_);
4126 void object_skeleton_set_button (ObjectSkeleton *object, Button *interface_);
4127 void object_skeleton_set_led (ObjectSkeleton *object, Led *interface_);
4128 void object_skeleton_set_host_ipmi (ObjectSkeleton *object, HostIpmi *interface_);
4129 
4130 /* ---- */
4131 
4132 #define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ())
4133 #define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient))
4134 #define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
4135 #define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
4136 #define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT))
4137 #define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT))
4138 
4139 typedef struct _ObjectManagerClient ObjectManagerClient;
4140 typedef struct _ObjectManagerClientClass ObjectManagerClientClass;
4141 typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate;
4142 
4143 struct _ObjectManagerClient
4144 {
4145   /*< private >*/
4146   GDBusObjectManagerClient parent_instance;
4147   ObjectManagerClientPrivate *priv;
4148 };
4149 
4150 struct _ObjectManagerClientClass
4151 {
4152   GDBusObjectManagerClientClass parent_class;
4153 };
4154 
4155 GType object_manager_client_get_type (void) G_GNUC_CONST;
4156 
4157 GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);
4158 
4159 void object_manager_client_new (
4160     GDBusConnection        *connection,
4161     GDBusObjectManagerClientFlags  flags,
4162     const gchar            *name,
4163     const gchar            *object_path,
4164     GCancellable           *cancellable,
4165     GAsyncReadyCallback     callback,
4166     gpointer                user_data);
4167 GDBusObjectManager *object_manager_client_new_finish (
4168     GAsyncResult        *res,
4169     GError             **error);
4170 GDBusObjectManager *object_manager_client_new_sync (
4171     GDBusConnection        *connection,
4172     GDBusObjectManagerClientFlags  flags,
4173     const gchar            *name,
4174     const gchar            *object_path,
4175     GCancellable           *cancellable,
4176     GError                **error);
4177 
4178 void object_manager_client_new_for_bus (
4179     GBusType                bus_type,
4180     GDBusObjectManagerClientFlags  flags,
4181     const gchar            *name,
4182     const gchar            *object_path,
4183     GCancellable           *cancellable,
4184     GAsyncReadyCallback     callback,
4185     gpointer                user_data);
4186 GDBusObjectManager *object_manager_client_new_for_bus_finish (
4187     GAsyncResult        *res,
4188     GError             **error);
4189 GDBusObjectManager *object_manager_client_new_for_bus_sync (
4190     GBusType                bus_type,
4191     GDBusObjectManagerClientFlags  flags,
4192     const gchar            *name,
4193     const gchar            *object_path,
4194     GCancellable           *cancellable,
4195     GError                **error);
4196 
4197 
4198 G_END_DECLS
4199 
4200 #endif /* __OPENBMC_INTF_H__ */
4201