1 /*
2  * Generated by gdbus-codegen 2.40.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_cold_reset) (
1721     ControlBmc *object,
1722     GDBusMethodInvocation *invocation);
1723 
1724   gboolean (*handle_warm_reset) (
1725     ControlBmc *object,
1726     GDBusMethodInvocation *invocation);
1727 
1728 };
1729 
1730 GType control_bmc_get_type (void) G_GNUC_CONST;
1731 
1732 GDBusInterfaceInfo *control_bmc_interface_info (void);
1733 guint control_bmc_override_properties (GObjectClass *klass, guint property_id_begin);
1734 
1735 
1736 /* D-Bus method call completion functions: */
1737 void control_bmc_complete_cold_reset (
1738     ControlBmc *object,
1739     GDBusMethodInvocation *invocation);
1740 
1741 void control_bmc_complete_warm_reset (
1742     ControlBmc *object,
1743     GDBusMethodInvocation *invocation);
1744 
1745 
1746 
1747 /* D-Bus method calls: */
1748 void control_bmc_call_cold_reset (
1749     ControlBmc *proxy,
1750     GCancellable *cancellable,
1751     GAsyncReadyCallback callback,
1752     gpointer user_data);
1753 
1754 gboolean control_bmc_call_cold_reset_finish (
1755     ControlBmc *proxy,
1756     GAsyncResult *res,
1757     GError **error);
1758 
1759 gboolean control_bmc_call_cold_reset_sync (
1760     ControlBmc *proxy,
1761     GCancellable *cancellable,
1762     GError **error);
1763 
1764 void control_bmc_call_warm_reset (
1765     ControlBmc *proxy,
1766     GCancellable *cancellable,
1767     GAsyncReadyCallback callback,
1768     gpointer user_data);
1769 
1770 gboolean control_bmc_call_warm_reset_finish (
1771     ControlBmc *proxy,
1772     GAsyncResult *res,
1773     GError **error);
1774 
1775 gboolean control_bmc_call_warm_reset_sync (
1776     ControlBmc *proxy,
1777     GCancellable *cancellable,
1778     GError **error);
1779 
1780 
1781 
1782 /* ---- */
1783 
1784 #define TYPE_CONTROL_BMC_PROXY (control_bmc_proxy_get_type ())
1785 #define CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxy))
1786 #define CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass))
1787 #define CONTROL_BMC_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass))
1788 #define IS_CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_PROXY))
1789 #define IS_CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_PROXY))
1790 
1791 typedef struct _ControlBmcProxy ControlBmcProxy;
1792 typedef struct _ControlBmcProxyClass ControlBmcProxyClass;
1793 typedef struct _ControlBmcProxyPrivate ControlBmcProxyPrivate;
1794 
1795 struct _ControlBmcProxy
1796 {
1797   /*< private >*/
1798   GDBusProxy parent_instance;
1799   ControlBmcProxyPrivate *priv;
1800 };
1801 
1802 struct _ControlBmcProxyClass
1803 {
1804   GDBusProxyClass parent_class;
1805 };
1806 
1807 GType control_bmc_proxy_get_type (void) G_GNUC_CONST;
1808 
1809 void control_bmc_proxy_new (
1810     GDBusConnection     *connection,
1811     GDBusProxyFlags      flags,
1812     const gchar         *name,
1813     const gchar         *object_path,
1814     GCancellable        *cancellable,
1815     GAsyncReadyCallback  callback,
1816     gpointer             user_data);
1817 ControlBmc *control_bmc_proxy_new_finish (
1818     GAsyncResult        *res,
1819     GError             **error);
1820 ControlBmc *control_bmc_proxy_new_sync (
1821     GDBusConnection     *connection,
1822     GDBusProxyFlags      flags,
1823     const gchar         *name,
1824     const gchar         *object_path,
1825     GCancellable        *cancellable,
1826     GError             **error);
1827 
1828 void control_bmc_proxy_new_for_bus (
1829     GBusType             bus_type,
1830     GDBusProxyFlags      flags,
1831     const gchar         *name,
1832     const gchar         *object_path,
1833     GCancellable        *cancellable,
1834     GAsyncReadyCallback  callback,
1835     gpointer             user_data);
1836 ControlBmc *control_bmc_proxy_new_for_bus_finish (
1837     GAsyncResult        *res,
1838     GError             **error);
1839 ControlBmc *control_bmc_proxy_new_for_bus_sync (
1840     GBusType             bus_type,
1841     GDBusProxyFlags      flags,
1842     const gchar         *name,
1843     const gchar         *object_path,
1844     GCancellable        *cancellable,
1845     GError             **error);
1846 
1847 
1848 /* ---- */
1849 
1850 #define TYPE_CONTROL_BMC_SKELETON (control_bmc_skeleton_get_type ())
1851 #define CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeleton))
1852 #define CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass))
1853 #define CONTROL_BMC_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass))
1854 #define IS_CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_SKELETON))
1855 #define IS_CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_SKELETON))
1856 
1857 typedef struct _ControlBmcSkeleton ControlBmcSkeleton;
1858 typedef struct _ControlBmcSkeletonClass ControlBmcSkeletonClass;
1859 typedef struct _ControlBmcSkeletonPrivate ControlBmcSkeletonPrivate;
1860 
1861 struct _ControlBmcSkeleton
1862 {
1863   /*< private >*/
1864   GDBusInterfaceSkeleton parent_instance;
1865   ControlBmcSkeletonPrivate *priv;
1866 };
1867 
1868 struct _ControlBmcSkeletonClass
1869 {
1870   GDBusInterfaceSkeletonClass parent_class;
1871 };
1872 
1873 GType control_bmc_skeleton_get_type (void) G_GNUC_CONST;
1874 
1875 ControlBmc *control_bmc_skeleton_new (void);
1876 
1877 
1878 /* ------------------------------------------------------------------------ */
1879 /* Declarations for org.openbmc.control.Host */
1880 
1881 #define TYPE_CONTROL_HOST (control_host_get_type ())
1882 #define CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST, ControlHost))
1883 #define IS_CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST))
1884 #define CONTROL_HOST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_HOST, ControlHostIface))
1885 
1886 struct _ControlHost;
1887 typedef struct _ControlHost ControlHost;
1888 typedef struct _ControlHostIface ControlHostIface;
1889 
1890 struct _ControlHostIface
1891 {
1892   GTypeInterface parent_iface;
1893 
1894 
1895 
1896   gboolean (*handle_boot) (
1897     ControlHost *object,
1898     GDBusMethodInvocation *invocation);
1899 
1900   gboolean (*handle_reboot) (
1901     ControlHost *object,
1902     GDBusMethodInvocation *invocation);
1903 
1904   gboolean (*handle_shutdown) (
1905     ControlHost *object,
1906     GDBusMethodInvocation *invocation);
1907 
1908   gint  (*get_debug_mode) (ControlHost *object);
1909 
1910   const gchar * (*get_flash_side) (ControlHost *object);
1911 
1912   void (*booted) (
1913     ControlHost *object);
1914 
1915 };
1916 
1917 GType control_host_get_type (void) G_GNUC_CONST;
1918 
1919 GDBusInterfaceInfo *control_host_interface_info (void);
1920 guint control_host_override_properties (GObjectClass *klass, guint property_id_begin);
1921 
1922 
1923 /* D-Bus method call completion functions: */
1924 void control_host_complete_boot (
1925     ControlHost *object,
1926     GDBusMethodInvocation *invocation);
1927 
1928 void control_host_complete_shutdown (
1929     ControlHost *object,
1930     GDBusMethodInvocation *invocation);
1931 
1932 void control_host_complete_reboot (
1933     ControlHost *object,
1934     GDBusMethodInvocation *invocation);
1935 
1936 
1937 
1938 /* D-Bus signal emissions functions: */
1939 void control_host_emit_booted (
1940     ControlHost *object);
1941 
1942 
1943 
1944 /* D-Bus method calls: */
1945 void control_host_call_boot (
1946     ControlHost *proxy,
1947     GCancellable *cancellable,
1948     GAsyncReadyCallback callback,
1949     gpointer user_data);
1950 
1951 gboolean control_host_call_boot_finish (
1952     ControlHost *proxy,
1953     GAsyncResult *res,
1954     GError **error);
1955 
1956 gboolean control_host_call_boot_sync (
1957     ControlHost *proxy,
1958     GCancellable *cancellable,
1959     GError **error);
1960 
1961 void control_host_call_shutdown (
1962     ControlHost *proxy,
1963     GCancellable *cancellable,
1964     GAsyncReadyCallback callback,
1965     gpointer user_data);
1966 
1967 gboolean control_host_call_shutdown_finish (
1968     ControlHost *proxy,
1969     GAsyncResult *res,
1970     GError **error);
1971 
1972 gboolean control_host_call_shutdown_sync (
1973     ControlHost *proxy,
1974     GCancellable *cancellable,
1975     GError **error);
1976 
1977 void control_host_call_reboot (
1978     ControlHost *proxy,
1979     GCancellable *cancellable,
1980     GAsyncReadyCallback callback,
1981     gpointer user_data);
1982 
1983 gboolean control_host_call_reboot_finish (
1984     ControlHost *proxy,
1985     GAsyncResult *res,
1986     GError **error);
1987 
1988 gboolean control_host_call_reboot_sync (
1989     ControlHost *proxy,
1990     GCancellable *cancellable,
1991     GError **error);
1992 
1993 
1994 
1995 /* D-Bus property accessors: */
1996 gint control_host_get_debug_mode (ControlHost *object);
1997 void control_host_set_debug_mode (ControlHost *object, gint value);
1998 
1999 const gchar *control_host_get_flash_side (ControlHost *object);
2000 gchar *control_host_dup_flash_side (ControlHost *object);
2001 void control_host_set_flash_side (ControlHost *object, const gchar *value);
2002 
2003 
2004 /* ---- */
2005 
2006 #define TYPE_CONTROL_HOST_PROXY (control_host_proxy_get_type ())
2007 #define CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxy))
2008 #define CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass))
2009 #define CONTROL_HOST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass))
2010 #define IS_CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_PROXY))
2011 #define IS_CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_PROXY))
2012 
2013 typedef struct _ControlHostProxy ControlHostProxy;
2014 typedef struct _ControlHostProxyClass ControlHostProxyClass;
2015 typedef struct _ControlHostProxyPrivate ControlHostProxyPrivate;
2016 
2017 struct _ControlHostProxy
2018 {
2019   /*< private >*/
2020   GDBusProxy parent_instance;
2021   ControlHostProxyPrivate *priv;
2022 };
2023 
2024 struct _ControlHostProxyClass
2025 {
2026   GDBusProxyClass parent_class;
2027 };
2028 
2029 GType control_host_proxy_get_type (void) G_GNUC_CONST;
2030 
2031 void control_host_proxy_new (
2032     GDBusConnection     *connection,
2033     GDBusProxyFlags      flags,
2034     const gchar         *name,
2035     const gchar         *object_path,
2036     GCancellable        *cancellable,
2037     GAsyncReadyCallback  callback,
2038     gpointer             user_data);
2039 ControlHost *control_host_proxy_new_finish (
2040     GAsyncResult        *res,
2041     GError             **error);
2042 ControlHost *control_host_proxy_new_sync (
2043     GDBusConnection     *connection,
2044     GDBusProxyFlags      flags,
2045     const gchar         *name,
2046     const gchar         *object_path,
2047     GCancellable        *cancellable,
2048     GError             **error);
2049 
2050 void control_host_proxy_new_for_bus (
2051     GBusType             bus_type,
2052     GDBusProxyFlags      flags,
2053     const gchar         *name,
2054     const gchar         *object_path,
2055     GCancellable        *cancellable,
2056     GAsyncReadyCallback  callback,
2057     gpointer             user_data);
2058 ControlHost *control_host_proxy_new_for_bus_finish (
2059     GAsyncResult        *res,
2060     GError             **error);
2061 ControlHost *control_host_proxy_new_for_bus_sync (
2062     GBusType             bus_type,
2063     GDBusProxyFlags      flags,
2064     const gchar         *name,
2065     const gchar         *object_path,
2066     GCancellable        *cancellable,
2067     GError             **error);
2068 
2069 
2070 /* ---- */
2071 
2072 #define TYPE_CONTROL_HOST_SKELETON (control_host_skeleton_get_type ())
2073 #define CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeleton))
2074 #define CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass))
2075 #define CONTROL_HOST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass))
2076 #define IS_CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_SKELETON))
2077 #define IS_CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_SKELETON))
2078 
2079 typedef struct _ControlHostSkeleton ControlHostSkeleton;
2080 typedef struct _ControlHostSkeletonClass ControlHostSkeletonClass;
2081 typedef struct _ControlHostSkeletonPrivate ControlHostSkeletonPrivate;
2082 
2083 struct _ControlHostSkeleton
2084 {
2085   /*< private >*/
2086   GDBusInterfaceSkeleton parent_instance;
2087   ControlHostSkeletonPrivate *priv;
2088 };
2089 
2090 struct _ControlHostSkeletonClass
2091 {
2092   GDBusInterfaceSkeletonClass parent_class;
2093 };
2094 
2095 GType control_host_skeleton_get_type (void) G_GNUC_CONST;
2096 
2097 ControlHost *control_host_skeleton_new (void);
2098 
2099 
2100 /* ------------------------------------------------------------------------ */
2101 /* Declarations for org.openbmc.control.Power */
2102 
2103 #define TYPE_CONTROL_POWER (control_power_get_type ())
2104 #define CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER, ControlPower))
2105 #define IS_CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER))
2106 #define CONTROL_POWER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_POWER, ControlPowerIface))
2107 
2108 struct _ControlPower;
2109 typedef struct _ControlPower ControlPower;
2110 typedef struct _ControlPowerIface ControlPowerIface;
2111 
2112 struct _ControlPowerIface
2113 {
2114   GTypeInterface parent_iface;
2115 
2116 
2117 
2118   gboolean (*handle_get_power_state) (
2119     ControlPower *object,
2120     GDBusMethodInvocation *invocation);
2121 
2122   gboolean (*handle_set_power_state) (
2123     ControlPower *object,
2124     GDBusMethodInvocation *invocation,
2125     gint arg_state);
2126 
2127   gint  (*get_pgood) (ControlPower *object);
2128 
2129   gint  (*get_pgood_timeout) (ControlPower *object);
2130 
2131   gint  (*get_state) (ControlPower *object);
2132 
2133   void (*power_good) (
2134     ControlPower *object);
2135 
2136   void (*power_lost) (
2137     ControlPower *object);
2138 
2139 };
2140 
2141 GType control_power_get_type (void) G_GNUC_CONST;
2142 
2143 GDBusInterfaceInfo *control_power_interface_info (void);
2144 guint control_power_override_properties (GObjectClass *klass, guint property_id_begin);
2145 
2146 
2147 /* D-Bus method call completion functions: */
2148 void control_power_complete_set_power_state (
2149     ControlPower *object,
2150     GDBusMethodInvocation *invocation);
2151 
2152 void control_power_complete_get_power_state (
2153     ControlPower *object,
2154     GDBusMethodInvocation *invocation,
2155     gint state);
2156 
2157 
2158 
2159 /* D-Bus signal emissions functions: */
2160 void control_power_emit_power_good (
2161     ControlPower *object);
2162 
2163 void control_power_emit_power_lost (
2164     ControlPower *object);
2165 
2166 
2167 
2168 /* D-Bus method calls: */
2169 void control_power_call_set_power_state (
2170     ControlPower *proxy,
2171     gint arg_state,
2172     GCancellable *cancellable,
2173     GAsyncReadyCallback callback,
2174     gpointer user_data);
2175 
2176 gboolean control_power_call_set_power_state_finish (
2177     ControlPower *proxy,
2178     GAsyncResult *res,
2179     GError **error);
2180 
2181 gboolean control_power_call_set_power_state_sync (
2182     ControlPower *proxy,
2183     gint arg_state,
2184     GCancellable *cancellable,
2185     GError **error);
2186 
2187 void control_power_call_get_power_state (
2188     ControlPower *proxy,
2189     GCancellable *cancellable,
2190     GAsyncReadyCallback callback,
2191     gpointer user_data);
2192 
2193 gboolean control_power_call_get_power_state_finish (
2194     ControlPower *proxy,
2195     gint *out_state,
2196     GAsyncResult *res,
2197     GError **error);
2198 
2199 gboolean control_power_call_get_power_state_sync (
2200     ControlPower *proxy,
2201     gint *out_state,
2202     GCancellable *cancellable,
2203     GError **error);
2204 
2205 
2206 
2207 /* D-Bus property accessors: */
2208 gint control_power_get_pgood (ControlPower *object);
2209 void control_power_set_pgood (ControlPower *object, gint value);
2210 
2211 gint control_power_get_state (ControlPower *object);
2212 void control_power_set_state (ControlPower *object, gint value);
2213 
2214 gint control_power_get_pgood_timeout (ControlPower *object);
2215 void control_power_set_pgood_timeout (ControlPower *object, gint value);
2216 
2217 
2218 /* ---- */
2219 
2220 #define TYPE_CONTROL_POWER_PROXY (control_power_proxy_get_type ())
2221 #define CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxy))
2222 #define CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass))
2223 #define CONTROL_POWER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass))
2224 #define IS_CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_PROXY))
2225 #define IS_CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_PROXY))
2226 
2227 typedef struct _ControlPowerProxy ControlPowerProxy;
2228 typedef struct _ControlPowerProxyClass ControlPowerProxyClass;
2229 typedef struct _ControlPowerProxyPrivate ControlPowerProxyPrivate;
2230 
2231 struct _ControlPowerProxy
2232 {
2233   /*< private >*/
2234   GDBusProxy parent_instance;
2235   ControlPowerProxyPrivate *priv;
2236 };
2237 
2238 struct _ControlPowerProxyClass
2239 {
2240   GDBusProxyClass parent_class;
2241 };
2242 
2243 GType control_power_proxy_get_type (void) G_GNUC_CONST;
2244 
2245 void control_power_proxy_new (
2246     GDBusConnection     *connection,
2247     GDBusProxyFlags      flags,
2248     const gchar         *name,
2249     const gchar         *object_path,
2250     GCancellable        *cancellable,
2251     GAsyncReadyCallback  callback,
2252     gpointer             user_data);
2253 ControlPower *control_power_proxy_new_finish (
2254     GAsyncResult        *res,
2255     GError             **error);
2256 ControlPower *control_power_proxy_new_sync (
2257     GDBusConnection     *connection,
2258     GDBusProxyFlags      flags,
2259     const gchar         *name,
2260     const gchar         *object_path,
2261     GCancellable        *cancellable,
2262     GError             **error);
2263 
2264 void control_power_proxy_new_for_bus (
2265     GBusType             bus_type,
2266     GDBusProxyFlags      flags,
2267     const gchar         *name,
2268     const gchar         *object_path,
2269     GCancellable        *cancellable,
2270     GAsyncReadyCallback  callback,
2271     gpointer             user_data);
2272 ControlPower *control_power_proxy_new_for_bus_finish (
2273     GAsyncResult        *res,
2274     GError             **error);
2275 ControlPower *control_power_proxy_new_for_bus_sync (
2276     GBusType             bus_type,
2277     GDBusProxyFlags      flags,
2278     const gchar         *name,
2279     const gchar         *object_path,
2280     GCancellable        *cancellable,
2281     GError             **error);
2282 
2283 
2284 /* ---- */
2285 
2286 #define TYPE_CONTROL_POWER_SKELETON (control_power_skeleton_get_type ())
2287 #define CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeleton))
2288 #define CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass))
2289 #define CONTROL_POWER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass))
2290 #define IS_CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_SKELETON))
2291 #define IS_CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_SKELETON))
2292 
2293 typedef struct _ControlPowerSkeleton ControlPowerSkeleton;
2294 typedef struct _ControlPowerSkeletonClass ControlPowerSkeletonClass;
2295 typedef struct _ControlPowerSkeletonPrivate ControlPowerSkeletonPrivate;
2296 
2297 struct _ControlPowerSkeleton
2298 {
2299   /*< private >*/
2300   GDBusInterfaceSkeleton parent_instance;
2301   ControlPowerSkeletonPrivate *priv;
2302 };
2303 
2304 struct _ControlPowerSkeletonClass
2305 {
2306   GDBusInterfaceSkeletonClass parent_class;
2307 };
2308 
2309 GType control_power_skeleton_get_type (void) G_GNUC_CONST;
2310 
2311 ControlPower *control_power_skeleton_new (void);
2312 
2313 
2314 /* ------------------------------------------------------------------------ */
2315 /* Declarations for org.openbmc.control.Checkstop */
2316 
2317 #define TYPE_CONTROL_CHECKSTOP (control_checkstop_get_type ())
2318 #define CONTROL_CHECKSTOP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP, ControlCheckstop))
2319 #define IS_CONTROL_CHECKSTOP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP))
2320 #define CONTROL_CHECKSTOP_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_CHECKSTOP, ControlCheckstopIface))
2321 
2322 struct _ControlCheckstop;
2323 typedef struct _ControlCheckstop ControlCheckstop;
2324 typedef struct _ControlCheckstopIface ControlCheckstopIface;
2325 
2326 struct _ControlCheckstopIface
2327 {
2328   GTypeInterface parent_iface;
2329 };
2330 
2331 GType control_checkstop_get_type (void) G_GNUC_CONST;
2332 
2333 GDBusInterfaceInfo *control_checkstop_interface_info (void);
2334 guint control_checkstop_override_properties (GObjectClass *klass, guint property_id_begin);
2335 
2336 
2337 /* ---- */
2338 
2339 #define TYPE_CONTROL_CHECKSTOP_PROXY (control_checkstop_proxy_get_type ())
2340 #define CONTROL_CHECKSTOP_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxy))
2341 #define CONTROL_CHECKSTOP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxyClass))
2342 #define CONTROL_CHECKSTOP_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_CHECKSTOP_PROXY, ControlCheckstopProxyClass))
2343 #define IS_CONTROL_CHECKSTOP_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP_PROXY))
2344 #define IS_CONTROL_CHECKSTOP_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_CHECKSTOP_PROXY))
2345 
2346 typedef struct _ControlCheckstopProxy ControlCheckstopProxy;
2347 typedef struct _ControlCheckstopProxyClass ControlCheckstopProxyClass;
2348 typedef struct _ControlCheckstopProxyPrivate ControlCheckstopProxyPrivate;
2349 
2350 struct _ControlCheckstopProxy
2351 {
2352   /*< private >*/
2353   GDBusProxy parent_instance;
2354   ControlCheckstopProxyPrivate *priv;
2355 };
2356 
2357 struct _ControlCheckstopProxyClass
2358 {
2359   GDBusProxyClass parent_class;
2360 };
2361 
2362 GType control_checkstop_proxy_get_type (void) G_GNUC_CONST;
2363 
2364 void control_checkstop_proxy_new (
2365     GDBusConnection     *connection,
2366     GDBusProxyFlags      flags,
2367     const gchar         *name,
2368     const gchar         *object_path,
2369     GCancellable        *cancellable,
2370     GAsyncReadyCallback  callback,
2371     gpointer             user_data);
2372 ControlCheckstop *control_checkstop_proxy_new_finish (
2373     GAsyncResult        *res,
2374     GError             **error);
2375 ControlCheckstop *control_checkstop_proxy_new_sync (
2376     GDBusConnection     *connection,
2377     GDBusProxyFlags      flags,
2378     const gchar         *name,
2379     const gchar         *object_path,
2380     GCancellable        *cancellable,
2381     GError             **error);
2382 
2383 void control_checkstop_proxy_new_for_bus (
2384     GBusType             bus_type,
2385     GDBusProxyFlags      flags,
2386     const gchar         *name,
2387     const gchar         *object_path,
2388     GCancellable        *cancellable,
2389     GAsyncReadyCallback  callback,
2390     gpointer             user_data);
2391 ControlCheckstop *control_checkstop_proxy_new_for_bus_finish (
2392     GAsyncResult        *res,
2393     GError             **error);
2394 ControlCheckstop *control_checkstop_proxy_new_for_bus_sync (
2395     GBusType             bus_type,
2396     GDBusProxyFlags      flags,
2397     const gchar         *name,
2398     const gchar         *object_path,
2399     GCancellable        *cancellable,
2400     GError             **error);
2401 
2402 
2403 /* ---- */
2404 
2405 #define TYPE_CONTROL_CHECKSTOP_SKELETON (control_checkstop_skeleton_get_type ())
2406 #define CONTROL_CHECKSTOP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeleton))
2407 #define CONTROL_CHECKSTOP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeletonClass))
2408 #define CONTROL_CHECKSTOP_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_CHECKSTOP_SKELETON, ControlCheckstopSkeletonClass))
2409 #define IS_CONTROL_CHECKSTOP_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_CHECKSTOP_SKELETON))
2410 #define IS_CONTROL_CHECKSTOP_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_CHECKSTOP_SKELETON))
2411 
2412 typedef struct _ControlCheckstopSkeleton ControlCheckstopSkeleton;
2413 typedef struct _ControlCheckstopSkeletonClass ControlCheckstopSkeletonClass;
2414 typedef struct _ControlCheckstopSkeletonPrivate ControlCheckstopSkeletonPrivate;
2415 
2416 struct _ControlCheckstopSkeleton
2417 {
2418   /*< private >*/
2419   GDBusInterfaceSkeleton parent_instance;
2420   ControlCheckstopSkeletonPrivate *priv;
2421 };
2422 
2423 struct _ControlCheckstopSkeletonClass
2424 {
2425   GDBusInterfaceSkeletonClass parent_class;
2426 };
2427 
2428 GType control_checkstop_skeleton_get_type (void) G_GNUC_CONST;
2429 
2430 ControlCheckstop *control_checkstop_skeleton_new (void);
2431 
2432 
2433 /* ------------------------------------------------------------------------ */
2434 /* Declarations for org.openbmc.Watchdog */
2435 
2436 #define TYPE_WATCHDOG (watchdog_get_type ())
2437 #define WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG, Watchdog))
2438 #define IS_WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG))
2439 #define WATCHDOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_WATCHDOG, WatchdogIface))
2440 
2441 struct _Watchdog;
2442 typedef struct _Watchdog Watchdog;
2443 typedef struct _WatchdogIface WatchdogIface;
2444 
2445 struct _WatchdogIface
2446 {
2447   GTypeInterface parent_iface;
2448 
2449 
2450 
2451   gboolean (*handle_poke) (
2452     Watchdog *object,
2453     GDBusMethodInvocation *invocation);
2454 
2455   gboolean (*handle_set) (
2456     Watchdog *object,
2457     GDBusMethodInvocation *invocation,
2458     gint arg_interval);
2459 
2460   gboolean (*handle_start) (
2461     Watchdog *object,
2462     GDBusMethodInvocation *invocation);
2463 
2464   gboolean (*handle_stop) (
2465     Watchdog *object,
2466     GDBusMethodInvocation *invocation);
2467 
2468   gint  (*get_poll_interval) (Watchdog *object);
2469 
2470   gint  (*get_watchdog) (Watchdog *object);
2471 
2472   void (*watchdog_error) (
2473     Watchdog *object);
2474 
2475 };
2476 
2477 GType watchdog_get_type (void) G_GNUC_CONST;
2478 
2479 GDBusInterfaceInfo *watchdog_interface_info (void);
2480 guint watchdog_override_properties (GObjectClass *klass, guint property_id_begin);
2481 
2482 
2483 /* D-Bus method call completion functions: */
2484 void watchdog_complete_start (
2485     Watchdog *object,
2486     GDBusMethodInvocation *invocation);
2487 
2488 void watchdog_complete_poke (
2489     Watchdog *object,
2490     GDBusMethodInvocation *invocation);
2491 
2492 void watchdog_complete_stop (
2493     Watchdog *object,
2494     GDBusMethodInvocation *invocation);
2495 
2496 void watchdog_complete_set (
2497     Watchdog *object,
2498     GDBusMethodInvocation *invocation);
2499 
2500 
2501 
2502 /* D-Bus signal emissions functions: */
2503 void watchdog_emit_watchdog_error (
2504     Watchdog *object);
2505 
2506 
2507 
2508 /* D-Bus method calls: */
2509 void watchdog_call_start (
2510     Watchdog *proxy,
2511     GCancellable *cancellable,
2512     GAsyncReadyCallback callback,
2513     gpointer user_data);
2514 
2515 gboolean watchdog_call_start_finish (
2516     Watchdog *proxy,
2517     GAsyncResult *res,
2518     GError **error);
2519 
2520 gboolean watchdog_call_start_sync (
2521     Watchdog *proxy,
2522     GCancellable *cancellable,
2523     GError **error);
2524 
2525 void watchdog_call_poke (
2526     Watchdog *proxy,
2527     GCancellable *cancellable,
2528     GAsyncReadyCallback callback,
2529     gpointer user_data);
2530 
2531 gboolean watchdog_call_poke_finish (
2532     Watchdog *proxy,
2533     GAsyncResult *res,
2534     GError **error);
2535 
2536 gboolean watchdog_call_poke_sync (
2537     Watchdog *proxy,
2538     GCancellable *cancellable,
2539     GError **error);
2540 
2541 void watchdog_call_stop (
2542     Watchdog *proxy,
2543     GCancellable *cancellable,
2544     GAsyncReadyCallback callback,
2545     gpointer user_data);
2546 
2547 gboolean watchdog_call_stop_finish (
2548     Watchdog *proxy,
2549     GAsyncResult *res,
2550     GError **error);
2551 
2552 gboolean watchdog_call_stop_sync (
2553     Watchdog *proxy,
2554     GCancellable *cancellable,
2555     GError **error);
2556 
2557 void watchdog_call_set (
2558     Watchdog *proxy,
2559     gint arg_interval,
2560     GCancellable *cancellable,
2561     GAsyncReadyCallback callback,
2562     gpointer user_data);
2563 
2564 gboolean watchdog_call_set_finish (
2565     Watchdog *proxy,
2566     GAsyncResult *res,
2567     GError **error);
2568 
2569 gboolean watchdog_call_set_sync (
2570     Watchdog *proxy,
2571     gint arg_interval,
2572     GCancellable *cancellable,
2573     GError **error);
2574 
2575 
2576 
2577 /* D-Bus property accessors: */
2578 gint watchdog_get_watchdog (Watchdog *object);
2579 void watchdog_set_watchdog (Watchdog *object, gint value);
2580 
2581 gint watchdog_get_poll_interval (Watchdog *object);
2582 void watchdog_set_poll_interval (Watchdog *object, gint value);
2583 
2584 
2585 /* ---- */
2586 
2587 #define TYPE_WATCHDOG_PROXY (watchdog_proxy_get_type ())
2588 #define WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_PROXY, WatchdogProxy))
2589 #define WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_PROXY, WatchdogProxyClass))
2590 #define WATCHDOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_PROXY, WatchdogProxyClass))
2591 #define IS_WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_PROXY))
2592 #define IS_WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_PROXY))
2593 
2594 typedef struct _WatchdogProxy WatchdogProxy;
2595 typedef struct _WatchdogProxyClass WatchdogProxyClass;
2596 typedef struct _WatchdogProxyPrivate WatchdogProxyPrivate;
2597 
2598 struct _WatchdogProxy
2599 {
2600   /*< private >*/
2601   GDBusProxy parent_instance;
2602   WatchdogProxyPrivate *priv;
2603 };
2604 
2605 struct _WatchdogProxyClass
2606 {
2607   GDBusProxyClass parent_class;
2608 };
2609 
2610 GType watchdog_proxy_get_type (void) G_GNUC_CONST;
2611 
2612 void watchdog_proxy_new (
2613     GDBusConnection     *connection,
2614     GDBusProxyFlags      flags,
2615     const gchar         *name,
2616     const gchar         *object_path,
2617     GCancellable        *cancellable,
2618     GAsyncReadyCallback  callback,
2619     gpointer             user_data);
2620 Watchdog *watchdog_proxy_new_finish (
2621     GAsyncResult        *res,
2622     GError             **error);
2623 Watchdog *watchdog_proxy_new_sync (
2624     GDBusConnection     *connection,
2625     GDBusProxyFlags      flags,
2626     const gchar         *name,
2627     const gchar         *object_path,
2628     GCancellable        *cancellable,
2629     GError             **error);
2630 
2631 void watchdog_proxy_new_for_bus (
2632     GBusType             bus_type,
2633     GDBusProxyFlags      flags,
2634     const gchar         *name,
2635     const gchar         *object_path,
2636     GCancellable        *cancellable,
2637     GAsyncReadyCallback  callback,
2638     gpointer             user_data);
2639 Watchdog *watchdog_proxy_new_for_bus_finish (
2640     GAsyncResult        *res,
2641     GError             **error);
2642 Watchdog *watchdog_proxy_new_for_bus_sync (
2643     GBusType             bus_type,
2644     GDBusProxyFlags      flags,
2645     const gchar         *name,
2646     const gchar         *object_path,
2647     GCancellable        *cancellable,
2648     GError             **error);
2649 
2650 
2651 /* ---- */
2652 
2653 #define TYPE_WATCHDOG_SKELETON (watchdog_skeleton_get_type ())
2654 #define WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeleton))
2655 #define WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass))
2656 #define WATCHDOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass))
2657 #define IS_WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_SKELETON))
2658 #define IS_WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_SKELETON))
2659 
2660 typedef struct _WatchdogSkeleton WatchdogSkeleton;
2661 typedef struct _WatchdogSkeletonClass WatchdogSkeletonClass;
2662 typedef struct _WatchdogSkeletonPrivate WatchdogSkeletonPrivate;
2663 
2664 struct _WatchdogSkeleton
2665 {
2666   /*< private >*/
2667   GDBusInterfaceSkeleton parent_instance;
2668   WatchdogSkeletonPrivate *priv;
2669 };
2670 
2671 struct _WatchdogSkeletonClass
2672 {
2673   GDBusInterfaceSkeletonClass parent_class;
2674 };
2675 
2676 GType watchdog_skeleton_get_type (void) G_GNUC_CONST;
2677 
2678 Watchdog *watchdog_skeleton_new (void);
2679 
2680 
2681 /* ------------------------------------------------------------------------ */
2682 /* Declarations for org.openbmc.EventLog */
2683 
2684 #define TYPE_EVENT_LOG (event_log_get_type ())
2685 #define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog))
2686 #define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG))
2687 #define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface))
2688 
2689 struct _EventLog;
2690 typedef struct _EventLog EventLog;
2691 typedef struct _EventLogIface EventLogIface;
2692 
2693 struct _EventLogIface
2694 {
2695   GTypeInterface parent_iface;
2696 
2697 
2698   gboolean (*handle_get_event_log) (
2699     EventLog *object,
2700     GDBusMethodInvocation *invocation);
2701 
2702   void (*event_log) (
2703     EventLog *object,
2704     gint arg_priority,
2705     const gchar *arg_message,
2706     gint arg_rc);
2707 
2708 };
2709 
2710 GType event_log_get_type (void) G_GNUC_CONST;
2711 
2712 GDBusInterfaceInfo *event_log_interface_info (void);
2713 guint event_log_override_properties (GObjectClass *klass, guint property_id_begin);
2714 
2715 
2716 /* D-Bus method call completion functions: */
2717 void event_log_complete_get_event_log (
2718     EventLog *object,
2719     GDBusMethodInvocation *invocation,
2720     GVariant *log);
2721 
2722 
2723 
2724 /* D-Bus signal emissions functions: */
2725 void event_log_emit_event_log (
2726     EventLog *object,
2727     gint arg_priority,
2728     const gchar *arg_message,
2729     gint arg_rc);
2730 
2731 
2732 
2733 /* D-Bus method calls: */
2734 void event_log_call_get_event_log (
2735     EventLog *proxy,
2736     GCancellable *cancellable,
2737     GAsyncReadyCallback callback,
2738     gpointer user_data);
2739 
2740 gboolean event_log_call_get_event_log_finish (
2741     EventLog *proxy,
2742     GVariant **out_log,
2743     GAsyncResult *res,
2744     GError **error);
2745 
2746 gboolean event_log_call_get_event_log_sync (
2747     EventLog *proxy,
2748     GVariant **out_log,
2749     GCancellable *cancellable,
2750     GError **error);
2751 
2752 
2753 
2754 /* ---- */
2755 
2756 #define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ())
2757 #define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy))
2758 #define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
2759 #define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass))
2760 #define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY))
2761 #define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY))
2762 
2763 typedef struct _EventLogProxy EventLogProxy;
2764 typedef struct _EventLogProxyClass EventLogProxyClass;
2765 typedef struct _EventLogProxyPrivate EventLogProxyPrivate;
2766 
2767 struct _EventLogProxy
2768 {
2769   /*< private >*/
2770   GDBusProxy parent_instance;
2771   EventLogProxyPrivate *priv;
2772 };
2773 
2774 struct _EventLogProxyClass
2775 {
2776   GDBusProxyClass parent_class;
2777 };
2778 
2779 GType event_log_proxy_get_type (void) G_GNUC_CONST;
2780 
2781 void event_log_proxy_new (
2782     GDBusConnection     *connection,
2783     GDBusProxyFlags      flags,
2784     const gchar         *name,
2785     const gchar         *object_path,
2786     GCancellable        *cancellable,
2787     GAsyncReadyCallback  callback,
2788     gpointer             user_data);
2789 EventLog *event_log_proxy_new_finish (
2790     GAsyncResult        *res,
2791     GError             **error);
2792 EventLog *event_log_proxy_new_sync (
2793     GDBusConnection     *connection,
2794     GDBusProxyFlags      flags,
2795     const gchar         *name,
2796     const gchar         *object_path,
2797     GCancellable        *cancellable,
2798     GError             **error);
2799 
2800 void event_log_proxy_new_for_bus (
2801     GBusType             bus_type,
2802     GDBusProxyFlags      flags,
2803     const gchar         *name,
2804     const gchar         *object_path,
2805     GCancellable        *cancellable,
2806     GAsyncReadyCallback  callback,
2807     gpointer             user_data);
2808 EventLog *event_log_proxy_new_for_bus_finish (
2809     GAsyncResult        *res,
2810     GError             **error);
2811 EventLog *event_log_proxy_new_for_bus_sync (
2812     GBusType             bus_type,
2813     GDBusProxyFlags      flags,
2814     const gchar         *name,
2815     const gchar         *object_path,
2816     GCancellable        *cancellable,
2817     GError             **error);
2818 
2819 
2820 /* ---- */
2821 
2822 #define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ())
2823 #define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton))
2824 #define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
2825 #define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass))
2826 #define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON))
2827 #define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON))
2828 
2829 typedef struct _EventLogSkeleton EventLogSkeleton;
2830 typedef struct _EventLogSkeletonClass EventLogSkeletonClass;
2831 typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate;
2832 
2833 struct _EventLogSkeleton
2834 {
2835   /*< private >*/
2836   GDBusInterfaceSkeleton parent_instance;
2837   EventLogSkeletonPrivate *priv;
2838 };
2839 
2840 struct _EventLogSkeletonClass
2841 {
2842   GDBusInterfaceSkeletonClass parent_class;
2843 };
2844 
2845 GType event_log_skeleton_get_type (void) G_GNUC_CONST;
2846 
2847 EventLog *event_log_skeleton_new (void);
2848 
2849 
2850 /* ------------------------------------------------------------------------ */
2851 /* Declarations for org.openbmc.Flash */
2852 
2853 #define TYPE_FLASH (flash_get_type ())
2854 #define FLASH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH, Flash))
2855 #define IS_FLASH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH))
2856 #define FLASH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH, FlashIface))
2857 
2858 struct _Flash;
2859 typedef struct _Flash Flash;
2860 typedef struct _FlashIface FlashIface;
2861 
2862 struct _FlashIface
2863 {
2864   GTypeInterface parent_iface;
2865 
2866 
2867 
2868   gboolean (*handle_done) (
2869     Flash *object,
2870     GDBusMethodInvocation *invocation);
2871 
2872   gboolean (*handle_error) (
2873     Flash *object,
2874     GDBusMethodInvocation *invocation,
2875     const gchar *arg_message);
2876 
2877   gboolean (*handle_init) (
2878     Flash *object,
2879     GDBusMethodInvocation *invocation);
2880 
2881   gboolean (*handle_update) (
2882     Flash *object,
2883     GDBusMethodInvocation *invocation,
2884     const gchar *arg_filename);
2885 
2886   gboolean (*handle_update_via_tftp) (
2887     Flash *object,
2888     GDBusMethodInvocation *invocation,
2889     const gchar *arg_url,
2890     const gchar *arg_filename);
2891 
2892   const gchar * (*get_filename) (Flash *object);
2893 
2894   const gchar * (*get_flasher_instance) (Flash *object);
2895 
2896   const gchar * (*get_flasher_name) (Flash *object);
2897 
2898   const gchar * (*get_flasher_path) (Flash *object);
2899 
2900   const gchar * (*get_status) (Flash *object);
2901 
2902   void (*download) (
2903     Flash *object,
2904     const gchar *arg_url,
2905     const gchar *arg_filename);
2906 
2907   void (*updated) (
2908     Flash *object);
2909 
2910 };
2911 
2912 GType flash_get_type (void) G_GNUC_CONST;
2913 
2914 GDBusInterfaceInfo *flash_interface_info (void);
2915 guint flash_override_properties (GObjectClass *klass, guint property_id_begin);
2916 
2917 
2918 /* D-Bus method call completion functions: */
2919 void flash_complete_update (
2920     Flash *object,
2921     GDBusMethodInvocation *invocation);
2922 
2923 void flash_complete_error (
2924     Flash *object,
2925     GDBusMethodInvocation *invocation);
2926 
2927 void flash_complete_done (
2928     Flash *object,
2929     GDBusMethodInvocation *invocation);
2930 
2931 void flash_complete_update_via_tftp (
2932     Flash *object,
2933     GDBusMethodInvocation *invocation);
2934 
2935 void flash_complete_init (
2936     Flash *object,
2937     GDBusMethodInvocation *invocation);
2938 
2939 
2940 
2941 /* D-Bus signal emissions functions: */
2942 void flash_emit_updated (
2943     Flash *object);
2944 
2945 void flash_emit_download (
2946     Flash *object,
2947     const gchar *arg_url,
2948     const gchar *arg_filename);
2949 
2950 
2951 
2952 /* D-Bus method calls: */
2953 void flash_call_update (
2954     Flash *proxy,
2955     const gchar *arg_filename,
2956     GCancellable *cancellable,
2957     GAsyncReadyCallback callback,
2958     gpointer user_data);
2959 
2960 gboolean flash_call_update_finish (
2961     Flash *proxy,
2962     GAsyncResult *res,
2963     GError **error);
2964 
2965 gboolean flash_call_update_sync (
2966     Flash *proxy,
2967     const gchar *arg_filename,
2968     GCancellable *cancellable,
2969     GError **error);
2970 
2971 void flash_call_error (
2972     Flash *proxy,
2973     const gchar *arg_message,
2974     GCancellable *cancellable,
2975     GAsyncReadyCallback callback,
2976     gpointer user_data);
2977 
2978 gboolean flash_call_error_finish (
2979     Flash *proxy,
2980     GAsyncResult *res,
2981     GError **error);
2982 
2983 gboolean flash_call_error_sync (
2984     Flash *proxy,
2985     const gchar *arg_message,
2986     GCancellable *cancellable,
2987     GError **error);
2988 
2989 void flash_call_done (
2990     Flash *proxy,
2991     GCancellable *cancellable,
2992     GAsyncReadyCallback callback,
2993     gpointer user_data);
2994 
2995 gboolean flash_call_done_finish (
2996     Flash *proxy,
2997     GAsyncResult *res,
2998     GError **error);
2999 
3000 gboolean flash_call_done_sync (
3001     Flash *proxy,
3002     GCancellable *cancellable,
3003     GError **error);
3004 
3005 void flash_call_update_via_tftp (
3006     Flash *proxy,
3007     const gchar *arg_url,
3008     const gchar *arg_filename,
3009     GCancellable *cancellable,
3010     GAsyncReadyCallback callback,
3011     gpointer user_data);
3012 
3013 gboolean flash_call_update_via_tftp_finish (
3014     Flash *proxy,
3015     GAsyncResult *res,
3016     GError **error);
3017 
3018 gboolean flash_call_update_via_tftp_sync (
3019     Flash *proxy,
3020     const gchar *arg_url,
3021     const gchar *arg_filename,
3022     GCancellable *cancellable,
3023     GError **error);
3024 
3025 void flash_call_init (
3026     Flash *proxy,
3027     GCancellable *cancellable,
3028     GAsyncReadyCallback callback,
3029     gpointer user_data);
3030 
3031 gboolean flash_call_init_finish (
3032     Flash *proxy,
3033     GAsyncResult *res,
3034     GError **error);
3035 
3036 gboolean flash_call_init_sync (
3037     Flash *proxy,
3038     GCancellable *cancellable,
3039     GError **error);
3040 
3041 
3042 
3043 /* D-Bus property accessors: */
3044 const gchar *flash_get_filename (Flash *object);
3045 gchar *flash_dup_filename (Flash *object);
3046 void flash_set_filename (Flash *object, const gchar *value);
3047 
3048 const gchar *flash_get_flasher_path (Flash *object);
3049 gchar *flash_dup_flasher_path (Flash *object);
3050 void flash_set_flasher_path (Flash *object, const gchar *value);
3051 
3052 const gchar *flash_get_flasher_name (Flash *object);
3053 gchar *flash_dup_flasher_name (Flash *object);
3054 void flash_set_flasher_name (Flash *object, const gchar *value);
3055 
3056 const gchar *flash_get_flasher_instance (Flash *object);
3057 gchar *flash_dup_flasher_instance (Flash *object);
3058 void flash_set_flasher_instance (Flash *object, const gchar *value);
3059 
3060 const gchar *flash_get_status (Flash *object);
3061 gchar *flash_dup_status (Flash *object);
3062 void flash_set_status (Flash *object, const gchar *value);
3063 
3064 
3065 /* ---- */
3066 
3067 #define TYPE_FLASH_PROXY (flash_proxy_get_type ())
3068 #define FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_PROXY, FlashProxy))
3069 #define FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_PROXY, FlashProxyClass))
3070 #define FLASH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_PROXY, FlashProxyClass))
3071 #define IS_FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_PROXY))
3072 #define IS_FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_PROXY))
3073 
3074 typedef struct _FlashProxy FlashProxy;
3075 typedef struct _FlashProxyClass FlashProxyClass;
3076 typedef struct _FlashProxyPrivate FlashProxyPrivate;
3077 
3078 struct _FlashProxy
3079 {
3080   /*< private >*/
3081   GDBusProxy parent_instance;
3082   FlashProxyPrivate *priv;
3083 };
3084 
3085 struct _FlashProxyClass
3086 {
3087   GDBusProxyClass parent_class;
3088 };
3089 
3090 GType flash_proxy_get_type (void) G_GNUC_CONST;
3091 
3092 void flash_proxy_new (
3093     GDBusConnection     *connection,
3094     GDBusProxyFlags      flags,
3095     const gchar         *name,
3096     const gchar         *object_path,
3097     GCancellable        *cancellable,
3098     GAsyncReadyCallback  callback,
3099     gpointer             user_data);
3100 Flash *flash_proxy_new_finish (
3101     GAsyncResult        *res,
3102     GError             **error);
3103 Flash *flash_proxy_new_sync (
3104     GDBusConnection     *connection,
3105     GDBusProxyFlags      flags,
3106     const gchar         *name,
3107     const gchar         *object_path,
3108     GCancellable        *cancellable,
3109     GError             **error);
3110 
3111 void flash_proxy_new_for_bus (
3112     GBusType             bus_type,
3113     GDBusProxyFlags      flags,
3114     const gchar         *name,
3115     const gchar         *object_path,
3116     GCancellable        *cancellable,
3117     GAsyncReadyCallback  callback,
3118     gpointer             user_data);
3119 Flash *flash_proxy_new_for_bus_finish (
3120     GAsyncResult        *res,
3121     GError             **error);
3122 Flash *flash_proxy_new_for_bus_sync (
3123     GBusType             bus_type,
3124     GDBusProxyFlags      flags,
3125     const gchar         *name,
3126     const gchar         *object_path,
3127     GCancellable        *cancellable,
3128     GError             **error);
3129 
3130 
3131 /* ---- */
3132 
3133 #define TYPE_FLASH_SKELETON (flash_skeleton_get_type ())
3134 #define FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_SKELETON, FlashSkeleton))
3135 #define FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_SKELETON, FlashSkeletonClass))
3136 #define FLASH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_SKELETON, FlashSkeletonClass))
3137 #define IS_FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_SKELETON))
3138 #define IS_FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_SKELETON))
3139 
3140 typedef struct _FlashSkeleton FlashSkeleton;
3141 typedef struct _FlashSkeletonClass FlashSkeletonClass;
3142 typedef struct _FlashSkeletonPrivate FlashSkeletonPrivate;
3143 
3144 struct _FlashSkeleton
3145 {
3146   /*< private >*/
3147   GDBusInterfaceSkeleton parent_instance;
3148   FlashSkeletonPrivate *priv;
3149 };
3150 
3151 struct _FlashSkeletonClass
3152 {
3153   GDBusInterfaceSkeletonClass parent_class;
3154 };
3155 
3156 GType flash_skeleton_get_type (void) G_GNUC_CONST;
3157 
3158 Flash *flash_skeleton_new (void);
3159 
3160 
3161 /* ------------------------------------------------------------------------ */
3162 /* Declarations for org.openbmc.FlashControl */
3163 
3164 #define TYPE_FLASH_CONTROL (flash_control_get_type ())
3165 #define FLASH_CONTROL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL, FlashControl))
3166 #define IS_FLASH_CONTROL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL))
3167 #define FLASH_CONTROL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH_CONTROL, FlashControlIface))
3168 
3169 struct _FlashControl;
3170 typedef struct _FlashControl FlashControl;
3171 typedef struct _FlashControlIface FlashControlIface;
3172 
3173 struct _FlashControlIface
3174 {
3175   GTypeInterface parent_iface;
3176 
3177 
3178 
3179   gboolean (*handle_flash) (
3180     FlashControl *object,
3181     GDBusMethodInvocation *invocation,
3182     const gchar *arg_type,
3183     const gchar *arg_filename);
3184 
3185   const gchar * (*get_filename) (FlashControl *object);
3186 
3187   const gchar * (*get_type_) (FlashControl *object);
3188 
3189   void (*done) (
3190     FlashControl *object,
3191     const gchar *arg_filename);
3192 
3193   void (*error) (
3194     FlashControl *object,
3195     const gchar *arg_filename);
3196 
3197   void (*progress) (
3198     FlashControl *object,
3199     const gchar *arg_filename,
3200     guchar arg_progress);
3201 
3202 };
3203 
3204 GType flash_control_get_type (void) G_GNUC_CONST;
3205 
3206 GDBusInterfaceInfo *flash_control_interface_info (void);
3207 guint flash_control_override_properties (GObjectClass *klass, guint property_id_begin);
3208 
3209 
3210 /* D-Bus method call completion functions: */
3211 void flash_control_complete_flash (
3212     FlashControl *object,
3213     GDBusMethodInvocation *invocation);
3214 
3215 
3216 
3217 /* D-Bus signal emissions functions: */
3218 void flash_control_emit_done (
3219     FlashControl *object,
3220     const gchar *arg_filename);
3221 
3222 void flash_control_emit_error (
3223     FlashControl *object,
3224     const gchar *arg_filename);
3225 
3226 void flash_control_emit_progress (
3227     FlashControl *object,
3228     const gchar *arg_filename,
3229     guchar arg_progress);
3230 
3231 
3232 
3233 /* D-Bus method calls: */
3234 void flash_control_call_flash (
3235     FlashControl *proxy,
3236     const gchar *arg_type,
3237     const gchar *arg_filename,
3238     GCancellable *cancellable,
3239     GAsyncReadyCallback callback,
3240     gpointer user_data);
3241 
3242 gboolean flash_control_call_flash_finish (
3243     FlashControl *proxy,
3244     GAsyncResult *res,
3245     GError **error);
3246 
3247 gboolean flash_control_call_flash_sync (
3248     FlashControl *proxy,
3249     const gchar *arg_type,
3250     const gchar *arg_filename,
3251     GCancellable *cancellable,
3252     GError **error);
3253 
3254 
3255 
3256 /* D-Bus property accessors: */
3257 const gchar *flash_control_get_filename (FlashControl *object);
3258 gchar *flash_control_dup_filename (FlashControl *object);
3259 void flash_control_set_filename (FlashControl *object, const gchar *value);
3260 
3261 const gchar *flash_control_get_type_ (FlashControl *object);
3262 gchar *flash_control_dup_type_ (FlashControl *object);
3263 void flash_control_set_type_ (FlashControl *object, const gchar *value);
3264 
3265 
3266 /* ---- */
3267 
3268 #define TYPE_FLASH_CONTROL_PROXY (flash_control_proxy_get_type ())
3269 #define FLASH_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL_PROXY, FlashControlProxy))
3270 #define FLASH_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_CONTROL_PROXY, FlashControlProxyClass))
3271 #define FLASH_CONTROL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_CONTROL_PROXY, FlashControlProxyClass))
3272 #define IS_FLASH_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL_PROXY))
3273 #define IS_FLASH_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_CONTROL_PROXY))
3274 
3275 typedef struct _FlashControlProxy FlashControlProxy;
3276 typedef struct _FlashControlProxyClass FlashControlProxyClass;
3277 typedef struct _FlashControlProxyPrivate FlashControlProxyPrivate;
3278 
3279 struct _FlashControlProxy
3280 {
3281   /*< private >*/
3282   GDBusProxy parent_instance;
3283   FlashControlProxyPrivate *priv;
3284 };
3285 
3286 struct _FlashControlProxyClass
3287 {
3288   GDBusProxyClass parent_class;
3289 };
3290 
3291 GType flash_control_proxy_get_type (void) G_GNUC_CONST;
3292 
3293 void flash_control_proxy_new (
3294     GDBusConnection     *connection,
3295     GDBusProxyFlags      flags,
3296     const gchar         *name,
3297     const gchar         *object_path,
3298     GCancellable        *cancellable,
3299     GAsyncReadyCallback  callback,
3300     gpointer             user_data);
3301 FlashControl *flash_control_proxy_new_finish (
3302     GAsyncResult        *res,
3303     GError             **error);
3304 FlashControl *flash_control_proxy_new_sync (
3305     GDBusConnection     *connection,
3306     GDBusProxyFlags      flags,
3307     const gchar         *name,
3308     const gchar         *object_path,
3309     GCancellable        *cancellable,
3310     GError             **error);
3311 
3312 void flash_control_proxy_new_for_bus (
3313     GBusType             bus_type,
3314     GDBusProxyFlags      flags,
3315     const gchar         *name,
3316     const gchar         *object_path,
3317     GCancellable        *cancellable,
3318     GAsyncReadyCallback  callback,
3319     gpointer             user_data);
3320 FlashControl *flash_control_proxy_new_for_bus_finish (
3321     GAsyncResult        *res,
3322     GError             **error);
3323 FlashControl *flash_control_proxy_new_for_bus_sync (
3324     GBusType             bus_type,
3325     GDBusProxyFlags      flags,
3326     const gchar         *name,
3327     const gchar         *object_path,
3328     GCancellable        *cancellable,
3329     GError             **error);
3330 
3331 
3332 /* ---- */
3333 
3334 #define TYPE_FLASH_CONTROL_SKELETON (flash_control_skeleton_get_type ())
3335 #define FLASH_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeleton))
3336 #define FLASH_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeletonClass))
3337 #define FLASH_CONTROL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_CONTROL_SKELETON, FlashControlSkeletonClass))
3338 #define IS_FLASH_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_CONTROL_SKELETON))
3339 #define IS_FLASH_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_CONTROL_SKELETON))
3340 
3341 typedef struct _FlashControlSkeleton FlashControlSkeleton;
3342 typedef struct _FlashControlSkeletonClass FlashControlSkeletonClass;
3343 typedef struct _FlashControlSkeletonPrivate FlashControlSkeletonPrivate;
3344 
3345 struct _FlashControlSkeleton
3346 {
3347   /*< private >*/
3348   GDBusInterfaceSkeleton parent_instance;
3349   FlashControlSkeletonPrivate *priv;
3350 };
3351 
3352 struct _FlashControlSkeletonClass
3353 {
3354   GDBusInterfaceSkeletonClass parent_class;
3355 };
3356 
3357 GType flash_control_skeleton_get_type (void) G_GNUC_CONST;
3358 
3359 FlashControl *flash_control_skeleton_new (void);
3360 
3361 
3362 /* ------------------------------------------------------------------------ */
3363 /* Declarations for org.openbmc.Button */
3364 
3365 #define TYPE_BUTTON (button_get_type ())
3366 #define BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON, Button))
3367 #define IS_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON))
3368 #define BUTTON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_BUTTON, ButtonIface))
3369 
3370 struct _Button;
3371 typedef struct _Button Button;
3372 typedef struct _ButtonIface ButtonIface;
3373 
3374 struct _ButtonIface
3375 {
3376   GTypeInterface parent_iface;
3377 
3378 
3379 
3380   gboolean (*handle_is_on) (
3381     Button *object,
3382     GDBusMethodInvocation *invocation);
3383 
3384   gboolean (*handle_sim_long_press) (
3385     Button *object,
3386     GDBusMethodInvocation *invocation);
3387 
3388   gboolean (*handle_sim_press) (
3389     Button *object,
3390     GDBusMethodInvocation *invocation);
3391 
3392   gboolean  (*get_state) (Button *object);
3393 
3394   guint64  (*get_timer) (Button *object);
3395 
3396   void (*pressed) (
3397     Button *object);
3398 
3399   void (*pressed_long) (
3400     Button *object);
3401 
3402   void (*released) (
3403     Button *object);
3404 
3405 };
3406 
3407 GType button_get_type (void) G_GNUC_CONST;
3408 
3409 GDBusInterfaceInfo *button_interface_info (void);
3410 guint button_override_properties (GObjectClass *klass, guint property_id_begin);
3411 
3412 
3413 /* D-Bus method call completion functions: */
3414 void button_complete_is_on (
3415     Button *object,
3416     GDBusMethodInvocation *invocation,
3417     gboolean state);
3418 
3419 void button_complete_sim_press (
3420     Button *object,
3421     GDBusMethodInvocation *invocation);
3422 
3423 void button_complete_sim_long_press (
3424     Button *object,
3425     GDBusMethodInvocation *invocation);
3426 
3427 
3428 
3429 /* D-Bus signal emissions functions: */
3430 void button_emit_released (
3431     Button *object);
3432 
3433 void button_emit_pressed (
3434     Button *object);
3435 
3436 void button_emit_pressed_long (
3437     Button *object);
3438 
3439 
3440 
3441 /* D-Bus method calls: */
3442 void button_call_is_on (
3443     Button *proxy,
3444     GCancellable *cancellable,
3445     GAsyncReadyCallback callback,
3446     gpointer user_data);
3447 
3448 gboolean button_call_is_on_finish (
3449     Button *proxy,
3450     gboolean *out_state,
3451     GAsyncResult *res,
3452     GError **error);
3453 
3454 gboolean button_call_is_on_sync (
3455     Button *proxy,
3456     gboolean *out_state,
3457     GCancellable *cancellable,
3458     GError **error);
3459 
3460 void button_call_sim_press (
3461     Button *proxy,
3462     GCancellable *cancellable,
3463     GAsyncReadyCallback callback,
3464     gpointer user_data);
3465 
3466 gboolean button_call_sim_press_finish (
3467     Button *proxy,
3468     GAsyncResult *res,
3469     GError **error);
3470 
3471 gboolean button_call_sim_press_sync (
3472     Button *proxy,
3473     GCancellable *cancellable,
3474     GError **error);
3475 
3476 void button_call_sim_long_press (
3477     Button *proxy,
3478     GCancellable *cancellable,
3479     GAsyncReadyCallback callback,
3480     gpointer user_data);
3481 
3482 gboolean button_call_sim_long_press_finish (
3483     Button *proxy,
3484     GAsyncResult *res,
3485     GError **error);
3486 
3487 gboolean button_call_sim_long_press_sync (
3488     Button *proxy,
3489     GCancellable *cancellable,
3490     GError **error);
3491 
3492 
3493 
3494 /* D-Bus property accessors: */
3495 gboolean button_get_state (Button *object);
3496 void button_set_state (Button *object, gboolean value);
3497 
3498 guint64 button_get_timer (Button *object);
3499 void button_set_timer (Button *object, guint64 value);
3500 
3501 
3502 /* ---- */
3503 
3504 #define TYPE_BUTTON_PROXY (button_proxy_get_type ())
3505 #define BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_PROXY, ButtonProxy))
3506 #define BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_PROXY, ButtonProxyClass))
3507 #define BUTTON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_PROXY, ButtonProxyClass))
3508 #define IS_BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_PROXY))
3509 #define IS_BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_PROXY))
3510 
3511 typedef struct _ButtonProxy ButtonProxy;
3512 typedef struct _ButtonProxyClass ButtonProxyClass;
3513 typedef struct _ButtonProxyPrivate ButtonProxyPrivate;
3514 
3515 struct _ButtonProxy
3516 {
3517   /*< private >*/
3518   GDBusProxy parent_instance;
3519   ButtonProxyPrivate *priv;
3520 };
3521 
3522 struct _ButtonProxyClass
3523 {
3524   GDBusProxyClass parent_class;
3525 };
3526 
3527 GType button_proxy_get_type (void) G_GNUC_CONST;
3528 
3529 void button_proxy_new (
3530     GDBusConnection     *connection,
3531     GDBusProxyFlags      flags,
3532     const gchar         *name,
3533     const gchar         *object_path,
3534     GCancellable        *cancellable,
3535     GAsyncReadyCallback  callback,
3536     gpointer             user_data);
3537 Button *button_proxy_new_finish (
3538     GAsyncResult        *res,
3539     GError             **error);
3540 Button *button_proxy_new_sync (
3541     GDBusConnection     *connection,
3542     GDBusProxyFlags      flags,
3543     const gchar         *name,
3544     const gchar         *object_path,
3545     GCancellable        *cancellable,
3546     GError             **error);
3547 
3548 void button_proxy_new_for_bus (
3549     GBusType             bus_type,
3550     GDBusProxyFlags      flags,
3551     const gchar         *name,
3552     const gchar         *object_path,
3553     GCancellable        *cancellable,
3554     GAsyncReadyCallback  callback,
3555     gpointer             user_data);
3556 Button *button_proxy_new_for_bus_finish (
3557     GAsyncResult        *res,
3558     GError             **error);
3559 Button *button_proxy_new_for_bus_sync (
3560     GBusType             bus_type,
3561     GDBusProxyFlags      flags,
3562     const gchar         *name,
3563     const gchar         *object_path,
3564     GCancellable        *cancellable,
3565     GError             **error);
3566 
3567 
3568 /* ---- */
3569 
3570 #define TYPE_BUTTON_SKELETON (button_skeleton_get_type ())
3571 #define BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_SKELETON, ButtonSkeleton))
3572 #define BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_SKELETON, ButtonSkeletonClass))
3573 #define BUTTON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_SKELETON, ButtonSkeletonClass))
3574 #define IS_BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_SKELETON))
3575 #define IS_BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_SKELETON))
3576 
3577 typedef struct _ButtonSkeleton ButtonSkeleton;
3578 typedef struct _ButtonSkeletonClass ButtonSkeletonClass;
3579 typedef struct _ButtonSkeletonPrivate ButtonSkeletonPrivate;
3580 
3581 struct _ButtonSkeleton
3582 {
3583   /*< private >*/
3584   GDBusInterfaceSkeleton parent_instance;
3585   ButtonSkeletonPrivate *priv;
3586 };
3587 
3588 struct _ButtonSkeletonClass
3589 {
3590   GDBusInterfaceSkeletonClass parent_class;
3591 };
3592 
3593 GType button_skeleton_get_type (void) G_GNUC_CONST;
3594 
3595 Button *button_skeleton_new (void);
3596 
3597 
3598 /* ------------------------------------------------------------------------ */
3599 /* Declarations for org.openbmc.Led */
3600 
3601 #define TYPE_LED (led_get_type ())
3602 #define LED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED, Led))
3603 #define IS_LED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED))
3604 #define LED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_LED, LedIface))
3605 
3606 struct _Led;
3607 typedef struct _Led Led;
3608 typedef struct _LedIface LedIface;
3609 
3610 struct _LedIface
3611 {
3612   GTypeInterface parent_iface;
3613 
3614 
3615   gboolean (*handle_set_blink_fast) (
3616     Led *object,
3617     GDBusMethodInvocation *invocation);
3618 
3619   gboolean (*handle_set_blink_slow) (
3620     Led *object,
3621     GDBusMethodInvocation *invocation);
3622 
3623   gboolean (*handle_set_off) (
3624     Led *object,
3625     GDBusMethodInvocation *invocation);
3626 
3627   gboolean (*handle_set_on) (
3628     Led *object,
3629     GDBusMethodInvocation *invocation);
3630 
3631   gint  (*get_color) (Led *object);
3632 
3633   const gchar * (*get_function) (Led *object);
3634 
3635   const gchar * (*get_state) (Led *object);
3636 
3637 };
3638 
3639 GType led_get_type (void) G_GNUC_CONST;
3640 
3641 GDBusInterfaceInfo *led_interface_info (void);
3642 guint led_override_properties (GObjectClass *klass, guint property_id_begin);
3643 
3644 
3645 /* D-Bus method call completion functions: */
3646 void led_complete_set_on (
3647     Led *object,
3648     GDBusMethodInvocation *invocation);
3649 
3650 void led_complete_set_off (
3651     Led *object,
3652     GDBusMethodInvocation *invocation);
3653 
3654 void led_complete_set_blink_slow (
3655     Led *object,
3656     GDBusMethodInvocation *invocation);
3657 
3658 void led_complete_set_blink_fast (
3659     Led *object,
3660     GDBusMethodInvocation *invocation);
3661 
3662 
3663 
3664 /* D-Bus method calls: */
3665 void led_call_set_on (
3666     Led *proxy,
3667     GCancellable *cancellable,
3668     GAsyncReadyCallback callback,
3669     gpointer user_data);
3670 
3671 gboolean led_call_set_on_finish (
3672     Led *proxy,
3673     GAsyncResult *res,
3674     GError **error);
3675 
3676 gboolean led_call_set_on_sync (
3677     Led *proxy,
3678     GCancellable *cancellable,
3679     GError **error);
3680 
3681 void led_call_set_off (
3682     Led *proxy,
3683     GCancellable *cancellable,
3684     GAsyncReadyCallback callback,
3685     gpointer user_data);
3686 
3687 gboolean led_call_set_off_finish (
3688     Led *proxy,
3689     GAsyncResult *res,
3690     GError **error);
3691 
3692 gboolean led_call_set_off_sync (
3693     Led *proxy,
3694     GCancellable *cancellable,
3695     GError **error);
3696 
3697 void led_call_set_blink_slow (
3698     Led *proxy,
3699     GCancellable *cancellable,
3700     GAsyncReadyCallback callback,
3701     gpointer user_data);
3702 
3703 gboolean led_call_set_blink_slow_finish (
3704     Led *proxy,
3705     GAsyncResult *res,
3706     GError **error);
3707 
3708 gboolean led_call_set_blink_slow_sync (
3709     Led *proxy,
3710     GCancellable *cancellable,
3711     GError **error);
3712 
3713 void led_call_set_blink_fast (
3714     Led *proxy,
3715     GCancellable *cancellable,
3716     GAsyncReadyCallback callback,
3717     gpointer user_data);
3718 
3719 gboolean led_call_set_blink_fast_finish (
3720     Led *proxy,
3721     GAsyncResult *res,
3722     GError **error);
3723 
3724 gboolean led_call_set_blink_fast_sync (
3725     Led *proxy,
3726     GCancellable *cancellable,
3727     GError **error);
3728 
3729 
3730 
3731 /* D-Bus property accessors: */
3732 gint led_get_color (Led *object);
3733 void led_set_color (Led *object, gint value);
3734 
3735 const gchar *led_get_function (Led *object);
3736 gchar *led_dup_function (Led *object);
3737 void led_set_function (Led *object, const gchar *value);
3738 
3739 const gchar *led_get_state (Led *object);
3740 gchar *led_dup_state (Led *object);
3741 void led_set_state (Led *object, const gchar *value);
3742 
3743 
3744 /* ---- */
3745 
3746 #define TYPE_LED_PROXY (led_proxy_get_type ())
3747 #define LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_PROXY, LedProxy))
3748 #define LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_PROXY, LedProxyClass))
3749 #define LED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_PROXY, LedProxyClass))
3750 #define IS_LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_PROXY))
3751 #define IS_LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_PROXY))
3752 
3753 typedef struct _LedProxy LedProxy;
3754 typedef struct _LedProxyClass LedProxyClass;
3755 typedef struct _LedProxyPrivate LedProxyPrivate;
3756 
3757 struct _LedProxy
3758 {
3759   /*< private >*/
3760   GDBusProxy parent_instance;
3761   LedProxyPrivate *priv;
3762 };
3763 
3764 struct _LedProxyClass
3765 {
3766   GDBusProxyClass parent_class;
3767 };
3768 
3769 GType led_proxy_get_type (void) G_GNUC_CONST;
3770 
3771 void led_proxy_new (
3772     GDBusConnection     *connection,
3773     GDBusProxyFlags      flags,
3774     const gchar         *name,
3775     const gchar         *object_path,
3776     GCancellable        *cancellable,
3777     GAsyncReadyCallback  callback,
3778     gpointer             user_data);
3779 Led *led_proxy_new_finish (
3780     GAsyncResult        *res,
3781     GError             **error);
3782 Led *led_proxy_new_sync (
3783     GDBusConnection     *connection,
3784     GDBusProxyFlags      flags,
3785     const gchar         *name,
3786     const gchar         *object_path,
3787     GCancellable        *cancellable,
3788     GError             **error);
3789 
3790 void led_proxy_new_for_bus (
3791     GBusType             bus_type,
3792     GDBusProxyFlags      flags,
3793     const gchar         *name,
3794     const gchar         *object_path,
3795     GCancellable        *cancellable,
3796     GAsyncReadyCallback  callback,
3797     gpointer             user_data);
3798 Led *led_proxy_new_for_bus_finish (
3799     GAsyncResult        *res,
3800     GError             **error);
3801 Led *led_proxy_new_for_bus_sync (
3802     GBusType             bus_type,
3803     GDBusProxyFlags      flags,
3804     const gchar         *name,
3805     const gchar         *object_path,
3806     GCancellable        *cancellable,
3807     GError             **error);
3808 
3809 
3810 /* ---- */
3811 
3812 #define TYPE_LED_SKELETON (led_skeleton_get_type ())
3813 #define LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_SKELETON, LedSkeleton))
3814 #define LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_SKELETON, LedSkeletonClass))
3815 #define LED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_SKELETON, LedSkeletonClass))
3816 #define IS_LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_SKELETON))
3817 #define IS_LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_SKELETON))
3818 
3819 typedef struct _LedSkeleton LedSkeleton;
3820 typedef struct _LedSkeletonClass LedSkeletonClass;
3821 typedef struct _LedSkeletonPrivate LedSkeletonPrivate;
3822 
3823 struct _LedSkeleton
3824 {
3825   /*< private >*/
3826   GDBusInterfaceSkeleton parent_instance;
3827   LedSkeletonPrivate *priv;
3828 };
3829 
3830 struct _LedSkeletonClass
3831 {
3832   GDBusInterfaceSkeletonClass parent_class;
3833 };
3834 
3835 GType led_skeleton_get_type (void) G_GNUC_CONST;
3836 
3837 Led *led_skeleton_new (void);
3838 
3839 
3840 /* ------------------------------------------------------------------------ */
3841 /* Declarations for org.openbmc.HostIpmi */
3842 
3843 #define TYPE_HOST_IPMI (host_ipmi_get_type ())
3844 #define HOST_IPMI(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI, HostIpmi))
3845 #define IS_HOST_IPMI(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI))
3846 #define HOST_IPMI_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_HOST_IPMI, HostIpmiIface))
3847 
3848 struct _HostIpmi;
3849 typedef struct _HostIpmi HostIpmi;
3850 typedef struct _HostIpmiIface HostIpmiIface;
3851 
3852 struct _HostIpmiIface
3853 {
3854   GTypeInterface parent_iface;
3855 
3856 
3857   gboolean (*handle_send_message) (
3858     HostIpmi *object,
3859     GDBusMethodInvocation *invocation,
3860     guchar arg_seq,
3861     guchar arg_netfn,
3862     guchar arg_cmd,
3863     const gchar *arg_data);
3864 
3865   void (*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 GType host_ipmi_get_type (void) G_GNUC_CONST;
3875 
3876 GDBusInterfaceInfo *host_ipmi_interface_info (void);
3877 guint host_ipmi_override_properties (GObjectClass *klass, guint property_id_begin);
3878 
3879 
3880 /* D-Bus method call completion functions: */
3881 void host_ipmi_complete_send_message (
3882     HostIpmi *object,
3883     GDBusMethodInvocation *invocation,
3884     gint64 unnamed_arg4);
3885 
3886 
3887 
3888 /* D-Bus signal emissions functions: */
3889 void host_ipmi_emit_received_message (
3890     HostIpmi *object,
3891     guchar arg_seq,
3892     guchar arg_netfn,
3893     guchar arg_cmd,
3894     const gchar *arg_data);
3895 
3896 
3897 
3898 /* D-Bus method calls: */
3899 void host_ipmi_call_send_message (
3900     HostIpmi *proxy,
3901     guchar arg_seq,
3902     guchar arg_netfn,
3903     guchar arg_cmd,
3904     const gchar *arg_data,
3905     GCancellable *cancellable,
3906     GAsyncReadyCallback callback,
3907     gpointer user_data);
3908 
3909 gboolean host_ipmi_call_send_message_finish (
3910     HostIpmi *proxy,
3911     gint64 *out_unnamed_arg4,
3912     GAsyncResult *res,
3913     GError **error);
3914 
3915 gboolean host_ipmi_call_send_message_sync (
3916     HostIpmi *proxy,
3917     guchar arg_seq,
3918     guchar arg_netfn,
3919     guchar arg_cmd,
3920     const gchar *arg_data,
3921     gint64 *out_unnamed_arg4,
3922     GCancellable *cancellable,
3923     GError **error);
3924 
3925 
3926 
3927 /* ---- */
3928 
3929 #define TYPE_HOST_IPMI_PROXY (host_ipmi_proxy_get_type ())
3930 #define HOST_IPMI_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI_PROXY, HostIpmiProxy))
3931 #define HOST_IPMI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOST_IPMI_PROXY, HostIpmiProxyClass))
3932 #define HOST_IPMI_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOST_IPMI_PROXY, HostIpmiProxyClass))
3933 #define IS_HOST_IPMI_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI_PROXY))
3934 #define IS_HOST_IPMI_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOST_IPMI_PROXY))
3935 
3936 typedef struct _HostIpmiProxy HostIpmiProxy;
3937 typedef struct _HostIpmiProxyClass HostIpmiProxyClass;
3938 typedef struct _HostIpmiProxyPrivate HostIpmiProxyPrivate;
3939 
3940 struct _HostIpmiProxy
3941 {
3942   /*< private >*/
3943   GDBusProxy parent_instance;
3944   HostIpmiProxyPrivate *priv;
3945 };
3946 
3947 struct _HostIpmiProxyClass
3948 {
3949   GDBusProxyClass parent_class;
3950 };
3951 
3952 GType host_ipmi_proxy_get_type (void) G_GNUC_CONST;
3953 
3954 void host_ipmi_proxy_new (
3955     GDBusConnection     *connection,
3956     GDBusProxyFlags      flags,
3957     const gchar         *name,
3958     const gchar         *object_path,
3959     GCancellable        *cancellable,
3960     GAsyncReadyCallback  callback,
3961     gpointer             user_data);
3962 HostIpmi *host_ipmi_proxy_new_finish (
3963     GAsyncResult        *res,
3964     GError             **error);
3965 HostIpmi *host_ipmi_proxy_new_sync (
3966     GDBusConnection     *connection,
3967     GDBusProxyFlags      flags,
3968     const gchar         *name,
3969     const gchar         *object_path,
3970     GCancellable        *cancellable,
3971     GError             **error);
3972 
3973 void host_ipmi_proxy_new_for_bus (
3974     GBusType             bus_type,
3975     GDBusProxyFlags      flags,
3976     const gchar         *name,
3977     const gchar         *object_path,
3978     GCancellable        *cancellable,
3979     GAsyncReadyCallback  callback,
3980     gpointer             user_data);
3981 HostIpmi *host_ipmi_proxy_new_for_bus_finish (
3982     GAsyncResult        *res,
3983     GError             **error);
3984 HostIpmi *host_ipmi_proxy_new_for_bus_sync (
3985     GBusType             bus_type,
3986     GDBusProxyFlags      flags,
3987     const gchar         *name,
3988     const gchar         *object_path,
3989     GCancellable        *cancellable,
3990     GError             **error);
3991 
3992 
3993 /* ---- */
3994 
3995 #define TYPE_HOST_IPMI_SKELETON (host_ipmi_skeleton_get_type ())
3996 #define HOST_IPMI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeleton))
3997 #define HOST_IPMI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeletonClass))
3998 #define HOST_IPMI_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_HOST_IPMI_SKELETON, HostIpmiSkeletonClass))
3999 #define IS_HOST_IPMI_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_HOST_IPMI_SKELETON))
4000 #define IS_HOST_IPMI_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_HOST_IPMI_SKELETON))
4001 
4002 typedef struct _HostIpmiSkeleton HostIpmiSkeleton;
4003 typedef struct _HostIpmiSkeletonClass HostIpmiSkeletonClass;
4004 typedef struct _HostIpmiSkeletonPrivate HostIpmiSkeletonPrivate;
4005 
4006 struct _HostIpmiSkeleton
4007 {
4008   /*< private >*/
4009   GDBusInterfaceSkeleton parent_instance;
4010   HostIpmiSkeletonPrivate *priv;
4011 };
4012 
4013 struct _HostIpmiSkeletonClass
4014 {
4015   GDBusInterfaceSkeletonClass parent_class;
4016 };
4017 
4018 GType host_ipmi_skeleton_get_type (void) G_GNUC_CONST;
4019 
4020 HostIpmi *host_ipmi_skeleton_new (void);
4021 
4022 
4023 /* ---- */
4024 
4025 #define TYPE_OBJECT (object_get_type ())
4026 #define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object))
4027 #define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT))
4028 #define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object))
4029 
4030 struct _Object;
4031 typedef struct _Object Object;
4032 typedef struct _ObjectIface ObjectIface;
4033 
4034 struct _ObjectIface
4035 {
4036   GTypeInterface parent_iface;
4037 };
4038 
4039 GType object_get_type (void) G_GNUC_CONST;
4040 
4041 Hwmon *object_get_hwmon (Object *object);
4042 Fan *object_get_fan (Object *object);
4043 SensorValue *object_get_sensor_value (Object *object);
4044 SensorThreshold *object_get_sensor_threshold (Object *object);
4045 SensorI2c *object_get_sensor_i2c (Object *object);
4046 SensorMatch *object_get_sensor_match (Object *object);
4047 Process *object_get_process (Object *object);
4048 SharedResource *object_get_shared_resource (Object *object);
4049 Control *object_get_control (Object *object);
4050 ControlBmc *object_get_control_bmc (Object *object);
4051 ControlHost *object_get_control_host (Object *object);
4052 ControlPower *object_get_control_power (Object *object);
4053 ControlCheckstop *object_get_control_checkstop (Object *object);
4054 Watchdog *object_get_watchdog (Object *object);
4055 EventLog *object_get_event_log (Object *object);
4056 Flash *object_get_flash (Object *object);
4057 FlashControl *object_get_flash_control (Object *object);
4058 Button *object_get_button (Object *object);
4059 Led *object_get_led (Object *object);
4060 HostIpmi *object_get_host_ipmi (Object *object);
4061 Hwmon *object_peek_hwmon (Object *object);
4062 Fan *object_peek_fan (Object *object);
4063 SensorValue *object_peek_sensor_value (Object *object);
4064 SensorThreshold *object_peek_sensor_threshold (Object *object);
4065 SensorI2c *object_peek_sensor_i2c (Object *object);
4066 SensorMatch *object_peek_sensor_match (Object *object);
4067 Process *object_peek_process (Object *object);
4068 SharedResource *object_peek_shared_resource (Object *object);
4069 Control *object_peek_control (Object *object);
4070 ControlBmc *object_peek_control_bmc (Object *object);
4071 ControlHost *object_peek_control_host (Object *object);
4072 ControlPower *object_peek_control_power (Object *object);
4073 ControlCheckstop *object_peek_control_checkstop (Object *object);
4074 Watchdog *object_peek_watchdog (Object *object);
4075 EventLog *object_peek_event_log (Object *object);
4076 Flash *object_peek_flash (Object *object);
4077 FlashControl *object_peek_flash_control (Object *object);
4078 Button *object_peek_button (Object *object);
4079 Led *object_peek_led (Object *object);
4080 HostIpmi *object_peek_host_ipmi (Object *object);
4081 
4082 #define TYPE_OBJECT_PROXY (object_proxy_get_type ())
4083 #define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy))
4084 #define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass))
4085 #define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass))
4086 #define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY))
4087 #define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY))
4088 
4089 typedef struct _ObjectProxy ObjectProxy;
4090 typedef struct _ObjectProxyClass ObjectProxyClass;
4091 typedef struct _ObjectProxyPrivate ObjectProxyPrivate;
4092 
4093 struct _ObjectProxy
4094 {
4095   /*< private >*/
4096   GDBusObjectProxy parent_instance;
4097   ObjectProxyPrivate *priv;
4098 };
4099 
4100 struct _ObjectProxyClass
4101 {
4102   GDBusObjectProxyClass parent_class;
4103 };
4104 
4105 GType object_proxy_get_type (void) G_GNUC_CONST;
4106 ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path);
4107 
4108 #define TYPE_OBJECT_SKELETON (object_skeleton_get_type ())
4109 #define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton))
4110 #define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
4111 #define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass))
4112 #define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON))
4113 #define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON))
4114 
4115 typedef struct _ObjectSkeleton ObjectSkeleton;
4116 typedef struct _ObjectSkeletonClass ObjectSkeletonClass;
4117 typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate;
4118 
4119 struct _ObjectSkeleton
4120 {
4121   /*< private >*/
4122   GDBusObjectSkeleton parent_instance;
4123   ObjectSkeletonPrivate *priv;
4124 };
4125 
4126 struct _ObjectSkeletonClass
4127 {
4128   GDBusObjectSkeletonClass parent_class;
4129 };
4130 
4131 GType object_skeleton_get_type (void) G_GNUC_CONST;
4132 ObjectSkeleton *object_skeleton_new (const gchar *object_path);
4133 void object_skeleton_set_hwmon (ObjectSkeleton *object, Hwmon *interface_);
4134 void object_skeleton_set_fan (ObjectSkeleton *object, Fan *interface_);
4135 void object_skeleton_set_sensor_value (ObjectSkeleton *object, SensorValue *interface_);
4136 void object_skeleton_set_sensor_threshold (ObjectSkeleton *object, SensorThreshold *interface_);
4137 void object_skeleton_set_sensor_i2c (ObjectSkeleton *object, SensorI2c *interface_);
4138 void object_skeleton_set_sensor_match (ObjectSkeleton *object, SensorMatch *interface_);
4139 void object_skeleton_set_process (ObjectSkeleton *object, Process *interface_);
4140 void object_skeleton_set_shared_resource (ObjectSkeleton *object, SharedResource *interface_);
4141 void object_skeleton_set_control (ObjectSkeleton *object, Control *interface_);
4142 void object_skeleton_set_control_bmc (ObjectSkeleton *object, ControlBmc *interface_);
4143 void object_skeleton_set_control_host (ObjectSkeleton *object, ControlHost *interface_);
4144 void object_skeleton_set_control_power (ObjectSkeleton *object, ControlPower *interface_);
4145 void object_skeleton_set_control_checkstop (ObjectSkeleton *object, ControlCheckstop *interface_);
4146 void object_skeleton_set_watchdog (ObjectSkeleton *object, Watchdog *interface_);
4147 void object_skeleton_set_event_log (ObjectSkeleton *object, EventLog *interface_);
4148 void object_skeleton_set_flash (ObjectSkeleton *object, Flash *interface_);
4149 void object_skeleton_set_flash_control (ObjectSkeleton *object, FlashControl *interface_);
4150 void object_skeleton_set_button (ObjectSkeleton *object, Button *interface_);
4151 void object_skeleton_set_led (ObjectSkeleton *object, Led *interface_);
4152 void object_skeleton_set_host_ipmi (ObjectSkeleton *object, HostIpmi *interface_);
4153 
4154 /* ---- */
4155 
4156 #define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ())
4157 #define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient))
4158 #define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
4159 #define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass))
4160 #define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT))
4161 #define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT))
4162 
4163 typedef struct _ObjectManagerClient ObjectManagerClient;
4164 typedef struct _ObjectManagerClientClass ObjectManagerClientClass;
4165 typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate;
4166 
4167 struct _ObjectManagerClient
4168 {
4169   /*< private >*/
4170   GDBusObjectManagerClient parent_instance;
4171   ObjectManagerClientPrivate *priv;
4172 };
4173 
4174 struct _ObjectManagerClientClass
4175 {
4176   GDBusObjectManagerClientClass parent_class;
4177 };
4178 
4179 GType object_manager_client_get_type (void) G_GNUC_CONST;
4180 
4181 GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data);
4182 
4183 void object_manager_client_new (
4184     GDBusConnection        *connection,
4185     GDBusObjectManagerClientFlags  flags,
4186     const gchar            *name,
4187     const gchar            *object_path,
4188     GCancellable           *cancellable,
4189     GAsyncReadyCallback     callback,
4190     gpointer                user_data);
4191 GDBusObjectManager *object_manager_client_new_finish (
4192     GAsyncResult        *res,
4193     GError             **error);
4194 GDBusObjectManager *object_manager_client_new_sync (
4195     GDBusConnection        *connection,
4196     GDBusObjectManagerClientFlags  flags,
4197     const gchar            *name,
4198     const gchar            *object_path,
4199     GCancellable           *cancellable,
4200     GError                **error);
4201 
4202 void object_manager_client_new_for_bus (
4203     GBusType                bus_type,
4204     GDBusObjectManagerClientFlags  flags,
4205     const gchar            *name,
4206     const gchar            *object_path,
4207     GCancellable           *cancellable,
4208     GAsyncReadyCallback     callback,
4209     gpointer                user_data);
4210 GDBusObjectManager *object_manager_client_new_for_bus_finish (
4211     GAsyncResult        *res,
4212     GError             **error);
4213 GDBusObjectManager *object_manager_client_new_for_bus_sync (
4214     GBusType                bus_type,
4215     GDBusObjectManagerClientFlags  flags,
4216     const gchar            *name,
4217     const gchar            *object_path,
4218     GCancellable           *cancellable,
4219     GError                **error);
4220 
4221 
4222 G_END_DECLS
4223 
4224 #endif /* __OPENBMC_INTF_H__ */
4225