Norman James | 362a80f | 2015-09-14 14:04:39 -0500 | [diff] [blame] | 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 __INTERFACES_OPENBMC_INTF_H__ |
| 8 | #define __INTERFACES_OPENBMC_INTF_H__ |
| 9 | |
| 10 | #include <gio/gio.h> |
| 11 | |
| 12 | G_BEGIN_DECLS |
| 13 | |
| 14 | |
| 15 | /* ------------------------------------------------------------------------ */ |
| 16 | /* Declarations for org.openbmc.Occ */ |
| 17 | |
| 18 | #define TYPE_OCC (occ_get_type ()) |
| 19 | #define OCC(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OCC, Occ)) |
| 20 | #define IS_OCC(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OCC)) |
| 21 | #define OCC_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OCC, OccIface)) |
| 22 | |
| 23 | struct _Occ; |
| 24 | typedef struct _Occ Occ; |
| 25 | typedef struct _OccIface OccIface; |
| 26 | |
| 27 | struct _OccIface |
| 28 | { |
| 29 | GTypeInterface parent_iface; |
| 30 | |
| 31 | |
| 32 | gboolean (*handle_collect) ( |
| 33 | Occ *object, |
| 34 | GDBusMethodInvocation *invocation); |
| 35 | |
| 36 | gboolean (*handle_init) ( |
| 37 | Occ *object, |
| 38 | GDBusMethodInvocation *invocation); |
| 39 | |
| 40 | gint (*get_poll_interval) (Occ *object); |
| 41 | |
| 42 | const gchar * (*get_state) (Occ *object); |
| 43 | |
| 44 | }; |
| 45 | |
| 46 | GType occ_get_type (void) G_GNUC_CONST; |
| 47 | |
| 48 | GDBusInterfaceInfo *occ_interface_info (void); |
| 49 | guint occ_override_properties (GObjectClass *klass, guint property_id_begin); |
| 50 | |
| 51 | |
| 52 | /* D-Bus method call completion functions: */ |
| 53 | void occ_complete_init ( |
| 54 | Occ *object, |
| 55 | GDBusMethodInvocation *invocation); |
| 56 | |
| 57 | void occ_complete_collect ( |
| 58 | Occ *object, |
| 59 | GDBusMethodInvocation *invocation); |
| 60 | |
| 61 | |
| 62 | |
| 63 | /* D-Bus method calls: */ |
| 64 | void occ_call_init ( |
| 65 | Occ *proxy, |
| 66 | GCancellable *cancellable, |
| 67 | GAsyncReadyCallback callback, |
| 68 | gpointer user_data); |
| 69 | |
| 70 | gboolean occ_call_init_finish ( |
| 71 | Occ *proxy, |
| 72 | GAsyncResult *res, |
| 73 | GError **error); |
| 74 | |
| 75 | gboolean occ_call_init_sync ( |
| 76 | Occ *proxy, |
| 77 | GCancellable *cancellable, |
| 78 | GError **error); |
| 79 | |
| 80 | void occ_call_collect ( |
| 81 | Occ *proxy, |
| 82 | GCancellable *cancellable, |
| 83 | GAsyncReadyCallback callback, |
| 84 | gpointer user_data); |
| 85 | |
| 86 | gboolean occ_call_collect_finish ( |
| 87 | Occ *proxy, |
| 88 | GAsyncResult *res, |
| 89 | GError **error); |
| 90 | |
| 91 | gboolean occ_call_collect_sync ( |
| 92 | Occ *proxy, |
| 93 | GCancellable *cancellable, |
| 94 | GError **error); |
| 95 | |
| 96 | |
| 97 | |
| 98 | /* D-Bus property accessors: */ |
| 99 | const gchar *occ_get_state (Occ *object); |
| 100 | gchar *occ_dup_state (Occ *object); |
| 101 | void occ_set_state (Occ *object, const gchar *value); |
| 102 | |
| 103 | gint occ_get_poll_interval (Occ *object); |
| 104 | void occ_set_poll_interval (Occ *object, gint value); |
| 105 | |
| 106 | |
| 107 | /* ---- */ |
| 108 | |
| 109 | #define TYPE_OCC_PROXY (occ_proxy_get_type ()) |
| 110 | #define OCC_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OCC_PROXY, OccProxy)) |
| 111 | #define OCC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OCC_PROXY, OccProxyClass)) |
| 112 | #define OCC_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OCC_PROXY, OccProxyClass)) |
| 113 | #define IS_OCC_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OCC_PROXY)) |
| 114 | #define IS_OCC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OCC_PROXY)) |
| 115 | |
| 116 | typedef struct _OccProxy OccProxy; |
| 117 | typedef struct _OccProxyClass OccProxyClass; |
| 118 | typedef struct _OccProxyPrivate OccProxyPrivate; |
| 119 | |
| 120 | struct _OccProxy |
| 121 | { |
| 122 | /*< private >*/ |
| 123 | GDBusProxy parent_instance; |
| 124 | OccProxyPrivate *priv; |
| 125 | }; |
| 126 | |
| 127 | struct _OccProxyClass |
| 128 | { |
| 129 | GDBusProxyClass parent_class; |
| 130 | }; |
| 131 | |
| 132 | GType occ_proxy_get_type (void) G_GNUC_CONST; |
| 133 | |
| 134 | void occ_proxy_new ( |
| 135 | GDBusConnection *connection, |
| 136 | GDBusProxyFlags flags, |
| 137 | const gchar *name, |
| 138 | const gchar *object_path, |
| 139 | GCancellable *cancellable, |
| 140 | GAsyncReadyCallback callback, |
| 141 | gpointer user_data); |
| 142 | Occ *occ_proxy_new_finish ( |
| 143 | GAsyncResult *res, |
| 144 | GError **error); |
| 145 | Occ *occ_proxy_new_sync ( |
| 146 | GDBusConnection *connection, |
| 147 | GDBusProxyFlags flags, |
| 148 | const gchar *name, |
| 149 | const gchar *object_path, |
| 150 | GCancellable *cancellable, |
| 151 | GError **error); |
| 152 | |
| 153 | void occ_proxy_new_for_bus ( |
| 154 | GBusType bus_type, |
| 155 | GDBusProxyFlags flags, |
| 156 | const gchar *name, |
| 157 | const gchar *object_path, |
| 158 | GCancellable *cancellable, |
| 159 | GAsyncReadyCallback callback, |
| 160 | gpointer user_data); |
| 161 | Occ *occ_proxy_new_for_bus_finish ( |
| 162 | GAsyncResult *res, |
| 163 | GError **error); |
| 164 | Occ *occ_proxy_new_for_bus_sync ( |
| 165 | GBusType bus_type, |
| 166 | GDBusProxyFlags flags, |
| 167 | const gchar *name, |
| 168 | const gchar *object_path, |
| 169 | GCancellable *cancellable, |
| 170 | GError **error); |
| 171 | |
| 172 | |
| 173 | /* ---- */ |
| 174 | |
| 175 | #define TYPE_OCC_SKELETON (occ_skeleton_get_type ()) |
| 176 | #define OCC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OCC_SKELETON, OccSkeleton)) |
| 177 | #define OCC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OCC_SKELETON, OccSkeletonClass)) |
| 178 | #define OCC_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OCC_SKELETON, OccSkeletonClass)) |
| 179 | #define IS_OCC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OCC_SKELETON)) |
| 180 | #define IS_OCC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OCC_SKELETON)) |
| 181 | |
| 182 | typedef struct _OccSkeleton OccSkeleton; |
| 183 | typedef struct _OccSkeletonClass OccSkeletonClass; |
| 184 | typedef struct _OccSkeletonPrivate OccSkeletonPrivate; |
| 185 | |
| 186 | struct _OccSkeleton |
| 187 | { |
| 188 | /*< private >*/ |
| 189 | GDBusInterfaceSkeleton parent_instance; |
| 190 | OccSkeletonPrivate *priv; |
| 191 | }; |
| 192 | |
| 193 | struct _OccSkeletonClass |
| 194 | { |
| 195 | GDBusInterfaceSkeletonClass parent_class; |
| 196 | }; |
| 197 | |
| 198 | GType occ_skeleton_get_type (void) G_GNUC_CONST; |
| 199 | |
| 200 | Occ *occ_skeleton_new (void); |
| 201 | |
| 202 | |
| 203 | /* ------------------------------------------------------------------------ */ |
| 204 | /* Declarations for org.openbmc.Fan */ |
| 205 | |
| 206 | #define TYPE_FAN (fan_get_type ()) |
| 207 | #define FAN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN, Fan)) |
| 208 | #define IS_FAN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN)) |
| 209 | #define FAN_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FAN, FanIface)) |
| 210 | |
| 211 | struct _Fan; |
| 212 | typedef struct _Fan Fan; |
| 213 | typedef struct _FanIface FanIface; |
| 214 | |
| 215 | struct _FanIface |
| 216 | { |
| 217 | GTypeInterface parent_iface; |
| 218 | |
| 219 | |
| 220 | |
| 221 | gboolean (*handle_get_speed) ( |
| 222 | Fan *object, |
| 223 | GDBusMethodInvocation *invocation); |
| 224 | |
| 225 | gboolean (*handle_set_cooling_zone) ( |
| 226 | Fan *object, |
| 227 | GDBusMethodInvocation *invocation, |
| 228 | gint arg_cooling_zone); |
| 229 | |
| 230 | gboolean (*handle_set_speed) ( |
| 231 | Fan *object, |
| 232 | GDBusMethodInvocation *invocation, |
| 233 | gint arg_speed); |
| 234 | |
| 235 | gint (*get_cooling_zone) (Fan *object); |
| 236 | |
| 237 | gint (*get_pwm_num) (Fan *object); |
| 238 | |
| 239 | gint (*get_speed) (Fan *object); |
| 240 | |
| 241 | void (*speed_changed) ( |
| 242 | Fan *object, |
| 243 | gint arg_speed); |
| 244 | |
| 245 | void (*tach_error) ( |
| 246 | Fan *object); |
| 247 | |
| 248 | }; |
| 249 | |
| 250 | GType fan_get_type (void) G_GNUC_CONST; |
| 251 | |
| 252 | GDBusInterfaceInfo *fan_interface_info (void); |
| 253 | guint fan_override_properties (GObjectClass *klass, guint property_id_begin); |
| 254 | |
| 255 | |
| 256 | /* D-Bus method call completion functions: */ |
| 257 | void fan_complete_set_cooling_zone ( |
| 258 | Fan *object, |
| 259 | GDBusMethodInvocation *invocation); |
| 260 | |
| 261 | void fan_complete_get_speed ( |
| 262 | Fan *object, |
| 263 | GDBusMethodInvocation *invocation, |
| 264 | gint speed); |
| 265 | |
| 266 | void fan_complete_set_speed ( |
| 267 | Fan *object, |
| 268 | GDBusMethodInvocation *invocation); |
| 269 | |
| 270 | |
| 271 | |
| 272 | /* D-Bus signal emissions functions: */ |
| 273 | void fan_emit_speed_changed ( |
| 274 | Fan *object, |
| 275 | gint arg_speed); |
| 276 | |
| 277 | void fan_emit_tach_error ( |
| 278 | Fan *object); |
| 279 | |
| 280 | |
| 281 | |
| 282 | /* D-Bus method calls: */ |
| 283 | void fan_call_set_cooling_zone ( |
| 284 | Fan *proxy, |
| 285 | gint arg_cooling_zone, |
| 286 | GCancellable *cancellable, |
| 287 | GAsyncReadyCallback callback, |
| 288 | gpointer user_data); |
| 289 | |
| 290 | gboolean fan_call_set_cooling_zone_finish ( |
| 291 | Fan *proxy, |
| 292 | GAsyncResult *res, |
| 293 | GError **error); |
| 294 | |
| 295 | gboolean fan_call_set_cooling_zone_sync ( |
| 296 | Fan *proxy, |
| 297 | gint arg_cooling_zone, |
| 298 | GCancellable *cancellable, |
| 299 | GError **error); |
| 300 | |
| 301 | void fan_call_get_speed ( |
| 302 | Fan *proxy, |
| 303 | GCancellable *cancellable, |
| 304 | GAsyncReadyCallback callback, |
| 305 | gpointer user_data); |
| 306 | |
| 307 | gboolean fan_call_get_speed_finish ( |
| 308 | Fan *proxy, |
| 309 | gint *out_speed, |
| 310 | GAsyncResult *res, |
| 311 | GError **error); |
| 312 | |
| 313 | gboolean fan_call_get_speed_sync ( |
| 314 | Fan *proxy, |
| 315 | gint *out_speed, |
| 316 | GCancellable *cancellable, |
| 317 | GError **error); |
| 318 | |
| 319 | void fan_call_set_speed ( |
| 320 | Fan *proxy, |
| 321 | gint arg_speed, |
| 322 | GCancellable *cancellable, |
| 323 | GAsyncReadyCallback callback, |
| 324 | gpointer user_data); |
| 325 | |
| 326 | gboolean fan_call_set_speed_finish ( |
| 327 | Fan *proxy, |
| 328 | GAsyncResult *res, |
| 329 | GError **error); |
| 330 | |
| 331 | gboolean fan_call_set_speed_sync ( |
| 332 | Fan *proxy, |
| 333 | gint arg_speed, |
| 334 | GCancellable *cancellable, |
| 335 | GError **error); |
| 336 | |
| 337 | |
| 338 | |
| 339 | /* D-Bus property accessors: */ |
| 340 | gint fan_get_speed (Fan *object); |
| 341 | void fan_set_speed (Fan *object, gint value); |
| 342 | |
| 343 | gint fan_get_cooling_zone (Fan *object); |
| 344 | void fan_set_cooling_zone (Fan *object, gint value); |
| 345 | |
| 346 | gint fan_get_pwm_num (Fan *object); |
| 347 | void fan_set_pwm_num (Fan *object, gint value); |
| 348 | |
| 349 | |
| 350 | /* ---- */ |
| 351 | |
| 352 | #define TYPE_FAN_PROXY (fan_proxy_get_type ()) |
| 353 | #define FAN_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN_PROXY, FanProxy)) |
| 354 | #define FAN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FAN_PROXY, FanProxyClass)) |
| 355 | #define FAN_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FAN_PROXY, FanProxyClass)) |
| 356 | #define IS_FAN_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN_PROXY)) |
| 357 | #define IS_FAN_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FAN_PROXY)) |
| 358 | |
| 359 | typedef struct _FanProxy FanProxy; |
| 360 | typedef struct _FanProxyClass FanProxyClass; |
| 361 | typedef struct _FanProxyPrivate FanProxyPrivate; |
| 362 | |
| 363 | struct _FanProxy |
| 364 | { |
| 365 | /*< private >*/ |
| 366 | GDBusProxy parent_instance; |
| 367 | FanProxyPrivate *priv; |
| 368 | }; |
| 369 | |
| 370 | struct _FanProxyClass |
| 371 | { |
| 372 | GDBusProxyClass parent_class; |
| 373 | }; |
| 374 | |
| 375 | GType fan_proxy_get_type (void) G_GNUC_CONST; |
| 376 | |
| 377 | void fan_proxy_new ( |
| 378 | GDBusConnection *connection, |
| 379 | GDBusProxyFlags flags, |
| 380 | const gchar *name, |
| 381 | const gchar *object_path, |
| 382 | GCancellable *cancellable, |
| 383 | GAsyncReadyCallback callback, |
| 384 | gpointer user_data); |
| 385 | Fan *fan_proxy_new_finish ( |
| 386 | GAsyncResult *res, |
| 387 | GError **error); |
| 388 | Fan *fan_proxy_new_sync ( |
| 389 | GDBusConnection *connection, |
| 390 | GDBusProxyFlags flags, |
| 391 | const gchar *name, |
| 392 | const gchar *object_path, |
| 393 | GCancellable *cancellable, |
| 394 | GError **error); |
| 395 | |
| 396 | void fan_proxy_new_for_bus ( |
| 397 | GBusType bus_type, |
| 398 | GDBusProxyFlags flags, |
| 399 | const gchar *name, |
| 400 | const gchar *object_path, |
| 401 | GCancellable *cancellable, |
| 402 | GAsyncReadyCallback callback, |
| 403 | gpointer user_data); |
| 404 | Fan *fan_proxy_new_for_bus_finish ( |
| 405 | GAsyncResult *res, |
| 406 | GError **error); |
| 407 | Fan *fan_proxy_new_for_bus_sync ( |
| 408 | GBusType bus_type, |
| 409 | GDBusProxyFlags flags, |
| 410 | const gchar *name, |
| 411 | const gchar *object_path, |
| 412 | GCancellable *cancellable, |
| 413 | GError **error); |
| 414 | |
| 415 | |
| 416 | /* ---- */ |
| 417 | |
| 418 | #define TYPE_FAN_SKELETON (fan_skeleton_get_type ()) |
| 419 | #define FAN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FAN_SKELETON, FanSkeleton)) |
| 420 | #define FAN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FAN_SKELETON, FanSkeletonClass)) |
| 421 | #define FAN_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FAN_SKELETON, FanSkeletonClass)) |
| 422 | #define IS_FAN_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FAN_SKELETON)) |
| 423 | #define IS_FAN_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FAN_SKELETON)) |
| 424 | |
| 425 | typedef struct _FanSkeleton FanSkeleton; |
| 426 | typedef struct _FanSkeletonClass FanSkeletonClass; |
| 427 | typedef struct _FanSkeletonPrivate FanSkeletonPrivate; |
| 428 | |
| 429 | struct _FanSkeleton |
| 430 | { |
| 431 | /*< private >*/ |
| 432 | GDBusInterfaceSkeleton parent_instance; |
| 433 | FanSkeletonPrivate *priv; |
| 434 | }; |
| 435 | |
| 436 | struct _FanSkeletonClass |
| 437 | { |
| 438 | GDBusInterfaceSkeletonClass parent_class; |
| 439 | }; |
| 440 | |
| 441 | GType fan_skeleton_get_type (void) G_GNUC_CONST; |
| 442 | |
| 443 | Fan *fan_skeleton_new (void); |
| 444 | |
| 445 | |
| 446 | /* ------------------------------------------------------------------------ */ |
| 447 | /* Declarations for org.openbmc.SensorValue */ |
| 448 | |
| 449 | #define TYPE_SENSOR_VALUE (sensor_value_get_type ()) |
| 450 | #define SENSOR_VALUE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE, SensorValue)) |
| 451 | #define IS_SENSOR_VALUE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE)) |
| 452 | #define SENSOR_VALUE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_VALUE, SensorValueIface)) |
| 453 | |
| 454 | struct _SensorValue; |
| 455 | typedef struct _SensorValue SensorValue; |
| 456 | typedef struct _SensorValueIface SensorValueIface; |
| 457 | |
| 458 | struct _SensorValueIface |
| 459 | { |
| 460 | GTypeInterface parent_iface; |
| 461 | |
| 462 | |
| 463 | |
| 464 | gboolean (*handle_get_value) ( |
| 465 | SensorValue *object, |
| 466 | GDBusMethodInvocation *invocation); |
| 467 | |
| 468 | gboolean (*handle_init) ( |
| 469 | SensorValue *object, |
| 470 | GDBusMethodInvocation *invocation); |
| 471 | |
| 472 | gboolean (*handle_set_value) ( |
| 473 | SensorValue *object, |
| 474 | GDBusMethodInvocation *invocation, |
| 475 | GVariant *arg_value); |
| 476 | |
| 477 | gint (*get_heatbeat) (SensorValue *object); |
| 478 | |
| 479 | guchar (*get_ipmi_entity_id) (SensorValue *object); |
| 480 | |
| 481 | guchar (*get_ipmi_id) (SensorValue *object); |
| 482 | |
| 483 | gint (*get_poll_interval) (SensorValue *object); |
| 484 | |
| 485 | gboolean (*get_settable) (SensorValue *object); |
| 486 | |
| 487 | const gchar * (*get_units) (SensorValue *object); |
| 488 | |
| 489 | GVariant * (*get_value) (SensorValue *object); |
| 490 | |
| 491 | void (*changed) ( |
| 492 | SensorValue *object, |
| 493 | GVariant *arg_value, |
| 494 | const gchar *arg_units); |
| 495 | |
| 496 | void (*heartbeat) ( |
| 497 | SensorValue *object, |
| 498 | const gchar *arg_bus_name); |
| 499 | |
| 500 | }; |
| 501 | |
| 502 | GType sensor_value_get_type (void) G_GNUC_CONST; |
| 503 | |
| 504 | GDBusInterfaceInfo *sensor_value_interface_info (void); |
| 505 | guint sensor_value_override_properties (GObjectClass *klass, guint property_id_begin); |
| 506 | |
| 507 | |
| 508 | /* D-Bus method call completion functions: */ |
| 509 | void sensor_value_complete_init ( |
| 510 | SensorValue *object, |
| 511 | GDBusMethodInvocation *invocation); |
| 512 | |
| 513 | void sensor_value_complete_get_value ( |
| 514 | SensorValue *object, |
| 515 | GDBusMethodInvocation *invocation, |
| 516 | GVariant *value); |
| 517 | |
| 518 | void sensor_value_complete_set_value ( |
| 519 | SensorValue *object, |
| 520 | GDBusMethodInvocation *invocation); |
| 521 | |
| 522 | |
| 523 | |
| 524 | /* D-Bus signal emissions functions: */ |
| 525 | void sensor_value_emit_changed ( |
| 526 | SensorValue *object, |
| 527 | GVariant *arg_value, |
| 528 | const gchar *arg_units); |
| 529 | |
| 530 | void sensor_value_emit_heartbeat ( |
| 531 | SensorValue *object, |
| 532 | const gchar *arg_bus_name); |
| 533 | |
| 534 | |
| 535 | |
| 536 | /* D-Bus method calls: */ |
| 537 | void sensor_value_call_init ( |
| 538 | SensorValue *proxy, |
| 539 | GCancellable *cancellable, |
| 540 | GAsyncReadyCallback callback, |
| 541 | gpointer user_data); |
| 542 | |
| 543 | gboolean sensor_value_call_init_finish ( |
| 544 | SensorValue *proxy, |
| 545 | GAsyncResult *res, |
| 546 | GError **error); |
| 547 | |
| 548 | gboolean sensor_value_call_init_sync ( |
| 549 | SensorValue *proxy, |
| 550 | GCancellable *cancellable, |
| 551 | GError **error); |
| 552 | |
| 553 | void sensor_value_call_get_value ( |
| 554 | SensorValue *proxy, |
| 555 | GCancellable *cancellable, |
| 556 | GAsyncReadyCallback callback, |
| 557 | gpointer user_data); |
| 558 | |
| 559 | gboolean sensor_value_call_get_value_finish ( |
| 560 | SensorValue *proxy, |
| 561 | GVariant **out_value, |
| 562 | GAsyncResult *res, |
| 563 | GError **error); |
| 564 | |
| 565 | gboolean sensor_value_call_get_value_sync ( |
| 566 | SensorValue *proxy, |
| 567 | GVariant **out_value, |
| 568 | GCancellable *cancellable, |
| 569 | GError **error); |
| 570 | |
| 571 | void sensor_value_call_set_value ( |
| 572 | SensorValue *proxy, |
| 573 | GVariant *arg_value, |
| 574 | GCancellable *cancellable, |
| 575 | GAsyncReadyCallback callback, |
| 576 | gpointer user_data); |
| 577 | |
| 578 | gboolean sensor_value_call_set_value_finish ( |
| 579 | SensorValue *proxy, |
| 580 | GAsyncResult *res, |
| 581 | GError **error); |
| 582 | |
| 583 | gboolean sensor_value_call_set_value_sync ( |
| 584 | SensorValue *proxy, |
| 585 | GVariant *arg_value, |
| 586 | GCancellable *cancellable, |
| 587 | GError **error); |
| 588 | |
| 589 | |
| 590 | |
| 591 | /* D-Bus property accessors: */ |
| 592 | GVariant *sensor_value_get_value (SensorValue *object); |
| 593 | GVariant *sensor_value_dup_value (SensorValue *object); |
| 594 | void sensor_value_set_value (SensorValue *object, GVariant *value); |
| 595 | |
| 596 | const gchar *sensor_value_get_units (SensorValue *object); |
| 597 | gchar *sensor_value_dup_units (SensorValue *object); |
| 598 | void sensor_value_set_units (SensorValue *object, const gchar *value); |
| 599 | |
| 600 | gint sensor_value_get_poll_interval (SensorValue *object); |
| 601 | void sensor_value_set_poll_interval (SensorValue *object, gint value); |
| 602 | |
| 603 | gint sensor_value_get_heatbeat (SensorValue *object); |
| 604 | void sensor_value_set_heatbeat (SensorValue *object, gint value); |
| 605 | |
| 606 | gboolean sensor_value_get_settable (SensorValue *object); |
| 607 | void sensor_value_set_settable (SensorValue *object, gboolean value); |
| 608 | |
| 609 | guchar sensor_value_get_ipmi_entity_id (SensorValue *object); |
| 610 | void sensor_value_set_ipmi_entity_id (SensorValue *object, guchar value); |
| 611 | |
| 612 | guchar sensor_value_get_ipmi_id (SensorValue *object); |
| 613 | void sensor_value_set_ipmi_id (SensorValue *object, guchar value); |
| 614 | |
| 615 | |
| 616 | /* ---- */ |
| 617 | |
| 618 | #define TYPE_SENSOR_VALUE_PROXY (sensor_value_proxy_get_type ()) |
| 619 | #define SENSOR_VALUE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE_PROXY, SensorValueProxy)) |
| 620 | #define SENSOR_VALUE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_VALUE_PROXY, SensorValueProxyClass)) |
| 621 | #define SENSOR_VALUE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_VALUE_PROXY, SensorValueProxyClass)) |
| 622 | #define IS_SENSOR_VALUE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE_PROXY)) |
| 623 | #define IS_SENSOR_VALUE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_VALUE_PROXY)) |
| 624 | |
| 625 | typedef struct _SensorValueProxy SensorValueProxy; |
| 626 | typedef struct _SensorValueProxyClass SensorValueProxyClass; |
| 627 | typedef struct _SensorValueProxyPrivate SensorValueProxyPrivate; |
| 628 | |
| 629 | struct _SensorValueProxy |
| 630 | { |
| 631 | /*< private >*/ |
| 632 | GDBusProxy parent_instance; |
| 633 | SensorValueProxyPrivate *priv; |
| 634 | }; |
| 635 | |
| 636 | struct _SensorValueProxyClass |
| 637 | { |
| 638 | GDBusProxyClass parent_class; |
| 639 | }; |
| 640 | |
| 641 | GType sensor_value_proxy_get_type (void) G_GNUC_CONST; |
| 642 | |
| 643 | void sensor_value_proxy_new ( |
| 644 | GDBusConnection *connection, |
| 645 | GDBusProxyFlags flags, |
| 646 | const gchar *name, |
| 647 | const gchar *object_path, |
| 648 | GCancellable *cancellable, |
| 649 | GAsyncReadyCallback callback, |
| 650 | gpointer user_data); |
| 651 | SensorValue *sensor_value_proxy_new_finish ( |
| 652 | GAsyncResult *res, |
| 653 | GError **error); |
| 654 | SensorValue *sensor_value_proxy_new_sync ( |
| 655 | GDBusConnection *connection, |
| 656 | GDBusProxyFlags flags, |
| 657 | const gchar *name, |
| 658 | const gchar *object_path, |
| 659 | GCancellable *cancellable, |
| 660 | GError **error); |
| 661 | |
| 662 | void sensor_value_proxy_new_for_bus ( |
| 663 | GBusType bus_type, |
| 664 | GDBusProxyFlags flags, |
| 665 | const gchar *name, |
| 666 | const gchar *object_path, |
| 667 | GCancellable *cancellable, |
| 668 | GAsyncReadyCallback callback, |
| 669 | gpointer user_data); |
| 670 | SensorValue *sensor_value_proxy_new_for_bus_finish ( |
| 671 | GAsyncResult *res, |
| 672 | GError **error); |
| 673 | SensorValue *sensor_value_proxy_new_for_bus_sync ( |
| 674 | GBusType bus_type, |
| 675 | GDBusProxyFlags flags, |
| 676 | const gchar *name, |
| 677 | const gchar *object_path, |
| 678 | GCancellable *cancellable, |
| 679 | GError **error); |
| 680 | |
| 681 | |
| 682 | /* ---- */ |
| 683 | |
| 684 | #define TYPE_SENSOR_VALUE_SKELETON (sensor_value_skeleton_get_type ()) |
| 685 | #define SENSOR_VALUE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeleton)) |
| 686 | #define SENSOR_VALUE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeletonClass)) |
| 687 | #define SENSOR_VALUE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_VALUE_SKELETON, SensorValueSkeletonClass)) |
| 688 | #define IS_SENSOR_VALUE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_VALUE_SKELETON)) |
| 689 | #define IS_SENSOR_VALUE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_VALUE_SKELETON)) |
| 690 | |
| 691 | typedef struct _SensorValueSkeleton SensorValueSkeleton; |
| 692 | typedef struct _SensorValueSkeletonClass SensorValueSkeletonClass; |
| 693 | typedef struct _SensorValueSkeletonPrivate SensorValueSkeletonPrivate; |
| 694 | |
| 695 | struct _SensorValueSkeleton |
| 696 | { |
| 697 | /*< private >*/ |
| 698 | GDBusInterfaceSkeleton parent_instance; |
| 699 | SensorValueSkeletonPrivate *priv; |
| 700 | }; |
| 701 | |
| 702 | struct _SensorValueSkeletonClass |
| 703 | { |
| 704 | GDBusInterfaceSkeletonClass parent_class; |
| 705 | }; |
| 706 | |
| 707 | GType sensor_value_skeleton_get_type (void) G_GNUC_CONST; |
| 708 | |
| 709 | SensorValue *sensor_value_skeleton_new (void); |
| 710 | |
| 711 | |
| 712 | /* ------------------------------------------------------------------------ */ |
| 713 | /* Declarations for org.openbmc.SensorThreshold */ |
| 714 | |
| 715 | #define TYPE_SENSOR_THRESHOLD (sensor_threshold_get_type ()) |
| 716 | #define SENSOR_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD, SensorThreshold)) |
| 717 | #define IS_SENSOR_THRESHOLD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD)) |
| 718 | #define SENSOR_THRESHOLD_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_THRESHOLD, SensorThresholdIface)) |
| 719 | |
| 720 | struct _SensorThreshold; |
| 721 | typedef struct _SensorThreshold SensorThreshold; |
| 722 | typedef struct _SensorThresholdIface SensorThresholdIface; |
| 723 | |
| 724 | struct _SensorThresholdIface |
| 725 | { |
| 726 | GTypeInterface parent_iface; |
| 727 | |
| 728 | |
| 729 | |
| 730 | gboolean (*handle_get_state) ( |
| 731 | SensorThreshold *object, |
| 732 | GDBusMethodInvocation *invocation); |
| 733 | |
| 734 | GVariant * (*get_lower_critical) (SensorThreshold *object); |
| 735 | |
| 736 | GVariant * (*get_lower_warning) (SensorThreshold *object); |
| 737 | |
| 738 | guchar (*get_state) (SensorThreshold *object); |
| 739 | |
| 740 | GVariant * (*get_upper_critical) (SensorThreshold *object); |
| 741 | |
| 742 | GVariant * (*get_upper_warning) (SensorThreshold *object); |
| 743 | |
| 744 | void (*critical) ( |
| 745 | SensorThreshold *object); |
| 746 | |
| 747 | void (*normal) ( |
| 748 | SensorThreshold *object); |
| 749 | |
| 750 | void (*warning) ( |
| 751 | SensorThreshold *object); |
| 752 | |
| 753 | }; |
| 754 | |
| 755 | GType sensor_threshold_get_type (void) G_GNUC_CONST; |
| 756 | |
| 757 | GDBusInterfaceInfo *sensor_threshold_interface_info (void); |
| 758 | guint sensor_threshold_override_properties (GObjectClass *klass, guint property_id_begin); |
| 759 | |
| 760 | |
| 761 | /* D-Bus method call completion functions: */ |
| 762 | void sensor_threshold_complete_get_state ( |
| 763 | SensorThreshold *object, |
| 764 | GDBusMethodInvocation *invocation, |
| 765 | guchar state); |
| 766 | |
| 767 | |
| 768 | |
| 769 | /* D-Bus signal emissions functions: */ |
| 770 | void sensor_threshold_emit_warning ( |
| 771 | SensorThreshold *object); |
| 772 | |
| 773 | void sensor_threshold_emit_critical ( |
| 774 | SensorThreshold *object); |
| 775 | |
| 776 | void sensor_threshold_emit_normal ( |
| 777 | SensorThreshold *object); |
| 778 | |
| 779 | |
| 780 | |
| 781 | /* D-Bus method calls: */ |
| 782 | void sensor_threshold_call_get_state ( |
| 783 | SensorThreshold *proxy, |
| 784 | GCancellable *cancellable, |
| 785 | GAsyncReadyCallback callback, |
| 786 | gpointer user_data); |
| 787 | |
| 788 | gboolean sensor_threshold_call_get_state_finish ( |
| 789 | SensorThreshold *proxy, |
| 790 | guchar *out_state, |
| 791 | GAsyncResult *res, |
| 792 | GError **error); |
| 793 | |
| 794 | gboolean sensor_threshold_call_get_state_sync ( |
| 795 | SensorThreshold *proxy, |
| 796 | guchar *out_state, |
| 797 | GCancellable *cancellable, |
| 798 | GError **error); |
| 799 | |
| 800 | |
| 801 | |
| 802 | /* D-Bus property accessors: */ |
| 803 | GVariant *sensor_threshold_get_lower_critical (SensorThreshold *object); |
| 804 | GVariant *sensor_threshold_dup_lower_critical (SensorThreshold *object); |
| 805 | void sensor_threshold_set_lower_critical (SensorThreshold *object, GVariant *value); |
| 806 | |
| 807 | GVariant *sensor_threshold_get_lower_warning (SensorThreshold *object); |
| 808 | GVariant *sensor_threshold_dup_lower_warning (SensorThreshold *object); |
| 809 | void sensor_threshold_set_lower_warning (SensorThreshold *object, GVariant *value); |
| 810 | |
| 811 | GVariant *sensor_threshold_get_upper_warning (SensorThreshold *object); |
| 812 | GVariant *sensor_threshold_dup_upper_warning (SensorThreshold *object); |
| 813 | void sensor_threshold_set_upper_warning (SensorThreshold *object, GVariant *value); |
| 814 | |
| 815 | GVariant *sensor_threshold_get_upper_critical (SensorThreshold *object); |
| 816 | GVariant *sensor_threshold_dup_upper_critical (SensorThreshold *object); |
| 817 | void sensor_threshold_set_upper_critical (SensorThreshold *object, GVariant *value); |
| 818 | |
| 819 | guchar sensor_threshold_get_state (SensorThreshold *object); |
| 820 | void sensor_threshold_set_state (SensorThreshold *object, guchar value); |
| 821 | |
| 822 | |
| 823 | /* ---- */ |
| 824 | |
| 825 | #define TYPE_SENSOR_THRESHOLD_PROXY (sensor_threshold_proxy_get_type ()) |
| 826 | #define SENSOR_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxy)) |
| 827 | #define SENSOR_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxyClass)) |
| 828 | #define SENSOR_THRESHOLD_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_THRESHOLD_PROXY, SensorThresholdProxyClass)) |
| 829 | #define IS_SENSOR_THRESHOLD_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD_PROXY)) |
| 830 | #define IS_SENSOR_THRESHOLD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_THRESHOLD_PROXY)) |
| 831 | |
| 832 | typedef struct _SensorThresholdProxy SensorThresholdProxy; |
| 833 | typedef struct _SensorThresholdProxyClass SensorThresholdProxyClass; |
| 834 | typedef struct _SensorThresholdProxyPrivate SensorThresholdProxyPrivate; |
| 835 | |
| 836 | struct _SensorThresholdProxy |
| 837 | { |
| 838 | /*< private >*/ |
| 839 | GDBusProxy parent_instance; |
| 840 | SensorThresholdProxyPrivate *priv; |
| 841 | }; |
| 842 | |
| 843 | struct _SensorThresholdProxyClass |
| 844 | { |
| 845 | GDBusProxyClass parent_class; |
| 846 | }; |
| 847 | |
| 848 | GType sensor_threshold_proxy_get_type (void) G_GNUC_CONST; |
| 849 | |
| 850 | void sensor_threshold_proxy_new ( |
| 851 | GDBusConnection *connection, |
| 852 | GDBusProxyFlags flags, |
| 853 | const gchar *name, |
| 854 | const gchar *object_path, |
| 855 | GCancellable *cancellable, |
| 856 | GAsyncReadyCallback callback, |
| 857 | gpointer user_data); |
| 858 | SensorThreshold *sensor_threshold_proxy_new_finish ( |
| 859 | GAsyncResult *res, |
| 860 | GError **error); |
| 861 | SensorThreshold *sensor_threshold_proxy_new_sync ( |
| 862 | GDBusConnection *connection, |
| 863 | GDBusProxyFlags flags, |
| 864 | const gchar *name, |
| 865 | const gchar *object_path, |
| 866 | GCancellable *cancellable, |
| 867 | GError **error); |
| 868 | |
| 869 | void sensor_threshold_proxy_new_for_bus ( |
| 870 | GBusType bus_type, |
| 871 | GDBusProxyFlags flags, |
| 872 | const gchar *name, |
| 873 | const gchar *object_path, |
| 874 | GCancellable *cancellable, |
| 875 | GAsyncReadyCallback callback, |
| 876 | gpointer user_data); |
| 877 | SensorThreshold *sensor_threshold_proxy_new_for_bus_finish ( |
| 878 | GAsyncResult *res, |
| 879 | GError **error); |
| 880 | SensorThreshold *sensor_threshold_proxy_new_for_bus_sync ( |
| 881 | GBusType bus_type, |
| 882 | GDBusProxyFlags flags, |
| 883 | const gchar *name, |
| 884 | const gchar *object_path, |
| 885 | GCancellable *cancellable, |
| 886 | GError **error); |
| 887 | |
| 888 | |
| 889 | /* ---- */ |
| 890 | |
| 891 | #define TYPE_SENSOR_THRESHOLD_SKELETON (sensor_threshold_skeleton_get_type ()) |
| 892 | #define SENSOR_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeleton)) |
| 893 | #define SENSOR_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeletonClass)) |
| 894 | #define SENSOR_THRESHOLD_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_THRESHOLD_SKELETON, SensorThresholdSkeletonClass)) |
| 895 | #define IS_SENSOR_THRESHOLD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_THRESHOLD_SKELETON)) |
| 896 | #define IS_SENSOR_THRESHOLD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_THRESHOLD_SKELETON)) |
| 897 | |
| 898 | typedef struct _SensorThresholdSkeleton SensorThresholdSkeleton; |
| 899 | typedef struct _SensorThresholdSkeletonClass SensorThresholdSkeletonClass; |
| 900 | typedef struct _SensorThresholdSkeletonPrivate SensorThresholdSkeletonPrivate; |
| 901 | |
| 902 | struct _SensorThresholdSkeleton |
| 903 | { |
| 904 | /*< private >*/ |
| 905 | GDBusInterfaceSkeleton parent_instance; |
| 906 | SensorThresholdSkeletonPrivate *priv; |
| 907 | }; |
| 908 | |
| 909 | struct _SensorThresholdSkeletonClass |
| 910 | { |
| 911 | GDBusInterfaceSkeletonClass parent_class; |
| 912 | }; |
| 913 | |
| 914 | GType sensor_threshold_skeleton_get_type (void) G_GNUC_CONST; |
| 915 | |
| 916 | SensorThreshold *sensor_threshold_skeleton_new (void); |
| 917 | |
| 918 | |
| 919 | /* ------------------------------------------------------------------------ */ |
| 920 | /* Declarations for org.openbmc.SensorI2c */ |
| 921 | |
| 922 | #define TYPE_SENSOR_I2C (sensor_i2c_get_type ()) |
| 923 | #define SENSOR_I2C(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C, SensorI2c)) |
| 924 | #define IS_SENSOR_I2C(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C)) |
| 925 | #define SENSOR_I2C_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_I2C, SensorI2cIface)) |
| 926 | |
| 927 | struct _SensorI2c; |
| 928 | typedef struct _SensorI2c SensorI2c; |
| 929 | typedef struct _SensorI2cIface SensorI2cIface; |
| 930 | |
| 931 | struct _SensorI2cIface |
| 932 | { |
| 933 | GTypeInterface parent_iface; |
| 934 | |
| 935 | const gchar * (*get_address) (SensorI2c *object); |
| 936 | |
| 937 | const gchar * (*get_dev_path) (SensorI2c *object); |
| 938 | |
| 939 | }; |
| 940 | |
| 941 | GType sensor_i2c_get_type (void) G_GNUC_CONST; |
| 942 | |
| 943 | GDBusInterfaceInfo *sensor_i2c_interface_info (void); |
| 944 | guint sensor_i2c_override_properties (GObjectClass *klass, guint property_id_begin); |
| 945 | |
| 946 | |
| 947 | /* D-Bus property accessors: */ |
| 948 | const gchar *sensor_i2c_get_dev_path (SensorI2c *object); |
| 949 | gchar *sensor_i2c_dup_dev_path (SensorI2c *object); |
| 950 | void sensor_i2c_set_dev_path (SensorI2c *object, const gchar *value); |
| 951 | |
| 952 | const gchar *sensor_i2c_get_address (SensorI2c *object); |
| 953 | gchar *sensor_i2c_dup_address (SensorI2c *object); |
| 954 | void sensor_i2c_set_address (SensorI2c *object, const gchar *value); |
| 955 | |
| 956 | |
| 957 | /* ---- */ |
| 958 | |
| 959 | #define TYPE_SENSOR_I2C_PROXY (sensor_i2c_proxy_get_type ()) |
| 960 | #define SENSOR_I2C_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C_PROXY, SensorI2cProxy)) |
| 961 | #define SENSOR_I2C_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_I2C_PROXY, SensorI2cProxyClass)) |
| 962 | #define SENSOR_I2C_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_I2C_PROXY, SensorI2cProxyClass)) |
| 963 | #define IS_SENSOR_I2C_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C_PROXY)) |
| 964 | #define IS_SENSOR_I2C_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_I2C_PROXY)) |
| 965 | |
| 966 | typedef struct _SensorI2cProxy SensorI2cProxy; |
| 967 | typedef struct _SensorI2cProxyClass SensorI2cProxyClass; |
| 968 | typedef struct _SensorI2cProxyPrivate SensorI2cProxyPrivate; |
| 969 | |
| 970 | struct _SensorI2cProxy |
| 971 | { |
| 972 | /*< private >*/ |
| 973 | GDBusProxy parent_instance; |
| 974 | SensorI2cProxyPrivate *priv; |
| 975 | }; |
| 976 | |
| 977 | struct _SensorI2cProxyClass |
| 978 | { |
| 979 | GDBusProxyClass parent_class; |
| 980 | }; |
| 981 | |
| 982 | GType sensor_i2c_proxy_get_type (void) G_GNUC_CONST; |
| 983 | |
| 984 | void sensor_i2c_proxy_new ( |
| 985 | GDBusConnection *connection, |
| 986 | GDBusProxyFlags flags, |
| 987 | const gchar *name, |
| 988 | const gchar *object_path, |
| 989 | GCancellable *cancellable, |
| 990 | GAsyncReadyCallback callback, |
| 991 | gpointer user_data); |
| 992 | SensorI2c *sensor_i2c_proxy_new_finish ( |
| 993 | GAsyncResult *res, |
| 994 | GError **error); |
| 995 | SensorI2c *sensor_i2c_proxy_new_sync ( |
| 996 | GDBusConnection *connection, |
| 997 | GDBusProxyFlags flags, |
| 998 | const gchar *name, |
| 999 | const gchar *object_path, |
| 1000 | GCancellable *cancellable, |
| 1001 | GError **error); |
| 1002 | |
| 1003 | void sensor_i2c_proxy_new_for_bus ( |
| 1004 | GBusType bus_type, |
| 1005 | GDBusProxyFlags flags, |
| 1006 | const gchar *name, |
| 1007 | const gchar *object_path, |
| 1008 | GCancellable *cancellable, |
| 1009 | GAsyncReadyCallback callback, |
| 1010 | gpointer user_data); |
| 1011 | SensorI2c *sensor_i2c_proxy_new_for_bus_finish ( |
| 1012 | GAsyncResult *res, |
| 1013 | GError **error); |
| 1014 | SensorI2c *sensor_i2c_proxy_new_for_bus_sync ( |
| 1015 | GBusType bus_type, |
| 1016 | GDBusProxyFlags flags, |
| 1017 | const gchar *name, |
| 1018 | const gchar *object_path, |
| 1019 | GCancellable *cancellable, |
| 1020 | GError **error); |
| 1021 | |
| 1022 | |
| 1023 | /* ---- */ |
| 1024 | |
| 1025 | #define TYPE_SENSOR_I2C_SKELETON (sensor_i2c_skeleton_get_type ()) |
| 1026 | #define SENSOR_I2C_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeleton)) |
| 1027 | #define SENSOR_I2C_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeletonClass)) |
| 1028 | #define SENSOR_I2C_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_I2C_SKELETON, SensorI2cSkeletonClass)) |
| 1029 | #define IS_SENSOR_I2C_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_I2C_SKELETON)) |
| 1030 | #define IS_SENSOR_I2C_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_I2C_SKELETON)) |
| 1031 | |
| 1032 | typedef struct _SensorI2cSkeleton SensorI2cSkeleton; |
| 1033 | typedef struct _SensorI2cSkeletonClass SensorI2cSkeletonClass; |
| 1034 | typedef struct _SensorI2cSkeletonPrivate SensorI2cSkeletonPrivate; |
| 1035 | |
| 1036 | struct _SensorI2cSkeleton |
| 1037 | { |
| 1038 | /*< private >*/ |
| 1039 | GDBusInterfaceSkeleton parent_instance; |
| 1040 | SensorI2cSkeletonPrivate *priv; |
| 1041 | }; |
| 1042 | |
| 1043 | struct _SensorI2cSkeletonClass |
| 1044 | { |
| 1045 | GDBusInterfaceSkeletonClass parent_class; |
| 1046 | }; |
| 1047 | |
| 1048 | GType sensor_i2c_skeleton_get_type (void) G_GNUC_CONST; |
| 1049 | |
| 1050 | SensorI2c *sensor_i2c_skeleton_new (void); |
| 1051 | |
| 1052 | |
| 1053 | /* ------------------------------------------------------------------------ */ |
| 1054 | /* Declarations for org.openbmc.SensorMatch */ |
| 1055 | |
| 1056 | #define TYPE_SENSOR_MATCH (sensor_match_get_type ()) |
| 1057 | #define SENSOR_MATCH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH, SensorMatch)) |
| 1058 | #define IS_SENSOR_MATCH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH)) |
| 1059 | #define SENSOR_MATCH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SENSOR_MATCH, SensorMatchIface)) |
| 1060 | |
| 1061 | struct _SensorMatch; |
| 1062 | typedef struct _SensorMatch SensorMatch; |
| 1063 | typedef struct _SensorMatchIface SensorMatchIface; |
| 1064 | |
| 1065 | struct _SensorMatchIface |
| 1066 | { |
| 1067 | GTypeInterface parent_iface; |
| 1068 | |
| 1069 | |
| 1070 | GVariant * (*get_match_value) (SensorMatch *object); |
| 1071 | |
| 1072 | guchar (*get_state) (SensorMatch *object); |
| 1073 | |
| 1074 | void (*sensor_match) ( |
| 1075 | SensorMatch *object, |
| 1076 | guchar arg_state); |
| 1077 | |
| 1078 | }; |
| 1079 | |
| 1080 | GType sensor_match_get_type (void) G_GNUC_CONST; |
| 1081 | |
| 1082 | GDBusInterfaceInfo *sensor_match_interface_info (void); |
| 1083 | guint sensor_match_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1084 | |
| 1085 | |
| 1086 | /* D-Bus signal emissions functions: */ |
| 1087 | void sensor_match_emit_sensor_match ( |
| 1088 | SensorMatch *object, |
| 1089 | guchar arg_state); |
| 1090 | |
| 1091 | |
| 1092 | |
| 1093 | /* D-Bus property accessors: */ |
| 1094 | GVariant *sensor_match_get_match_value (SensorMatch *object); |
| 1095 | GVariant *sensor_match_dup_match_value (SensorMatch *object); |
| 1096 | void sensor_match_set_match_value (SensorMatch *object, GVariant *value); |
| 1097 | |
| 1098 | guchar sensor_match_get_state (SensorMatch *object); |
| 1099 | void sensor_match_set_state (SensorMatch *object, guchar value); |
| 1100 | |
| 1101 | |
| 1102 | /* ---- */ |
| 1103 | |
| 1104 | #define TYPE_SENSOR_MATCH_PROXY (sensor_match_proxy_get_type ()) |
| 1105 | #define SENSOR_MATCH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxy)) |
| 1106 | #define SENSOR_MATCH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxyClass)) |
| 1107 | #define SENSOR_MATCH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_MATCH_PROXY, SensorMatchProxyClass)) |
| 1108 | #define IS_SENSOR_MATCH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH_PROXY)) |
| 1109 | #define IS_SENSOR_MATCH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_MATCH_PROXY)) |
| 1110 | |
| 1111 | typedef struct _SensorMatchProxy SensorMatchProxy; |
| 1112 | typedef struct _SensorMatchProxyClass SensorMatchProxyClass; |
| 1113 | typedef struct _SensorMatchProxyPrivate SensorMatchProxyPrivate; |
| 1114 | |
| 1115 | struct _SensorMatchProxy |
| 1116 | { |
| 1117 | /*< private >*/ |
| 1118 | GDBusProxy parent_instance; |
| 1119 | SensorMatchProxyPrivate *priv; |
| 1120 | }; |
| 1121 | |
| 1122 | struct _SensorMatchProxyClass |
| 1123 | { |
| 1124 | GDBusProxyClass parent_class; |
| 1125 | }; |
| 1126 | |
| 1127 | GType sensor_match_proxy_get_type (void) G_GNUC_CONST; |
| 1128 | |
| 1129 | void sensor_match_proxy_new ( |
| 1130 | GDBusConnection *connection, |
| 1131 | GDBusProxyFlags flags, |
| 1132 | const gchar *name, |
| 1133 | const gchar *object_path, |
| 1134 | GCancellable *cancellable, |
| 1135 | GAsyncReadyCallback callback, |
| 1136 | gpointer user_data); |
| 1137 | SensorMatch *sensor_match_proxy_new_finish ( |
| 1138 | GAsyncResult *res, |
| 1139 | GError **error); |
| 1140 | SensorMatch *sensor_match_proxy_new_sync ( |
| 1141 | GDBusConnection *connection, |
| 1142 | GDBusProxyFlags flags, |
| 1143 | const gchar *name, |
| 1144 | const gchar *object_path, |
| 1145 | GCancellable *cancellable, |
| 1146 | GError **error); |
| 1147 | |
| 1148 | void sensor_match_proxy_new_for_bus ( |
| 1149 | GBusType bus_type, |
| 1150 | GDBusProxyFlags flags, |
| 1151 | const gchar *name, |
| 1152 | const gchar *object_path, |
| 1153 | GCancellable *cancellable, |
| 1154 | GAsyncReadyCallback callback, |
| 1155 | gpointer user_data); |
| 1156 | SensorMatch *sensor_match_proxy_new_for_bus_finish ( |
| 1157 | GAsyncResult *res, |
| 1158 | GError **error); |
| 1159 | SensorMatch *sensor_match_proxy_new_for_bus_sync ( |
| 1160 | GBusType bus_type, |
| 1161 | GDBusProxyFlags flags, |
| 1162 | const gchar *name, |
| 1163 | const gchar *object_path, |
| 1164 | GCancellable *cancellable, |
| 1165 | GError **error); |
| 1166 | |
| 1167 | |
| 1168 | /* ---- */ |
| 1169 | |
| 1170 | #define TYPE_SENSOR_MATCH_SKELETON (sensor_match_skeleton_get_type ()) |
| 1171 | #define SENSOR_MATCH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeleton)) |
| 1172 | #define SENSOR_MATCH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeletonClass)) |
| 1173 | #define SENSOR_MATCH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SENSOR_MATCH_SKELETON, SensorMatchSkeletonClass)) |
| 1174 | #define IS_SENSOR_MATCH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SENSOR_MATCH_SKELETON)) |
| 1175 | #define IS_SENSOR_MATCH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SENSOR_MATCH_SKELETON)) |
| 1176 | |
| 1177 | typedef struct _SensorMatchSkeleton SensorMatchSkeleton; |
| 1178 | typedef struct _SensorMatchSkeletonClass SensorMatchSkeletonClass; |
| 1179 | typedef struct _SensorMatchSkeletonPrivate SensorMatchSkeletonPrivate; |
| 1180 | |
| 1181 | struct _SensorMatchSkeleton |
| 1182 | { |
| 1183 | /*< private >*/ |
| 1184 | GDBusInterfaceSkeleton parent_instance; |
| 1185 | SensorMatchSkeletonPrivate *priv; |
| 1186 | }; |
| 1187 | |
| 1188 | struct _SensorMatchSkeletonClass |
| 1189 | { |
| 1190 | GDBusInterfaceSkeletonClass parent_class; |
| 1191 | }; |
| 1192 | |
| 1193 | GType sensor_match_skeleton_get_type (void) G_GNUC_CONST; |
| 1194 | |
| 1195 | SensorMatch *sensor_match_skeleton_new (void); |
| 1196 | |
| 1197 | |
| 1198 | /* ------------------------------------------------------------------------ */ |
| 1199 | /* Declarations for org.openbmc.Process */ |
| 1200 | |
| 1201 | #define TYPE_PROCESS (process_get_type ()) |
| 1202 | #define PROCESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS, Process)) |
| 1203 | #define IS_PROCESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS)) |
| 1204 | #define PROCESS_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_PROCESS, ProcessIface)) |
| 1205 | |
| 1206 | struct _Process; |
| 1207 | typedef struct _Process Process; |
| 1208 | typedef struct _ProcessIface ProcessIface; |
| 1209 | |
| 1210 | struct _ProcessIface |
| 1211 | { |
| 1212 | GTypeInterface parent_iface; |
| 1213 | |
| 1214 | gboolean (*handle_stop) ( |
| 1215 | Process *object, |
| 1216 | GDBusMethodInvocation *invocation); |
| 1217 | |
| 1218 | }; |
| 1219 | |
| 1220 | GType process_get_type (void) G_GNUC_CONST; |
| 1221 | |
| 1222 | GDBusInterfaceInfo *process_interface_info (void); |
| 1223 | guint process_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1224 | |
| 1225 | |
| 1226 | /* D-Bus method call completion functions: */ |
| 1227 | void process_complete_stop ( |
| 1228 | Process *object, |
| 1229 | GDBusMethodInvocation *invocation); |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | /* D-Bus method calls: */ |
| 1234 | void process_call_stop ( |
| 1235 | Process *proxy, |
| 1236 | GCancellable *cancellable, |
| 1237 | GAsyncReadyCallback callback, |
| 1238 | gpointer user_data); |
| 1239 | |
| 1240 | gboolean process_call_stop_finish ( |
| 1241 | Process *proxy, |
| 1242 | GAsyncResult *res, |
| 1243 | GError **error); |
| 1244 | |
| 1245 | gboolean process_call_stop_sync ( |
| 1246 | Process *proxy, |
| 1247 | GCancellable *cancellable, |
| 1248 | GError **error); |
| 1249 | |
| 1250 | |
| 1251 | |
| 1252 | /* ---- */ |
| 1253 | |
| 1254 | #define TYPE_PROCESS_PROXY (process_proxy_get_type ()) |
| 1255 | #define PROCESS_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS_PROXY, ProcessProxy)) |
| 1256 | #define PROCESS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROCESS_PROXY, ProcessProxyClass)) |
| 1257 | #define PROCESS_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROCESS_PROXY, ProcessProxyClass)) |
| 1258 | #define IS_PROCESS_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS_PROXY)) |
| 1259 | #define IS_PROCESS_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROCESS_PROXY)) |
| 1260 | |
| 1261 | typedef struct _ProcessProxy ProcessProxy; |
| 1262 | typedef struct _ProcessProxyClass ProcessProxyClass; |
| 1263 | typedef struct _ProcessProxyPrivate ProcessProxyPrivate; |
| 1264 | |
| 1265 | struct _ProcessProxy |
| 1266 | { |
| 1267 | /*< private >*/ |
| 1268 | GDBusProxy parent_instance; |
| 1269 | ProcessProxyPrivate *priv; |
| 1270 | }; |
| 1271 | |
| 1272 | struct _ProcessProxyClass |
| 1273 | { |
| 1274 | GDBusProxyClass parent_class; |
| 1275 | }; |
| 1276 | |
| 1277 | GType process_proxy_get_type (void) G_GNUC_CONST; |
| 1278 | |
| 1279 | void process_proxy_new ( |
| 1280 | GDBusConnection *connection, |
| 1281 | GDBusProxyFlags flags, |
| 1282 | const gchar *name, |
| 1283 | const gchar *object_path, |
| 1284 | GCancellable *cancellable, |
| 1285 | GAsyncReadyCallback callback, |
| 1286 | gpointer user_data); |
| 1287 | Process *process_proxy_new_finish ( |
| 1288 | GAsyncResult *res, |
| 1289 | GError **error); |
| 1290 | Process *process_proxy_new_sync ( |
| 1291 | GDBusConnection *connection, |
| 1292 | GDBusProxyFlags flags, |
| 1293 | const gchar *name, |
| 1294 | const gchar *object_path, |
| 1295 | GCancellable *cancellable, |
| 1296 | GError **error); |
| 1297 | |
| 1298 | void process_proxy_new_for_bus ( |
| 1299 | GBusType bus_type, |
| 1300 | GDBusProxyFlags flags, |
| 1301 | const gchar *name, |
| 1302 | const gchar *object_path, |
| 1303 | GCancellable *cancellable, |
| 1304 | GAsyncReadyCallback callback, |
| 1305 | gpointer user_data); |
| 1306 | Process *process_proxy_new_for_bus_finish ( |
| 1307 | GAsyncResult *res, |
| 1308 | GError **error); |
| 1309 | Process *process_proxy_new_for_bus_sync ( |
| 1310 | GBusType bus_type, |
| 1311 | GDBusProxyFlags flags, |
| 1312 | const gchar *name, |
| 1313 | const gchar *object_path, |
| 1314 | GCancellable *cancellable, |
| 1315 | GError **error); |
| 1316 | |
| 1317 | |
| 1318 | /* ---- */ |
| 1319 | |
| 1320 | #define TYPE_PROCESS_SKELETON (process_skeleton_get_type ()) |
| 1321 | #define PROCESS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROCESS_SKELETON, ProcessSkeleton)) |
| 1322 | #define PROCESS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROCESS_SKELETON, ProcessSkeletonClass)) |
| 1323 | #define PROCESS_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROCESS_SKELETON, ProcessSkeletonClass)) |
| 1324 | #define IS_PROCESS_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROCESS_SKELETON)) |
| 1325 | #define IS_PROCESS_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROCESS_SKELETON)) |
| 1326 | |
| 1327 | typedef struct _ProcessSkeleton ProcessSkeleton; |
| 1328 | typedef struct _ProcessSkeletonClass ProcessSkeletonClass; |
| 1329 | typedef struct _ProcessSkeletonPrivate ProcessSkeletonPrivate; |
| 1330 | |
| 1331 | struct _ProcessSkeleton |
| 1332 | { |
| 1333 | /*< private >*/ |
| 1334 | GDBusInterfaceSkeleton parent_instance; |
| 1335 | ProcessSkeletonPrivate *priv; |
| 1336 | }; |
| 1337 | |
| 1338 | struct _ProcessSkeletonClass |
| 1339 | { |
| 1340 | GDBusInterfaceSkeletonClass parent_class; |
| 1341 | }; |
| 1342 | |
| 1343 | GType process_skeleton_get_type (void) G_GNUC_CONST; |
| 1344 | |
| 1345 | Process *process_skeleton_new (void); |
| 1346 | |
| 1347 | |
| 1348 | /* ------------------------------------------------------------------------ */ |
| 1349 | /* Declarations for org.openbmc.Control */ |
| 1350 | |
| 1351 | #define TYPE_CONTROL (control_get_type ()) |
| 1352 | #define CONTROL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL, Control)) |
| 1353 | #define IS_CONTROL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL)) |
| 1354 | #define CONTROL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL, ControlIface)) |
| 1355 | |
| 1356 | struct _Control; |
| 1357 | typedef struct _Control Control; |
| 1358 | typedef struct _ControlIface ControlIface; |
| 1359 | |
| 1360 | struct _ControlIface |
| 1361 | { |
| 1362 | GTypeInterface parent_iface; |
| 1363 | |
| 1364 | |
| 1365 | |
| 1366 | gboolean (*handle_init) ( |
| 1367 | Control *object, |
| 1368 | GDBusMethodInvocation *invocation); |
| 1369 | |
| 1370 | gint (*get_heatbeat) (Control *object); |
| 1371 | |
| 1372 | gint (*get_poll_interval) (Control *object); |
| 1373 | |
| 1374 | void (*goto_system_state) ( |
| 1375 | Control *object, |
| 1376 | const gchar *arg_state_name); |
| 1377 | |
| 1378 | void (*heartbeat) ( |
| 1379 | Control *object, |
| 1380 | const gchar *arg_bus_name); |
| 1381 | |
| 1382 | }; |
| 1383 | |
| 1384 | GType control_get_type (void) G_GNUC_CONST; |
| 1385 | |
| 1386 | GDBusInterfaceInfo *control_interface_info (void); |
| 1387 | guint control_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1388 | |
| 1389 | |
| 1390 | /* D-Bus method call completion functions: */ |
| 1391 | void control_complete_init ( |
| 1392 | Control *object, |
| 1393 | GDBusMethodInvocation *invocation); |
| 1394 | |
| 1395 | |
| 1396 | |
| 1397 | /* D-Bus signal emissions functions: */ |
| 1398 | void control_emit_heartbeat ( |
| 1399 | Control *object, |
| 1400 | const gchar *arg_bus_name); |
| 1401 | |
| 1402 | void control_emit_goto_system_state ( |
| 1403 | Control *object, |
| 1404 | const gchar *arg_state_name); |
| 1405 | |
| 1406 | |
| 1407 | |
| 1408 | /* D-Bus method calls: */ |
| 1409 | void control_call_init ( |
| 1410 | Control *proxy, |
| 1411 | GCancellable *cancellable, |
| 1412 | GAsyncReadyCallback callback, |
| 1413 | gpointer user_data); |
| 1414 | |
| 1415 | gboolean control_call_init_finish ( |
| 1416 | Control *proxy, |
| 1417 | GAsyncResult *res, |
| 1418 | GError **error); |
| 1419 | |
| 1420 | gboolean control_call_init_sync ( |
| 1421 | Control *proxy, |
| 1422 | GCancellable *cancellable, |
| 1423 | GError **error); |
| 1424 | |
| 1425 | |
| 1426 | |
| 1427 | /* D-Bus property accessors: */ |
| 1428 | gint control_get_poll_interval (Control *object); |
| 1429 | void control_set_poll_interval (Control *object, gint value); |
| 1430 | |
| 1431 | gint control_get_heatbeat (Control *object); |
| 1432 | void control_set_heatbeat (Control *object, gint value); |
| 1433 | |
| 1434 | |
| 1435 | /* ---- */ |
| 1436 | |
| 1437 | #define TYPE_CONTROL_PROXY (control_proxy_get_type ()) |
| 1438 | #define CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_PROXY, ControlProxy)) |
| 1439 | #define CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_PROXY, ControlProxyClass)) |
| 1440 | #define CONTROL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_PROXY, ControlProxyClass)) |
| 1441 | #define IS_CONTROL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_PROXY)) |
| 1442 | #define IS_CONTROL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_PROXY)) |
| 1443 | |
| 1444 | typedef struct _ControlProxy ControlProxy; |
| 1445 | typedef struct _ControlProxyClass ControlProxyClass; |
| 1446 | typedef struct _ControlProxyPrivate ControlProxyPrivate; |
| 1447 | |
| 1448 | struct _ControlProxy |
| 1449 | { |
| 1450 | /*< private >*/ |
| 1451 | GDBusProxy parent_instance; |
| 1452 | ControlProxyPrivate *priv; |
| 1453 | }; |
| 1454 | |
| 1455 | struct _ControlProxyClass |
| 1456 | { |
| 1457 | GDBusProxyClass parent_class; |
| 1458 | }; |
| 1459 | |
| 1460 | GType control_proxy_get_type (void) G_GNUC_CONST; |
| 1461 | |
| 1462 | void control_proxy_new ( |
| 1463 | GDBusConnection *connection, |
| 1464 | GDBusProxyFlags flags, |
| 1465 | const gchar *name, |
| 1466 | const gchar *object_path, |
| 1467 | GCancellable *cancellable, |
| 1468 | GAsyncReadyCallback callback, |
| 1469 | gpointer user_data); |
| 1470 | Control *control_proxy_new_finish ( |
| 1471 | GAsyncResult *res, |
| 1472 | GError **error); |
| 1473 | Control *control_proxy_new_sync ( |
| 1474 | GDBusConnection *connection, |
| 1475 | GDBusProxyFlags flags, |
| 1476 | const gchar *name, |
| 1477 | const gchar *object_path, |
| 1478 | GCancellable *cancellable, |
| 1479 | GError **error); |
| 1480 | |
| 1481 | void control_proxy_new_for_bus ( |
| 1482 | GBusType bus_type, |
| 1483 | GDBusProxyFlags flags, |
| 1484 | const gchar *name, |
| 1485 | const gchar *object_path, |
| 1486 | GCancellable *cancellable, |
| 1487 | GAsyncReadyCallback callback, |
| 1488 | gpointer user_data); |
| 1489 | Control *control_proxy_new_for_bus_finish ( |
| 1490 | GAsyncResult *res, |
| 1491 | GError **error); |
| 1492 | Control *control_proxy_new_for_bus_sync ( |
| 1493 | GBusType bus_type, |
| 1494 | GDBusProxyFlags flags, |
| 1495 | const gchar *name, |
| 1496 | const gchar *object_path, |
| 1497 | GCancellable *cancellable, |
| 1498 | GError **error); |
| 1499 | |
| 1500 | |
| 1501 | /* ---- */ |
| 1502 | |
| 1503 | #define TYPE_CONTROL_SKELETON (control_skeleton_get_type ()) |
| 1504 | #define CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_SKELETON, ControlSkeleton)) |
| 1505 | #define CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_SKELETON, ControlSkeletonClass)) |
| 1506 | #define CONTROL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_SKELETON, ControlSkeletonClass)) |
| 1507 | #define IS_CONTROL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_SKELETON)) |
| 1508 | #define IS_CONTROL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_SKELETON)) |
| 1509 | |
| 1510 | typedef struct _ControlSkeleton ControlSkeleton; |
| 1511 | typedef struct _ControlSkeletonClass ControlSkeletonClass; |
| 1512 | typedef struct _ControlSkeletonPrivate ControlSkeletonPrivate; |
| 1513 | |
| 1514 | struct _ControlSkeleton |
| 1515 | { |
| 1516 | /*< private >*/ |
| 1517 | GDBusInterfaceSkeleton parent_instance; |
| 1518 | ControlSkeletonPrivate *priv; |
| 1519 | }; |
| 1520 | |
| 1521 | struct _ControlSkeletonClass |
| 1522 | { |
| 1523 | GDBusInterfaceSkeletonClass parent_class; |
| 1524 | }; |
| 1525 | |
| 1526 | GType control_skeleton_get_type (void) G_GNUC_CONST; |
| 1527 | |
| 1528 | Control *control_skeleton_new (void); |
| 1529 | |
| 1530 | |
| 1531 | /* ------------------------------------------------------------------------ */ |
| 1532 | /* Declarations for org.openbmc.control.Bmc */ |
| 1533 | |
| 1534 | #define TYPE_CONTROL_BMC (control_bmc_get_type ()) |
| 1535 | #define CONTROL_BMC(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC, ControlBmc)) |
| 1536 | #define IS_CONTROL_BMC(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC)) |
| 1537 | #define CONTROL_BMC_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_BMC, ControlBmcIface)) |
| 1538 | |
| 1539 | struct _ControlBmc; |
| 1540 | typedef struct _ControlBmc ControlBmc; |
| 1541 | typedef struct _ControlBmcIface ControlBmcIface; |
| 1542 | |
| 1543 | struct _ControlBmcIface |
| 1544 | { |
| 1545 | GTypeInterface parent_iface; |
| 1546 | |
| 1547 | gboolean (*handle_place_holder) ( |
| 1548 | ControlBmc *object, |
| 1549 | GDBusMethodInvocation *invocation); |
| 1550 | |
| 1551 | }; |
| 1552 | |
| 1553 | GType control_bmc_get_type (void) G_GNUC_CONST; |
| 1554 | |
| 1555 | GDBusInterfaceInfo *control_bmc_interface_info (void); |
| 1556 | guint control_bmc_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1557 | |
| 1558 | |
| 1559 | /* D-Bus method call completion functions: */ |
| 1560 | void control_bmc_complete_place_holder ( |
| 1561 | ControlBmc *object, |
| 1562 | GDBusMethodInvocation *invocation); |
| 1563 | |
| 1564 | |
| 1565 | |
| 1566 | /* D-Bus method calls: */ |
| 1567 | void control_bmc_call_place_holder ( |
| 1568 | ControlBmc *proxy, |
| 1569 | GCancellable *cancellable, |
| 1570 | GAsyncReadyCallback callback, |
| 1571 | gpointer user_data); |
| 1572 | |
| 1573 | gboolean control_bmc_call_place_holder_finish ( |
| 1574 | ControlBmc *proxy, |
| 1575 | GAsyncResult *res, |
| 1576 | GError **error); |
| 1577 | |
| 1578 | gboolean control_bmc_call_place_holder_sync ( |
| 1579 | ControlBmc *proxy, |
| 1580 | GCancellable *cancellable, |
| 1581 | GError **error); |
| 1582 | |
| 1583 | |
| 1584 | |
| 1585 | /* ---- */ |
| 1586 | |
| 1587 | #define TYPE_CONTROL_BMC_PROXY (control_bmc_proxy_get_type ()) |
| 1588 | #define CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxy)) |
| 1589 | #define CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass)) |
| 1590 | #define CONTROL_BMC_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_PROXY, ControlBmcProxyClass)) |
| 1591 | #define IS_CONTROL_BMC_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_PROXY)) |
| 1592 | #define IS_CONTROL_BMC_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_PROXY)) |
| 1593 | |
| 1594 | typedef struct _ControlBmcProxy ControlBmcProxy; |
| 1595 | typedef struct _ControlBmcProxyClass ControlBmcProxyClass; |
| 1596 | typedef struct _ControlBmcProxyPrivate ControlBmcProxyPrivate; |
| 1597 | |
| 1598 | struct _ControlBmcProxy |
| 1599 | { |
| 1600 | /*< private >*/ |
| 1601 | GDBusProxy parent_instance; |
| 1602 | ControlBmcProxyPrivate *priv; |
| 1603 | }; |
| 1604 | |
| 1605 | struct _ControlBmcProxyClass |
| 1606 | { |
| 1607 | GDBusProxyClass parent_class; |
| 1608 | }; |
| 1609 | |
| 1610 | GType control_bmc_proxy_get_type (void) G_GNUC_CONST; |
| 1611 | |
| 1612 | void control_bmc_proxy_new ( |
| 1613 | GDBusConnection *connection, |
| 1614 | GDBusProxyFlags flags, |
| 1615 | const gchar *name, |
| 1616 | const gchar *object_path, |
| 1617 | GCancellable *cancellable, |
| 1618 | GAsyncReadyCallback callback, |
| 1619 | gpointer user_data); |
| 1620 | ControlBmc *control_bmc_proxy_new_finish ( |
| 1621 | GAsyncResult *res, |
| 1622 | GError **error); |
| 1623 | ControlBmc *control_bmc_proxy_new_sync ( |
| 1624 | GDBusConnection *connection, |
| 1625 | GDBusProxyFlags flags, |
| 1626 | const gchar *name, |
| 1627 | const gchar *object_path, |
| 1628 | GCancellable *cancellable, |
| 1629 | GError **error); |
| 1630 | |
| 1631 | void control_bmc_proxy_new_for_bus ( |
| 1632 | GBusType bus_type, |
| 1633 | GDBusProxyFlags flags, |
| 1634 | const gchar *name, |
| 1635 | const gchar *object_path, |
| 1636 | GCancellable *cancellable, |
| 1637 | GAsyncReadyCallback callback, |
| 1638 | gpointer user_data); |
| 1639 | ControlBmc *control_bmc_proxy_new_for_bus_finish ( |
| 1640 | GAsyncResult *res, |
| 1641 | GError **error); |
| 1642 | ControlBmc *control_bmc_proxy_new_for_bus_sync ( |
| 1643 | GBusType bus_type, |
| 1644 | GDBusProxyFlags flags, |
| 1645 | const gchar *name, |
| 1646 | const gchar *object_path, |
| 1647 | GCancellable *cancellable, |
| 1648 | GError **error); |
| 1649 | |
| 1650 | |
| 1651 | /* ---- */ |
| 1652 | |
| 1653 | #define TYPE_CONTROL_BMC_SKELETON (control_bmc_skeleton_get_type ()) |
| 1654 | #define CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeleton)) |
| 1655 | #define CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass)) |
| 1656 | #define CONTROL_BMC_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_BMC_SKELETON, ControlBmcSkeletonClass)) |
| 1657 | #define IS_CONTROL_BMC_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_BMC_SKELETON)) |
| 1658 | #define IS_CONTROL_BMC_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_BMC_SKELETON)) |
| 1659 | |
| 1660 | typedef struct _ControlBmcSkeleton ControlBmcSkeleton; |
| 1661 | typedef struct _ControlBmcSkeletonClass ControlBmcSkeletonClass; |
| 1662 | typedef struct _ControlBmcSkeletonPrivate ControlBmcSkeletonPrivate; |
| 1663 | |
| 1664 | struct _ControlBmcSkeleton |
| 1665 | { |
| 1666 | /*< private >*/ |
| 1667 | GDBusInterfaceSkeleton parent_instance; |
| 1668 | ControlBmcSkeletonPrivate *priv; |
| 1669 | }; |
| 1670 | |
| 1671 | struct _ControlBmcSkeletonClass |
| 1672 | { |
| 1673 | GDBusInterfaceSkeletonClass parent_class; |
| 1674 | }; |
| 1675 | |
| 1676 | GType control_bmc_skeleton_get_type (void) G_GNUC_CONST; |
| 1677 | |
| 1678 | ControlBmc *control_bmc_skeleton_new (void); |
| 1679 | |
| 1680 | |
| 1681 | /* ------------------------------------------------------------------------ */ |
| 1682 | /* Declarations for org.openbmc.control.Host */ |
| 1683 | |
| 1684 | #define TYPE_CONTROL_HOST (control_host_get_type ()) |
| 1685 | #define CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST, ControlHost)) |
| 1686 | #define IS_CONTROL_HOST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST)) |
| 1687 | #define CONTROL_HOST_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_HOST, ControlHostIface)) |
| 1688 | |
| 1689 | struct _ControlHost; |
| 1690 | typedef struct _ControlHost ControlHost; |
| 1691 | typedef struct _ControlHostIface ControlHostIface; |
| 1692 | |
| 1693 | struct _ControlHostIface |
| 1694 | { |
| 1695 | GTypeInterface parent_iface; |
| 1696 | |
| 1697 | |
| 1698 | gboolean (*handle_boot) ( |
| 1699 | ControlHost *object, |
| 1700 | GDBusMethodInvocation *invocation); |
| 1701 | |
| 1702 | gboolean (*handle_reboot) ( |
| 1703 | ControlHost *object, |
| 1704 | GDBusMethodInvocation *invocation); |
| 1705 | |
| 1706 | gboolean (*handle_shutdown) ( |
| 1707 | ControlHost *object, |
| 1708 | GDBusMethodInvocation *invocation); |
| 1709 | |
| 1710 | void (*booted) ( |
| 1711 | ControlHost *object); |
| 1712 | |
| 1713 | }; |
| 1714 | |
| 1715 | GType control_host_get_type (void) G_GNUC_CONST; |
| 1716 | |
| 1717 | GDBusInterfaceInfo *control_host_interface_info (void); |
| 1718 | guint control_host_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1719 | |
| 1720 | |
| 1721 | /* D-Bus method call completion functions: */ |
| 1722 | void control_host_complete_boot ( |
| 1723 | ControlHost *object, |
| 1724 | GDBusMethodInvocation *invocation); |
| 1725 | |
| 1726 | void control_host_complete_shutdown ( |
| 1727 | ControlHost *object, |
| 1728 | GDBusMethodInvocation *invocation); |
| 1729 | |
| 1730 | void control_host_complete_reboot ( |
| 1731 | ControlHost *object, |
| 1732 | GDBusMethodInvocation *invocation); |
| 1733 | |
| 1734 | |
| 1735 | |
| 1736 | /* D-Bus signal emissions functions: */ |
| 1737 | void control_host_emit_booted ( |
| 1738 | ControlHost *object); |
| 1739 | |
| 1740 | |
| 1741 | |
| 1742 | /* D-Bus method calls: */ |
| 1743 | void control_host_call_boot ( |
| 1744 | ControlHost *proxy, |
| 1745 | GCancellable *cancellable, |
| 1746 | GAsyncReadyCallback callback, |
| 1747 | gpointer user_data); |
| 1748 | |
| 1749 | gboolean control_host_call_boot_finish ( |
| 1750 | ControlHost *proxy, |
| 1751 | GAsyncResult *res, |
| 1752 | GError **error); |
| 1753 | |
| 1754 | gboolean control_host_call_boot_sync ( |
| 1755 | ControlHost *proxy, |
| 1756 | GCancellable *cancellable, |
| 1757 | GError **error); |
| 1758 | |
| 1759 | void control_host_call_shutdown ( |
| 1760 | ControlHost *proxy, |
| 1761 | GCancellable *cancellable, |
| 1762 | GAsyncReadyCallback callback, |
| 1763 | gpointer user_data); |
| 1764 | |
| 1765 | gboolean control_host_call_shutdown_finish ( |
| 1766 | ControlHost *proxy, |
| 1767 | GAsyncResult *res, |
| 1768 | GError **error); |
| 1769 | |
| 1770 | gboolean control_host_call_shutdown_sync ( |
| 1771 | ControlHost *proxy, |
| 1772 | GCancellable *cancellable, |
| 1773 | GError **error); |
| 1774 | |
| 1775 | void control_host_call_reboot ( |
| 1776 | ControlHost *proxy, |
| 1777 | GCancellable *cancellable, |
| 1778 | GAsyncReadyCallback callback, |
| 1779 | gpointer user_data); |
| 1780 | |
| 1781 | gboolean control_host_call_reboot_finish ( |
| 1782 | ControlHost *proxy, |
| 1783 | GAsyncResult *res, |
| 1784 | GError **error); |
| 1785 | |
| 1786 | gboolean control_host_call_reboot_sync ( |
| 1787 | ControlHost *proxy, |
| 1788 | GCancellable *cancellable, |
| 1789 | GError **error); |
| 1790 | |
| 1791 | |
| 1792 | |
| 1793 | /* ---- */ |
| 1794 | |
| 1795 | #define TYPE_CONTROL_HOST_PROXY (control_host_proxy_get_type ()) |
| 1796 | #define CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxy)) |
| 1797 | #define CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass)) |
| 1798 | #define CONTROL_HOST_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_PROXY, ControlHostProxyClass)) |
| 1799 | #define IS_CONTROL_HOST_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_PROXY)) |
| 1800 | #define IS_CONTROL_HOST_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_PROXY)) |
| 1801 | |
| 1802 | typedef struct _ControlHostProxy ControlHostProxy; |
| 1803 | typedef struct _ControlHostProxyClass ControlHostProxyClass; |
| 1804 | typedef struct _ControlHostProxyPrivate ControlHostProxyPrivate; |
| 1805 | |
| 1806 | struct _ControlHostProxy |
| 1807 | { |
| 1808 | /*< private >*/ |
| 1809 | GDBusProxy parent_instance; |
| 1810 | ControlHostProxyPrivate *priv; |
| 1811 | }; |
| 1812 | |
| 1813 | struct _ControlHostProxyClass |
| 1814 | { |
| 1815 | GDBusProxyClass parent_class; |
| 1816 | }; |
| 1817 | |
| 1818 | GType control_host_proxy_get_type (void) G_GNUC_CONST; |
| 1819 | |
| 1820 | void control_host_proxy_new ( |
| 1821 | GDBusConnection *connection, |
| 1822 | GDBusProxyFlags flags, |
| 1823 | const gchar *name, |
| 1824 | const gchar *object_path, |
| 1825 | GCancellable *cancellable, |
| 1826 | GAsyncReadyCallback callback, |
| 1827 | gpointer user_data); |
| 1828 | ControlHost *control_host_proxy_new_finish ( |
| 1829 | GAsyncResult *res, |
| 1830 | GError **error); |
| 1831 | ControlHost *control_host_proxy_new_sync ( |
| 1832 | GDBusConnection *connection, |
| 1833 | GDBusProxyFlags flags, |
| 1834 | const gchar *name, |
| 1835 | const gchar *object_path, |
| 1836 | GCancellable *cancellable, |
| 1837 | GError **error); |
| 1838 | |
| 1839 | void control_host_proxy_new_for_bus ( |
| 1840 | GBusType bus_type, |
| 1841 | GDBusProxyFlags flags, |
| 1842 | const gchar *name, |
| 1843 | const gchar *object_path, |
| 1844 | GCancellable *cancellable, |
| 1845 | GAsyncReadyCallback callback, |
| 1846 | gpointer user_data); |
| 1847 | ControlHost *control_host_proxy_new_for_bus_finish ( |
| 1848 | GAsyncResult *res, |
| 1849 | GError **error); |
| 1850 | ControlHost *control_host_proxy_new_for_bus_sync ( |
| 1851 | GBusType bus_type, |
| 1852 | GDBusProxyFlags flags, |
| 1853 | const gchar *name, |
| 1854 | const gchar *object_path, |
| 1855 | GCancellable *cancellable, |
| 1856 | GError **error); |
| 1857 | |
| 1858 | |
| 1859 | /* ---- */ |
| 1860 | |
| 1861 | #define TYPE_CONTROL_HOST_SKELETON (control_host_skeleton_get_type ()) |
| 1862 | #define CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeleton)) |
| 1863 | #define CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass)) |
| 1864 | #define CONTROL_HOST_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_HOST_SKELETON, ControlHostSkeletonClass)) |
| 1865 | #define IS_CONTROL_HOST_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_HOST_SKELETON)) |
| 1866 | #define IS_CONTROL_HOST_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_HOST_SKELETON)) |
| 1867 | |
| 1868 | typedef struct _ControlHostSkeleton ControlHostSkeleton; |
| 1869 | typedef struct _ControlHostSkeletonClass ControlHostSkeletonClass; |
| 1870 | typedef struct _ControlHostSkeletonPrivate ControlHostSkeletonPrivate; |
| 1871 | |
| 1872 | struct _ControlHostSkeleton |
| 1873 | { |
| 1874 | /*< private >*/ |
| 1875 | GDBusInterfaceSkeleton parent_instance; |
| 1876 | ControlHostSkeletonPrivate *priv; |
| 1877 | }; |
| 1878 | |
| 1879 | struct _ControlHostSkeletonClass |
| 1880 | { |
| 1881 | GDBusInterfaceSkeletonClass parent_class; |
| 1882 | }; |
| 1883 | |
| 1884 | GType control_host_skeleton_get_type (void) G_GNUC_CONST; |
| 1885 | |
| 1886 | ControlHost *control_host_skeleton_new (void); |
| 1887 | |
| 1888 | |
| 1889 | /* ------------------------------------------------------------------------ */ |
| 1890 | /* Declarations for org.openbmc.control.Power */ |
| 1891 | |
| 1892 | #define TYPE_CONTROL_POWER (control_power_get_type ()) |
| 1893 | #define CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER, ControlPower)) |
| 1894 | #define IS_CONTROL_POWER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER)) |
| 1895 | #define CONTROL_POWER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONTROL_POWER, ControlPowerIface)) |
| 1896 | |
| 1897 | struct _ControlPower; |
| 1898 | typedef struct _ControlPower ControlPower; |
| 1899 | typedef struct _ControlPowerIface ControlPowerIface; |
| 1900 | |
| 1901 | struct _ControlPowerIface |
| 1902 | { |
| 1903 | GTypeInterface parent_iface; |
| 1904 | |
| 1905 | |
| 1906 | |
| 1907 | gboolean (*handle_get_power_state) ( |
| 1908 | ControlPower *object, |
| 1909 | GDBusMethodInvocation *invocation); |
| 1910 | |
| 1911 | gboolean (*handle_set_power_state) ( |
| 1912 | ControlPower *object, |
| 1913 | GDBusMethodInvocation *invocation, |
| 1914 | gint arg_state); |
| 1915 | |
| 1916 | gint (*get_pgood) (ControlPower *object); |
| 1917 | |
| 1918 | gint (*get_state) (ControlPower *object); |
| 1919 | |
| 1920 | void (*power_good) ( |
| 1921 | ControlPower *object); |
| 1922 | |
| 1923 | void (*power_lost) ( |
| 1924 | ControlPower *object); |
| 1925 | |
| 1926 | }; |
| 1927 | |
| 1928 | GType control_power_get_type (void) G_GNUC_CONST; |
| 1929 | |
| 1930 | GDBusInterfaceInfo *control_power_interface_info (void); |
| 1931 | guint control_power_override_properties (GObjectClass *klass, guint property_id_begin); |
| 1932 | |
| 1933 | |
| 1934 | /* D-Bus method call completion functions: */ |
| 1935 | void control_power_complete_set_power_state ( |
| 1936 | ControlPower *object, |
| 1937 | GDBusMethodInvocation *invocation); |
| 1938 | |
| 1939 | void control_power_complete_get_power_state ( |
| 1940 | ControlPower *object, |
| 1941 | GDBusMethodInvocation *invocation, |
| 1942 | gint state); |
| 1943 | |
| 1944 | |
| 1945 | |
| 1946 | /* D-Bus signal emissions functions: */ |
| 1947 | void control_power_emit_power_good ( |
| 1948 | ControlPower *object); |
| 1949 | |
| 1950 | void control_power_emit_power_lost ( |
| 1951 | ControlPower *object); |
| 1952 | |
| 1953 | |
| 1954 | |
| 1955 | /* D-Bus method calls: */ |
| 1956 | void control_power_call_set_power_state ( |
| 1957 | ControlPower *proxy, |
| 1958 | gint arg_state, |
| 1959 | GCancellable *cancellable, |
| 1960 | GAsyncReadyCallback callback, |
| 1961 | gpointer user_data); |
| 1962 | |
| 1963 | gboolean control_power_call_set_power_state_finish ( |
| 1964 | ControlPower *proxy, |
| 1965 | GAsyncResult *res, |
| 1966 | GError **error); |
| 1967 | |
| 1968 | gboolean control_power_call_set_power_state_sync ( |
| 1969 | ControlPower *proxy, |
| 1970 | gint arg_state, |
| 1971 | GCancellable *cancellable, |
| 1972 | GError **error); |
| 1973 | |
| 1974 | void control_power_call_get_power_state ( |
| 1975 | ControlPower *proxy, |
| 1976 | GCancellable *cancellable, |
| 1977 | GAsyncReadyCallback callback, |
| 1978 | gpointer user_data); |
| 1979 | |
| 1980 | gboolean control_power_call_get_power_state_finish ( |
| 1981 | ControlPower *proxy, |
| 1982 | gint *out_state, |
| 1983 | GAsyncResult *res, |
| 1984 | GError **error); |
| 1985 | |
| 1986 | gboolean control_power_call_get_power_state_sync ( |
| 1987 | ControlPower *proxy, |
| 1988 | gint *out_state, |
| 1989 | GCancellable *cancellable, |
| 1990 | GError **error); |
| 1991 | |
| 1992 | |
| 1993 | |
| 1994 | /* D-Bus property accessors: */ |
| 1995 | gint control_power_get_pgood (ControlPower *object); |
| 1996 | void control_power_set_pgood (ControlPower *object, gint value); |
| 1997 | |
| 1998 | gint control_power_get_state (ControlPower *object); |
| 1999 | void control_power_set_state (ControlPower *object, gint value); |
| 2000 | |
| 2001 | |
| 2002 | /* ---- */ |
| 2003 | |
| 2004 | #define TYPE_CONTROL_POWER_PROXY (control_power_proxy_get_type ()) |
| 2005 | #define CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxy)) |
| 2006 | #define CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass)) |
| 2007 | #define CONTROL_POWER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_PROXY, ControlPowerProxyClass)) |
| 2008 | #define IS_CONTROL_POWER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_PROXY)) |
| 2009 | #define IS_CONTROL_POWER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_PROXY)) |
| 2010 | |
| 2011 | typedef struct _ControlPowerProxy ControlPowerProxy; |
| 2012 | typedef struct _ControlPowerProxyClass ControlPowerProxyClass; |
| 2013 | typedef struct _ControlPowerProxyPrivate ControlPowerProxyPrivate; |
| 2014 | |
| 2015 | struct _ControlPowerProxy |
| 2016 | { |
| 2017 | /*< private >*/ |
| 2018 | GDBusProxy parent_instance; |
| 2019 | ControlPowerProxyPrivate *priv; |
| 2020 | }; |
| 2021 | |
| 2022 | struct _ControlPowerProxyClass |
| 2023 | { |
| 2024 | GDBusProxyClass parent_class; |
| 2025 | }; |
| 2026 | |
| 2027 | GType control_power_proxy_get_type (void) G_GNUC_CONST; |
| 2028 | |
| 2029 | void control_power_proxy_new ( |
| 2030 | GDBusConnection *connection, |
| 2031 | GDBusProxyFlags flags, |
| 2032 | const gchar *name, |
| 2033 | const gchar *object_path, |
| 2034 | GCancellable *cancellable, |
| 2035 | GAsyncReadyCallback callback, |
| 2036 | gpointer user_data); |
| 2037 | ControlPower *control_power_proxy_new_finish ( |
| 2038 | GAsyncResult *res, |
| 2039 | GError **error); |
| 2040 | ControlPower *control_power_proxy_new_sync ( |
| 2041 | GDBusConnection *connection, |
| 2042 | GDBusProxyFlags flags, |
| 2043 | const gchar *name, |
| 2044 | const gchar *object_path, |
| 2045 | GCancellable *cancellable, |
| 2046 | GError **error); |
| 2047 | |
| 2048 | void control_power_proxy_new_for_bus ( |
| 2049 | GBusType bus_type, |
| 2050 | GDBusProxyFlags flags, |
| 2051 | const gchar *name, |
| 2052 | const gchar *object_path, |
| 2053 | GCancellable *cancellable, |
| 2054 | GAsyncReadyCallback callback, |
| 2055 | gpointer user_data); |
| 2056 | ControlPower *control_power_proxy_new_for_bus_finish ( |
| 2057 | GAsyncResult *res, |
| 2058 | GError **error); |
| 2059 | ControlPower *control_power_proxy_new_for_bus_sync ( |
| 2060 | GBusType bus_type, |
| 2061 | GDBusProxyFlags flags, |
| 2062 | const gchar *name, |
| 2063 | const gchar *object_path, |
| 2064 | GCancellable *cancellable, |
| 2065 | GError **error); |
| 2066 | |
| 2067 | |
| 2068 | /* ---- */ |
| 2069 | |
| 2070 | #define TYPE_CONTROL_POWER_SKELETON (control_power_skeleton_get_type ()) |
| 2071 | #define CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeleton)) |
| 2072 | #define CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass)) |
| 2073 | #define CONTROL_POWER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONTROL_POWER_SKELETON, ControlPowerSkeletonClass)) |
| 2074 | #define IS_CONTROL_POWER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONTROL_POWER_SKELETON)) |
| 2075 | #define IS_CONTROL_POWER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONTROL_POWER_SKELETON)) |
| 2076 | |
| 2077 | typedef struct _ControlPowerSkeleton ControlPowerSkeleton; |
| 2078 | typedef struct _ControlPowerSkeletonClass ControlPowerSkeletonClass; |
| 2079 | typedef struct _ControlPowerSkeletonPrivate ControlPowerSkeletonPrivate; |
| 2080 | |
| 2081 | struct _ControlPowerSkeleton |
| 2082 | { |
| 2083 | /*< private >*/ |
| 2084 | GDBusInterfaceSkeleton parent_instance; |
| 2085 | ControlPowerSkeletonPrivate *priv; |
| 2086 | }; |
| 2087 | |
| 2088 | struct _ControlPowerSkeletonClass |
| 2089 | { |
| 2090 | GDBusInterfaceSkeletonClass parent_class; |
| 2091 | }; |
| 2092 | |
| 2093 | GType control_power_skeleton_get_type (void) G_GNUC_CONST; |
| 2094 | |
| 2095 | ControlPower *control_power_skeleton_new (void); |
| 2096 | |
| 2097 | |
| 2098 | /* ------------------------------------------------------------------------ */ |
| 2099 | /* Declarations for org.openbmc.Watchdog */ |
| 2100 | |
| 2101 | #define TYPE_WATCHDOG (watchdog_get_type ()) |
| 2102 | #define WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG, Watchdog)) |
| 2103 | #define IS_WATCHDOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG)) |
| 2104 | #define WATCHDOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_WATCHDOG, WatchdogIface)) |
| 2105 | |
| 2106 | struct _Watchdog; |
| 2107 | typedef struct _Watchdog Watchdog; |
| 2108 | typedef struct _WatchdogIface WatchdogIface; |
| 2109 | |
| 2110 | struct _WatchdogIface |
| 2111 | { |
| 2112 | GTypeInterface parent_iface; |
| 2113 | |
| 2114 | |
| 2115 | |
| 2116 | gboolean (*handle_poke) ( |
| 2117 | Watchdog *object, |
| 2118 | GDBusMethodInvocation *invocation); |
| 2119 | |
| 2120 | gboolean (*handle_start) ( |
| 2121 | Watchdog *object, |
| 2122 | GDBusMethodInvocation *invocation); |
| 2123 | |
| 2124 | gboolean (*handle_stop) ( |
| 2125 | Watchdog *object, |
| 2126 | GDBusMethodInvocation *invocation); |
| 2127 | |
| 2128 | gint (*get_poll_interval) (Watchdog *object); |
| 2129 | |
| 2130 | gint (*get_watchdog) (Watchdog *object); |
| 2131 | |
| 2132 | void (*watchdog_error) ( |
| 2133 | Watchdog *object); |
| 2134 | |
| 2135 | }; |
| 2136 | |
| 2137 | GType watchdog_get_type (void) G_GNUC_CONST; |
| 2138 | |
| 2139 | GDBusInterfaceInfo *watchdog_interface_info (void); |
| 2140 | guint watchdog_override_properties (GObjectClass *klass, guint property_id_begin); |
| 2141 | |
| 2142 | |
| 2143 | /* D-Bus method call completion functions: */ |
| 2144 | void watchdog_complete_start ( |
| 2145 | Watchdog *object, |
| 2146 | GDBusMethodInvocation *invocation); |
| 2147 | |
| 2148 | void watchdog_complete_poke ( |
| 2149 | Watchdog *object, |
| 2150 | GDBusMethodInvocation *invocation); |
| 2151 | |
| 2152 | void watchdog_complete_stop ( |
| 2153 | Watchdog *object, |
| 2154 | GDBusMethodInvocation *invocation); |
| 2155 | |
| 2156 | |
| 2157 | |
| 2158 | /* D-Bus signal emissions functions: */ |
| 2159 | void watchdog_emit_watchdog_error ( |
| 2160 | Watchdog *object); |
| 2161 | |
| 2162 | |
| 2163 | |
| 2164 | /* D-Bus method calls: */ |
| 2165 | void watchdog_call_start ( |
| 2166 | Watchdog *proxy, |
| 2167 | GCancellable *cancellable, |
| 2168 | GAsyncReadyCallback callback, |
| 2169 | gpointer user_data); |
| 2170 | |
| 2171 | gboolean watchdog_call_start_finish ( |
| 2172 | Watchdog *proxy, |
| 2173 | GAsyncResult *res, |
| 2174 | GError **error); |
| 2175 | |
| 2176 | gboolean watchdog_call_start_sync ( |
| 2177 | Watchdog *proxy, |
| 2178 | GCancellable *cancellable, |
| 2179 | GError **error); |
| 2180 | |
| 2181 | void watchdog_call_poke ( |
| 2182 | Watchdog *proxy, |
| 2183 | GCancellable *cancellable, |
| 2184 | GAsyncReadyCallback callback, |
| 2185 | gpointer user_data); |
| 2186 | |
| 2187 | gboolean watchdog_call_poke_finish ( |
| 2188 | Watchdog *proxy, |
| 2189 | GAsyncResult *res, |
| 2190 | GError **error); |
| 2191 | |
| 2192 | gboolean watchdog_call_poke_sync ( |
| 2193 | Watchdog *proxy, |
| 2194 | GCancellable *cancellable, |
| 2195 | GError **error); |
| 2196 | |
| 2197 | void watchdog_call_stop ( |
| 2198 | Watchdog *proxy, |
| 2199 | GCancellable *cancellable, |
| 2200 | GAsyncReadyCallback callback, |
| 2201 | gpointer user_data); |
| 2202 | |
| 2203 | gboolean watchdog_call_stop_finish ( |
| 2204 | Watchdog *proxy, |
| 2205 | GAsyncResult *res, |
| 2206 | GError **error); |
| 2207 | |
| 2208 | gboolean watchdog_call_stop_sync ( |
| 2209 | Watchdog *proxy, |
| 2210 | GCancellable *cancellable, |
| 2211 | GError **error); |
| 2212 | |
| 2213 | |
| 2214 | |
| 2215 | /* D-Bus property accessors: */ |
| 2216 | gint watchdog_get_watchdog (Watchdog *object); |
| 2217 | void watchdog_set_watchdog (Watchdog *object, gint value); |
| 2218 | |
| 2219 | gint watchdog_get_poll_interval (Watchdog *object); |
| 2220 | void watchdog_set_poll_interval (Watchdog *object, gint value); |
| 2221 | |
| 2222 | |
| 2223 | /* ---- */ |
| 2224 | |
| 2225 | #define TYPE_WATCHDOG_PROXY (watchdog_proxy_get_type ()) |
| 2226 | #define WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_PROXY, WatchdogProxy)) |
| 2227 | #define WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_PROXY, WatchdogProxyClass)) |
| 2228 | #define WATCHDOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_PROXY, WatchdogProxyClass)) |
| 2229 | #define IS_WATCHDOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_PROXY)) |
| 2230 | #define IS_WATCHDOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_PROXY)) |
| 2231 | |
| 2232 | typedef struct _WatchdogProxy WatchdogProxy; |
| 2233 | typedef struct _WatchdogProxyClass WatchdogProxyClass; |
| 2234 | typedef struct _WatchdogProxyPrivate WatchdogProxyPrivate; |
| 2235 | |
| 2236 | struct _WatchdogProxy |
| 2237 | { |
| 2238 | /*< private >*/ |
| 2239 | GDBusProxy parent_instance; |
| 2240 | WatchdogProxyPrivate *priv; |
| 2241 | }; |
| 2242 | |
| 2243 | struct _WatchdogProxyClass |
| 2244 | { |
| 2245 | GDBusProxyClass parent_class; |
| 2246 | }; |
| 2247 | |
| 2248 | GType watchdog_proxy_get_type (void) G_GNUC_CONST; |
| 2249 | |
| 2250 | void watchdog_proxy_new ( |
| 2251 | GDBusConnection *connection, |
| 2252 | GDBusProxyFlags flags, |
| 2253 | const gchar *name, |
| 2254 | const gchar *object_path, |
| 2255 | GCancellable *cancellable, |
| 2256 | GAsyncReadyCallback callback, |
| 2257 | gpointer user_data); |
| 2258 | Watchdog *watchdog_proxy_new_finish ( |
| 2259 | GAsyncResult *res, |
| 2260 | GError **error); |
| 2261 | Watchdog *watchdog_proxy_new_sync ( |
| 2262 | GDBusConnection *connection, |
| 2263 | GDBusProxyFlags flags, |
| 2264 | const gchar *name, |
| 2265 | const gchar *object_path, |
| 2266 | GCancellable *cancellable, |
| 2267 | GError **error); |
| 2268 | |
| 2269 | void watchdog_proxy_new_for_bus ( |
| 2270 | GBusType bus_type, |
| 2271 | GDBusProxyFlags flags, |
| 2272 | const gchar *name, |
| 2273 | const gchar *object_path, |
| 2274 | GCancellable *cancellable, |
| 2275 | GAsyncReadyCallback callback, |
| 2276 | gpointer user_data); |
| 2277 | Watchdog *watchdog_proxy_new_for_bus_finish ( |
| 2278 | GAsyncResult *res, |
| 2279 | GError **error); |
| 2280 | Watchdog *watchdog_proxy_new_for_bus_sync ( |
| 2281 | GBusType bus_type, |
| 2282 | GDBusProxyFlags flags, |
| 2283 | const gchar *name, |
| 2284 | const gchar *object_path, |
| 2285 | GCancellable *cancellable, |
| 2286 | GError **error); |
| 2287 | |
| 2288 | |
| 2289 | /* ---- */ |
| 2290 | |
| 2291 | #define TYPE_WATCHDOG_SKELETON (watchdog_skeleton_get_type ()) |
| 2292 | #define WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeleton)) |
| 2293 | #define WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass)) |
| 2294 | #define WATCHDOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_WATCHDOG_SKELETON, WatchdogSkeletonClass)) |
| 2295 | #define IS_WATCHDOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_WATCHDOG_SKELETON)) |
| 2296 | #define IS_WATCHDOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_WATCHDOG_SKELETON)) |
| 2297 | |
| 2298 | typedef struct _WatchdogSkeleton WatchdogSkeleton; |
| 2299 | typedef struct _WatchdogSkeletonClass WatchdogSkeletonClass; |
| 2300 | typedef struct _WatchdogSkeletonPrivate WatchdogSkeletonPrivate; |
| 2301 | |
| 2302 | struct _WatchdogSkeleton |
| 2303 | { |
| 2304 | /*< private >*/ |
| 2305 | GDBusInterfaceSkeleton parent_instance; |
| 2306 | WatchdogSkeletonPrivate *priv; |
| 2307 | }; |
| 2308 | |
| 2309 | struct _WatchdogSkeletonClass |
| 2310 | { |
| 2311 | GDBusInterfaceSkeletonClass parent_class; |
| 2312 | }; |
| 2313 | |
| 2314 | GType watchdog_skeleton_get_type (void) G_GNUC_CONST; |
| 2315 | |
| 2316 | Watchdog *watchdog_skeleton_new (void); |
| 2317 | |
| 2318 | |
| 2319 | /* ------------------------------------------------------------------------ */ |
| 2320 | /* Declarations for org.openbmc.EventLog */ |
| 2321 | |
| 2322 | #define TYPE_EVENT_LOG (event_log_get_type ()) |
| 2323 | #define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog)) |
| 2324 | #define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG)) |
| 2325 | #define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface)) |
| 2326 | |
| 2327 | struct _EventLog; |
| 2328 | typedef struct _EventLog EventLog; |
| 2329 | typedef struct _EventLogIface EventLogIface; |
| 2330 | |
| 2331 | struct _EventLogIface |
| 2332 | { |
| 2333 | GTypeInterface parent_iface; |
| 2334 | |
| 2335 | |
| 2336 | |
| 2337 | gboolean (*handle_get_message) ( |
| 2338 | EventLog *object, |
| 2339 | GDBusMethodInvocation *invocation); |
| 2340 | |
| 2341 | GVariant * (*get_message) (EventLog *object); |
| 2342 | |
| 2343 | void (*event_log) ( |
| 2344 | EventLog *object, |
| 2345 | GVariant *arg_message); |
| 2346 | |
| 2347 | }; |
| 2348 | |
| 2349 | GType event_log_get_type (void) G_GNUC_CONST; |
| 2350 | |
| 2351 | GDBusInterfaceInfo *event_log_interface_info (void); |
| 2352 | guint event_log_override_properties (GObjectClass *klass, guint property_id_begin); |
| 2353 | |
| 2354 | |
| 2355 | /* D-Bus method call completion functions: */ |
| 2356 | void event_log_complete_get_message ( |
| 2357 | EventLog *object, |
| 2358 | GDBusMethodInvocation *invocation, |
| 2359 | GVariant *message); |
| 2360 | |
| 2361 | |
| 2362 | |
| 2363 | /* D-Bus signal emissions functions: */ |
| 2364 | void event_log_emit_event_log ( |
| 2365 | EventLog *object, |
| 2366 | GVariant *arg_message); |
| 2367 | |
| 2368 | |
| 2369 | |
| 2370 | /* D-Bus method calls: */ |
| 2371 | void event_log_call_get_message ( |
| 2372 | EventLog *proxy, |
| 2373 | GCancellable *cancellable, |
| 2374 | GAsyncReadyCallback callback, |
| 2375 | gpointer user_data); |
| 2376 | |
| 2377 | gboolean event_log_call_get_message_finish ( |
| 2378 | EventLog *proxy, |
| 2379 | GVariant **out_message, |
| 2380 | GAsyncResult *res, |
| 2381 | GError **error); |
| 2382 | |
| 2383 | gboolean event_log_call_get_message_sync ( |
| 2384 | EventLog *proxy, |
| 2385 | GVariant **out_message, |
| 2386 | GCancellable *cancellable, |
| 2387 | GError **error); |
| 2388 | |
| 2389 | |
| 2390 | |
| 2391 | /* D-Bus property accessors: */ |
| 2392 | GVariant *event_log_get_message (EventLog *object); |
| 2393 | GVariant *event_log_dup_message (EventLog *object); |
| 2394 | void event_log_set_message (EventLog *object, GVariant *value); |
| 2395 | |
| 2396 | |
| 2397 | /* ---- */ |
| 2398 | |
| 2399 | #define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ()) |
| 2400 | #define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy)) |
| 2401 | #define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) |
| 2402 | #define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) |
| 2403 | #define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY)) |
| 2404 | #define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY)) |
| 2405 | |
| 2406 | typedef struct _EventLogProxy EventLogProxy; |
| 2407 | typedef struct _EventLogProxyClass EventLogProxyClass; |
| 2408 | typedef struct _EventLogProxyPrivate EventLogProxyPrivate; |
| 2409 | |
| 2410 | struct _EventLogProxy |
| 2411 | { |
| 2412 | /*< private >*/ |
| 2413 | GDBusProxy parent_instance; |
| 2414 | EventLogProxyPrivate *priv; |
| 2415 | }; |
| 2416 | |
| 2417 | struct _EventLogProxyClass |
| 2418 | { |
| 2419 | GDBusProxyClass parent_class; |
| 2420 | }; |
| 2421 | |
| 2422 | GType event_log_proxy_get_type (void) G_GNUC_CONST; |
| 2423 | |
| 2424 | void event_log_proxy_new ( |
| 2425 | GDBusConnection *connection, |
| 2426 | GDBusProxyFlags flags, |
| 2427 | const gchar *name, |
| 2428 | const gchar *object_path, |
| 2429 | GCancellable *cancellable, |
| 2430 | GAsyncReadyCallback callback, |
| 2431 | gpointer user_data); |
| 2432 | EventLog *event_log_proxy_new_finish ( |
| 2433 | GAsyncResult *res, |
| 2434 | GError **error); |
| 2435 | EventLog *event_log_proxy_new_sync ( |
| 2436 | GDBusConnection *connection, |
| 2437 | GDBusProxyFlags flags, |
| 2438 | const gchar *name, |
| 2439 | const gchar *object_path, |
| 2440 | GCancellable *cancellable, |
| 2441 | GError **error); |
| 2442 | |
| 2443 | void event_log_proxy_new_for_bus ( |
| 2444 | GBusType bus_type, |
| 2445 | GDBusProxyFlags flags, |
| 2446 | const gchar *name, |
| 2447 | const gchar *object_path, |
| 2448 | GCancellable *cancellable, |
| 2449 | GAsyncReadyCallback callback, |
| 2450 | gpointer user_data); |
| 2451 | EventLog *event_log_proxy_new_for_bus_finish ( |
| 2452 | GAsyncResult *res, |
| 2453 | GError **error); |
| 2454 | EventLog *event_log_proxy_new_for_bus_sync ( |
| 2455 | GBusType bus_type, |
| 2456 | GDBusProxyFlags flags, |
| 2457 | const gchar *name, |
| 2458 | const gchar *object_path, |
| 2459 | GCancellable *cancellable, |
| 2460 | GError **error); |
| 2461 | |
| 2462 | |
| 2463 | /* ---- */ |
| 2464 | |
| 2465 | #define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ()) |
| 2466 | #define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton)) |
| 2467 | #define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) |
| 2468 | #define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) |
| 2469 | #define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON)) |
| 2470 | #define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON)) |
| 2471 | |
| 2472 | typedef struct _EventLogSkeleton EventLogSkeleton; |
| 2473 | typedef struct _EventLogSkeletonClass EventLogSkeletonClass; |
| 2474 | typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate; |
| 2475 | |
| 2476 | struct _EventLogSkeleton |
| 2477 | { |
| 2478 | /*< private >*/ |
| 2479 | GDBusInterfaceSkeleton parent_instance; |
| 2480 | EventLogSkeletonPrivate *priv; |
| 2481 | }; |
| 2482 | |
| 2483 | struct _EventLogSkeletonClass |
| 2484 | { |
| 2485 | GDBusInterfaceSkeletonClass parent_class; |
| 2486 | }; |
| 2487 | |
| 2488 | GType event_log_skeleton_get_type (void) G_GNUC_CONST; |
| 2489 | |
| 2490 | EventLog *event_log_skeleton_new (void); |
| 2491 | |
| 2492 | |
| 2493 | /* ------------------------------------------------------------------------ */ |
| 2494 | /* Declarations for org.openbmc.Flash */ |
| 2495 | |
| 2496 | #define TYPE_FLASH (flash_get_type ()) |
| 2497 | #define FLASH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH, Flash)) |
| 2498 | #define IS_FLASH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH)) |
| 2499 | #define FLASH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH, FlashIface)) |
| 2500 | |
| 2501 | struct _Flash; |
| 2502 | typedef struct _Flash Flash; |
| 2503 | typedef struct _FlashIface FlashIface; |
| 2504 | |
| 2505 | struct _FlashIface |
| 2506 | { |
| 2507 | GTypeInterface parent_iface; |
| 2508 | |
| 2509 | |
| 2510 | gboolean (*handle_erase) ( |
| 2511 | Flash *object, |
| 2512 | GDBusMethodInvocation *invocation); |
| 2513 | |
| 2514 | gboolean (*handle_init) ( |
| 2515 | Flash *object, |
| 2516 | GDBusMethodInvocation *invocation); |
| 2517 | |
| 2518 | gboolean (*handle_update_via_file) ( |
| 2519 | Flash *object, |
| 2520 | GDBusMethodInvocation *invocation, |
| 2521 | const gchar *arg_file); |
| 2522 | |
| 2523 | gboolean (*handle_update_via_http) ( |
| 2524 | Flash *object, |
| 2525 | GDBusMethodInvocation *invocation, |
| 2526 | const gchar *arg_url); |
| 2527 | |
| 2528 | void (*updated) ( |
| 2529 | Flash *object); |
| 2530 | |
| 2531 | }; |
| 2532 | |
| 2533 | GType flash_get_type (void) G_GNUC_CONST; |
| 2534 | |
| 2535 | GDBusInterfaceInfo *flash_interface_info (void); |
| 2536 | guint flash_override_properties (GObjectClass *klass, guint property_id_begin); |
| 2537 | |
| 2538 | |
| 2539 | /* D-Bus method call completion functions: */ |
| 2540 | void flash_complete_update_via_file ( |
| 2541 | Flash *object, |
| 2542 | GDBusMethodInvocation *invocation); |
| 2543 | |
| 2544 | void flash_complete_update_via_http ( |
| 2545 | Flash *object, |
| 2546 | GDBusMethodInvocation *invocation); |
| 2547 | |
| 2548 | void flash_complete_erase ( |
| 2549 | Flash *object, |
| 2550 | GDBusMethodInvocation *invocation); |
| 2551 | |
| 2552 | void flash_complete_init ( |
| 2553 | Flash *object, |
| 2554 | GDBusMethodInvocation *invocation); |
| 2555 | |
| 2556 | |
| 2557 | |
| 2558 | /* D-Bus signal emissions functions: */ |
| 2559 | void flash_emit_updated ( |
| 2560 | Flash *object); |
| 2561 | |
| 2562 | |
| 2563 | |
| 2564 | /* D-Bus method calls: */ |
| 2565 | void flash_call_update_via_file ( |
| 2566 | Flash *proxy, |
| 2567 | const gchar *arg_file, |
| 2568 | GCancellable *cancellable, |
| 2569 | GAsyncReadyCallback callback, |
| 2570 | gpointer user_data); |
| 2571 | |
| 2572 | gboolean flash_call_update_via_file_finish ( |
| 2573 | Flash *proxy, |
| 2574 | GAsyncResult *res, |
| 2575 | GError **error); |
| 2576 | |
| 2577 | gboolean flash_call_update_via_file_sync ( |
| 2578 | Flash *proxy, |
| 2579 | const gchar *arg_file, |
| 2580 | GCancellable *cancellable, |
| 2581 | GError **error); |
| 2582 | |
| 2583 | void flash_call_update_via_http ( |
| 2584 | Flash *proxy, |
| 2585 | const gchar *arg_url, |
| 2586 | GCancellable *cancellable, |
| 2587 | GAsyncReadyCallback callback, |
| 2588 | gpointer user_data); |
| 2589 | |
| 2590 | gboolean flash_call_update_via_http_finish ( |
| 2591 | Flash *proxy, |
| 2592 | GAsyncResult *res, |
| 2593 | GError **error); |
| 2594 | |
| 2595 | gboolean flash_call_update_via_http_sync ( |
| 2596 | Flash *proxy, |
| 2597 | const gchar *arg_url, |
| 2598 | GCancellable *cancellable, |
| 2599 | GError **error); |
| 2600 | |
| 2601 | void flash_call_erase ( |
| 2602 | Flash *proxy, |
| 2603 | GCancellable *cancellable, |
| 2604 | GAsyncReadyCallback callback, |
| 2605 | gpointer user_data); |
| 2606 | |
| 2607 | gboolean flash_call_erase_finish ( |
| 2608 | Flash *proxy, |
| 2609 | GAsyncResult *res, |
| 2610 | GError **error); |
| 2611 | |
| 2612 | gboolean flash_call_erase_sync ( |
| 2613 | Flash *proxy, |
| 2614 | GCancellable *cancellable, |
| 2615 | GError **error); |
| 2616 | |
| 2617 | void flash_call_init ( |
| 2618 | Flash *proxy, |
| 2619 | GCancellable *cancellable, |
| 2620 | GAsyncReadyCallback callback, |
| 2621 | gpointer user_data); |
| 2622 | |
| 2623 | gboolean flash_call_init_finish ( |
| 2624 | Flash *proxy, |
| 2625 | GAsyncResult *res, |
| 2626 | GError **error); |
| 2627 | |
| 2628 | gboolean flash_call_init_sync ( |
| 2629 | Flash *proxy, |
| 2630 | GCancellable *cancellable, |
| 2631 | GError **error); |
| 2632 | |
| 2633 | |
| 2634 | |
| 2635 | /* ---- */ |
| 2636 | |
| 2637 | #define TYPE_FLASH_PROXY (flash_proxy_get_type ()) |
| 2638 | #define FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_PROXY, FlashProxy)) |
| 2639 | #define FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_PROXY, FlashProxyClass)) |
| 2640 | #define FLASH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_PROXY, FlashProxyClass)) |
| 2641 | #define IS_FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_PROXY)) |
| 2642 | #define IS_FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_PROXY)) |
| 2643 | |
| 2644 | typedef struct _FlashProxy FlashProxy; |
| 2645 | typedef struct _FlashProxyClass FlashProxyClass; |
| 2646 | typedef struct _FlashProxyPrivate FlashProxyPrivate; |
| 2647 | |
| 2648 | struct _FlashProxy |
| 2649 | { |
| 2650 | /*< private >*/ |
| 2651 | GDBusProxy parent_instance; |
| 2652 | FlashProxyPrivate *priv; |
| 2653 | }; |
| 2654 | |
| 2655 | struct _FlashProxyClass |
| 2656 | { |
| 2657 | GDBusProxyClass parent_class; |
| 2658 | }; |
| 2659 | |
| 2660 | GType flash_proxy_get_type (void) G_GNUC_CONST; |
| 2661 | |
| 2662 | void flash_proxy_new ( |
| 2663 | GDBusConnection *connection, |
| 2664 | GDBusProxyFlags flags, |
| 2665 | const gchar *name, |
| 2666 | const gchar *object_path, |
| 2667 | GCancellable *cancellable, |
| 2668 | GAsyncReadyCallback callback, |
| 2669 | gpointer user_data); |
| 2670 | Flash *flash_proxy_new_finish ( |
| 2671 | GAsyncResult *res, |
| 2672 | GError **error); |
| 2673 | Flash *flash_proxy_new_sync ( |
| 2674 | GDBusConnection *connection, |
| 2675 | GDBusProxyFlags flags, |
| 2676 | const gchar *name, |
| 2677 | const gchar *object_path, |
| 2678 | GCancellable *cancellable, |
| 2679 | GError **error); |
| 2680 | |
| 2681 | void flash_proxy_new_for_bus ( |
| 2682 | GBusType bus_type, |
| 2683 | GDBusProxyFlags flags, |
| 2684 | const gchar *name, |
| 2685 | const gchar *object_path, |
| 2686 | GCancellable *cancellable, |
| 2687 | GAsyncReadyCallback callback, |
| 2688 | gpointer user_data); |
| 2689 | Flash *flash_proxy_new_for_bus_finish ( |
| 2690 | GAsyncResult *res, |
| 2691 | GError **error); |
| 2692 | Flash *flash_proxy_new_for_bus_sync ( |
| 2693 | GBusType bus_type, |
| 2694 | GDBusProxyFlags flags, |
| 2695 | const gchar *name, |
| 2696 | const gchar *object_path, |
| 2697 | GCancellable *cancellable, |
| 2698 | GError **error); |
| 2699 | |
| 2700 | |
| 2701 | /* ---- */ |
| 2702 | |
| 2703 | #define TYPE_FLASH_SKELETON (flash_skeleton_get_type ()) |
| 2704 | #define FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_SKELETON, FlashSkeleton)) |
| 2705 | #define FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_SKELETON, FlashSkeletonClass)) |
| 2706 | #define FLASH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_SKELETON, FlashSkeletonClass)) |
| 2707 | #define IS_FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_SKELETON)) |
| 2708 | #define IS_FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_SKELETON)) |
| 2709 | |
| 2710 | typedef struct _FlashSkeleton FlashSkeleton; |
| 2711 | typedef struct _FlashSkeletonClass FlashSkeletonClass; |
| 2712 | typedef struct _FlashSkeletonPrivate FlashSkeletonPrivate; |
| 2713 | |
| 2714 | struct _FlashSkeleton |
| 2715 | { |
| 2716 | /*< private >*/ |
| 2717 | GDBusInterfaceSkeleton parent_instance; |
| 2718 | FlashSkeletonPrivate *priv; |
| 2719 | }; |
| 2720 | |
| 2721 | struct _FlashSkeletonClass |
| 2722 | { |
| 2723 | GDBusInterfaceSkeletonClass parent_class; |
| 2724 | }; |
| 2725 | |
| 2726 | GType flash_skeleton_get_type (void) G_GNUC_CONST; |
| 2727 | |
| 2728 | Flash *flash_skeleton_new (void); |
| 2729 | |
| 2730 | |
| 2731 | /* ------------------------------------------------------------------------ */ |
| 2732 | /* Declarations for org.openbmc.Button */ |
| 2733 | |
| 2734 | #define TYPE_BUTTON (button_get_type ()) |
| 2735 | #define BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON, Button)) |
| 2736 | #define IS_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON)) |
| 2737 | #define BUTTON_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_BUTTON, ButtonIface)) |
| 2738 | |
| 2739 | struct _Button; |
| 2740 | typedef struct _Button Button; |
| 2741 | typedef struct _ButtonIface ButtonIface; |
| 2742 | |
| 2743 | struct _ButtonIface |
| 2744 | { |
| 2745 | GTypeInterface parent_iface; |
| 2746 | |
| 2747 | |
| 2748 | |
| 2749 | gboolean (*handle_is_on) ( |
| 2750 | Button *object, |
| 2751 | GDBusMethodInvocation *invocation); |
| 2752 | |
| 2753 | gboolean (*handle_sim_button_long_press) ( |
| 2754 | Button *object, |
| 2755 | GDBusMethodInvocation *invocation); |
| 2756 | |
| 2757 | gboolean (*handle_sim_button_press) ( |
| 2758 | Button *object, |
| 2759 | GDBusMethodInvocation *invocation); |
| 2760 | |
| 2761 | gboolean (*get_state) (Button *object); |
| 2762 | |
| 2763 | void (*button_pressed) ( |
| 2764 | Button *object); |
| 2765 | |
| 2766 | void (*button_pressed_long) ( |
| 2767 | Button *object); |
| 2768 | |
| 2769 | void (*button_release) ( |
| 2770 | Button *object); |
| 2771 | |
| 2772 | }; |
| 2773 | |
| 2774 | GType button_get_type (void) G_GNUC_CONST; |
| 2775 | |
| 2776 | GDBusInterfaceInfo *button_interface_info (void); |
| 2777 | guint button_override_properties (GObjectClass *klass, guint property_id_begin); |
| 2778 | |
| 2779 | |
| 2780 | /* D-Bus method call completion functions: */ |
| 2781 | void button_complete_is_on ( |
| 2782 | Button *object, |
| 2783 | GDBusMethodInvocation *invocation, |
| 2784 | gboolean state); |
| 2785 | |
| 2786 | void button_complete_sim_button_press ( |
| 2787 | Button *object, |
| 2788 | GDBusMethodInvocation *invocation); |
| 2789 | |
| 2790 | void button_complete_sim_button_long_press ( |
| 2791 | Button *object, |
| 2792 | GDBusMethodInvocation *invocation); |
| 2793 | |
| 2794 | |
| 2795 | |
| 2796 | /* D-Bus signal emissions functions: */ |
| 2797 | void button_emit_button_release ( |
| 2798 | Button *object); |
| 2799 | |
| 2800 | void button_emit_button_pressed ( |
| 2801 | Button *object); |
| 2802 | |
| 2803 | void button_emit_button_pressed_long ( |
| 2804 | Button *object); |
| 2805 | |
| 2806 | |
| 2807 | |
| 2808 | /* D-Bus method calls: */ |
| 2809 | void button_call_is_on ( |
| 2810 | Button *proxy, |
| 2811 | GCancellable *cancellable, |
| 2812 | GAsyncReadyCallback callback, |
| 2813 | gpointer user_data); |
| 2814 | |
| 2815 | gboolean button_call_is_on_finish ( |
| 2816 | Button *proxy, |
| 2817 | gboolean *out_state, |
| 2818 | GAsyncResult *res, |
| 2819 | GError **error); |
| 2820 | |
| 2821 | gboolean button_call_is_on_sync ( |
| 2822 | Button *proxy, |
| 2823 | gboolean *out_state, |
| 2824 | GCancellable *cancellable, |
| 2825 | GError **error); |
| 2826 | |
| 2827 | void button_call_sim_button_press ( |
| 2828 | Button *proxy, |
| 2829 | GCancellable *cancellable, |
| 2830 | GAsyncReadyCallback callback, |
| 2831 | gpointer user_data); |
| 2832 | |
| 2833 | gboolean button_call_sim_button_press_finish ( |
| 2834 | Button *proxy, |
| 2835 | GAsyncResult *res, |
| 2836 | GError **error); |
| 2837 | |
| 2838 | gboolean button_call_sim_button_press_sync ( |
| 2839 | Button *proxy, |
| 2840 | GCancellable *cancellable, |
| 2841 | GError **error); |
| 2842 | |
| 2843 | void button_call_sim_button_long_press ( |
| 2844 | Button *proxy, |
| 2845 | GCancellable *cancellable, |
| 2846 | GAsyncReadyCallback callback, |
| 2847 | gpointer user_data); |
| 2848 | |
| 2849 | gboolean button_call_sim_button_long_press_finish ( |
| 2850 | Button *proxy, |
| 2851 | GAsyncResult *res, |
| 2852 | GError **error); |
| 2853 | |
| 2854 | gboolean button_call_sim_button_long_press_sync ( |
| 2855 | Button *proxy, |
| 2856 | GCancellable *cancellable, |
| 2857 | GError **error); |
| 2858 | |
| 2859 | |
| 2860 | |
| 2861 | /* D-Bus property accessors: */ |
| 2862 | gboolean button_get_state (Button *object); |
| 2863 | void button_set_state (Button *object, gboolean value); |
| 2864 | |
| 2865 | |
| 2866 | /* ---- */ |
| 2867 | |
| 2868 | #define TYPE_BUTTON_PROXY (button_proxy_get_type ()) |
| 2869 | #define BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_PROXY, ButtonProxy)) |
| 2870 | #define BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_PROXY, ButtonProxyClass)) |
| 2871 | #define BUTTON_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_PROXY, ButtonProxyClass)) |
| 2872 | #define IS_BUTTON_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_PROXY)) |
| 2873 | #define IS_BUTTON_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_PROXY)) |
| 2874 | |
| 2875 | typedef struct _ButtonProxy ButtonProxy; |
| 2876 | typedef struct _ButtonProxyClass ButtonProxyClass; |
| 2877 | typedef struct _ButtonProxyPrivate ButtonProxyPrivate; |
| 2878 | |
| 2879 | struct _ButtonProxy |
| 2880 | { |
| 2881 | /*< private >*/ |
| 2882 | GDBusProxy parent_instance; |
| 2883 | ButtonProxyPrivate *priv; |
| 2884 | }; |
| 2885 | |
| 2886 | struct _ButtonProxyClass |
| 2887 | { |
| 2888 | GDBusProxyClass parent_class; |
| 2889 | }; |
| 2890 | |
| 2891 | GType button_proxy_get_type (void) G_GNUC_CONST; |
| 2892 | |
| 2893 | void button_proxy_new ( |
| 2894 | GDBusConnection *connection, |
| 2895 | GDBusProxyFlags flags, |
| 2896 | const gchar *name, |
| 2897 | const gchar *object_path, |
| 2898 | GCancellable *cancellable, |
| 2899 | GAsyncReadyCallback callback, |
| 2900 | gpointer user_data); |
| 2901 | Button *button_proxy_new_finish ( |
| 2902 | GAsyncResult *res, |
| 2903 | GError **error); |
| 2904 | Button *button_proxy_new_sync ( |
| 2905 | GDBusConnection *connection, |
| 2906 | GDBusProxyFlags flags, |
| 2907 | const gchar *name, |
| 2908 | const gchar *object_path, |
| 2909 | GCancellable *cancellable, |
| 2910 | GError **error); |
| 2911 | |
| 2912 | void button_proxy_new_for_bus ( |
| 2913 | GBusType bus_type, |
| 2914 | GDBusProxyFlags flags, |
| 2915 | const gchar *name, |
| 2916 | const gchar *object_path, |
| 2917 | GCancellable *cancellable, |
| 2918 | GAsyncReadyCallback callback, |
| 2919 | gpointer user_data); |
| 2920 | Button *button_proxy_new_for_bus_finish ( |
| 2921 | GAsyncResult *res, |
| 2922 | GError **error); |
| 2923 | Button *button_proxy_new_for_bus_sync ( |
| 2924 | GBusType bus_type, |
| 2925 | GDBusProxyFlags flags, |
| 2926 | const gchar *name, |
| 2927 | const gchar *object_path, |
| 2928 | GCancellable *cancellable, |
| 2929 | GError **error); |
| 2930 | |
| 2931 | |
| 2932 | /* ---- */ |
| 2933 | |
| 2934 | #define TYPE_BUTTON_SKELETON (button_skeleton_get_type ()) |
| 2935 | #define BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_BUTTON_SKELETON, ButtonSkeleton)) |
| 2936 | #define BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_BUTTON_SKELETON, ButtonSkeletonClass)) |
| 2937 | #define BUTTON_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_BUTTON_SKELETON, ButtonSkeletonClass)) |
| 2938 | #define IS_BUTTON_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_BUTTON_SKELETON)) |
| 2939 | #define IS_BUTTON_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_BUTTON_SKELETON)) |
| 2940 | |
| 2941 | typedef struct _ButtonSkeleton ButtonSkeleton; |
| 2942 | typedef struct _ButtonSkeletonClass ButtonSkeletonClass; |
| 2943 | typedef struct _ButtonSkeletonPrivate ButtonSkeletonPrivate; |
| 2944 | |
| 2945 | struct _ButtonSkeleton |
| 2946 | { |
| 2947 | /*< private >*/ |
| 2948 | GDBusInterfaceSkeleton parent_instance; |
| 2949 | ButtonSkeletonPrivate *priv; |
| 2950 | }; |
| 2951 | |
| 2952 | struct _ButtonSkeletonClass |
| 2953 | { |
| 2954 | GDBusInterfaceSkeletonClass parent_class; |
| 2955 | }; |
| 2956 | |
| 2957 | GType button_skeleton_get_type (void) G_GNUC_CONST; |
| 2958 | |
| 2959 | Button *button_skeleton_new (void); |
| 2960 | |
| 2961 | |
| 2962 | /* ------------------------------------------------------------------------ */ |
| 2963 | /* Declarations for org.openbmc.Led */ |
| 2964 | |
| 2965 | #define TYPE_LED (led_get_type ()) |
| 2966 | #define LED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED, Led)) |
| 2967 | #define IS_LED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED)) |
| 2968 | #define LED_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_LED, LedIface)) |
| 2969 | |
| 2970 | struct _Led; |
| 2971 | typedef struct _Led Led; |
| 2972 | typedef struct _LedIface LedIface; |
| 2973 | |
| 2974 | struct _LedIface |
| 2975 | { |
| 2976 | GTypeInterface parent_iface; |
| 2977 | |
| 2978 | |
| 2979 | gboolean (*handle_set_blink_fast) ( |
| 2980 | Led *object, |
| 2981 | GDBusMethodInvocation *invocation); |
| 2982 | |
| 2983 | gboolean (*handle_set_blink_slow) ( |
| 2984 | Led *object, |
| 2985 | GDBusMethodInvocation *invocation); |
| 2986 | |
| 2987 | gboolean (*handle_set_off) ( |
| 2988 | Led *object, |
| 2989 | GDBusMethodInvocation *invocation); |
| 2990 | |
| 2991 | gboolean (*handle_set_on) ( |
| 2992 | Led *object, |
| 2993 | GDBusMethodInvocation *invocation); |
| 2994 | |
| 2995 | gint (*get_color) (Led *object); |
| 2996 | |
| 2997 | const gchar * (*get_function) (Led *object); |
| 2998 | |
| 2999 | }; |
| 3000 | |
| 3001 | GType led_get_type (void) G_GNUC_CONST; |
| 3002 | |
| 3003 | GDBusInterfaceInfo *led_interface_info (void); |
| 3004 | guint led_override_properties (GObjectClass *klass, guint property_id_begin); |
| 3005 | |
| 3006 | |
| 3007 | /* D-Bus method call completion functions: */ |
| 3008 | void led_complete_set_on ( |
| 3009 | Led *object, |
| 3010 | GDBusMethodInvocation *invocation); |
| 3011 | |
| 3012 | void led_complete_set_off ( |
| 3013 | Led *object, |
| 3014 | GDBusMethodInvocation *invocation); |
| 3015 | |
| 3016 | void led_complete_set_blink_slow ( |
| 3017 | Led *object, |
| 3018 | GDBusMethodInvocation *invocation); |
| 3019 | |
| 3020 | void led_complete_set_blink_fast ( |
| 3021 | Led *object, |
| 3022 | GDBusMethodInvocation *invocation); |
| 3023 | |
| 3024 | |
| 3025 | |
| 3026 | /* D-Bus method calls: */ |
| 3027 | void led_call_set_on ( |
| 3028 | Led *proxy, |
| 3029 | GCancellable *cancellable, |
| 3030 | GAsyncReadyCallback callback, |
| 3031 | gpointer user_data); |
| 3032 | |
| 3033 | gboolean led_call_set_on_finish ( |
| 3034 | Led *proxy, |
| 3035 | GAsyncResult *res, |
| 3036 | GError **error); |
| 3037 | |
| 3038 | gboolean led_call_set_on_sync ( |
| 3039 | Led *proxy, |
| 3040 | GCancellable *cancellable, |
| 3041 | GError **error); |
| 3042 | |
| 3043 | void led_call_set_off ( |
| 3044 | Led *proxy, |
| 3045 | GCancellable *cancellable, |
| 3046 | GAsyncReadyCallback callback, |
| 3047 | gpointer user_data); |
| 3048 | |
| 3049 | gboolean led_call_set_off_finish ( |
| 3050 | Led *proxy, |
| 3051 | GAsyncResult *res, |
| 3052 | GError **error); |
| 3053 | |
| 3054 | gboolean led_call_set_off_sync ( |
| 3055 | Led *proxy, |
| 3056 | GCancellable *cancellable, |
| 3057 | GError **error); |
| 3058 | |
| 3059 | void led_call_set_blink_slow ( |
| 3060 | Led *proxy, |
| 3061 | GCancellable *cancellable, |
| 3062 | GAsyncReadyCallback callback, |
| 3063 | gpointer user_data); |
| 3064 | |
| 3065 | gboolean led_call_set_blink_slow_finish ( |
| 3066 | Led *proxy, |
| 3067 | GAsyncResult *res, |
| 3068 | GError **error); |
| 3069 | |
| 3070 | gboolean led_call_set_blink_slow_sync ( |
| 3071 | Led *proxy, |
| 3072 | GCancellable *cancellable, |
| 3073 | GError **error); |
| 3074 | |
| 3075 | void led_call_set_blink_fast ( |
| 3076 | Led *proxy, |
| 3077 | GCancellable *cancellable, |
| 3078 | GAsyncReadyCallback callback, |
| 3079 | gpointer user_data); |
| 3080 | |
| 3081 | gboolean led_call_set_blink_fast_finish ( |
| 3082 | Led *proxy, |
| 3083 | GAsyncResult *res, |
| 3084 | GError **error); |
| 3085 | |
| 3086 | gboolean led_call_set_blink_fast_sync ( |
| 3087 | Led *proxy, |
| 3088 | GCancellable *cancellable, |
| 3089 | GError **error); |
| 3090 | |
| 3091 | |
| 3092 | |
| 3093 | /* D-Bus property accessors: */ |
| 3094 | gint led_get_color (Led *object); |
| 3095 | void led_set_color (Led *object, gint value); |
| 3096 | |
| 3097 | const gchar *led_get_function (Led *object); |
| 3098 | gchar *led_dup_function (Led *object); |
| 3099 | void led_set_function (Led *object, const gchar *value); |
| 3100 | |
| 3101 | |
| 3102 | /* ---- */ |
| 3103 | |
| 3104 | #define TYPE_LED_PROXY (led_proxy_get_type ()) |
| 3105 | #define LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_PROXY, LedProxy)) |
| 3106 | #define LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_PROXY, LedProxyClass)) |
| 3107 | #define LED_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_PROXY, LedProxyClass)) |
| 3108 | #define IS_LED_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_PROXY)) |
| 3109 | #define IS_LED_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_PROXY)) |
| 3110 | |
| 3111 | typedef struct _LedProxy LedProxy; |
| 3112 | typedef struct _LedProxyClass LedProxyClass; |
| 3113 | typedef struct _LedProxyPrivate LedProxyPrivate; |
| 3114 | |
| 3115 | struct _LedProxy |
| 3116 | { |
| 3117 | /*< private >*/ |
| 3118 | GDBusProxy parent_instance; |
| 3119 | LedProxyPrivate *priv; |
| 3120 | }; |
| 3121 | |
| 3122 | struct _LedProxyClass |
| 3123 | { |
| 3124 | GDBusProxyClass parent_class; |
| 3125 | }; |
| 3126 | |
| 3127 | GType led_proxy_get_type (void) G_GNUC_CONST; |
| 3128 | |
| 3129 | void led_proxy_new ( |
| 3130 | GDBusConnection *connection, |
| 3131 | GDBusProxyFlags flags, |
| 3132 | const gchar *name, |
| 3133 | const gchar *object_path, |
| 3134 | GCancellable *cancellable, |
| 3135 | GAsyncReadyCallback callback, |
| 3136 | gpointer user_data); |
| 3137 | Led *led_proxy_new_finish ( |
| 3138 | GAsyncResult *res, |
| 3139 | GError **error); |
| 3140 | Led *led_proxy_new_sync ( |
| 3141 | GDBusConnection *connection, |
| 3142 | GDBusProxyFlags flags, |
| 3143 | const gchar *name, |
| 3144 | const gchar *object_path, |
| 3145 | GCancellable *cancellable, |
| 3146 | GError **error); |
| 3147 | |
| 3148 | void led_proxy_new_for_bus ( |
| 3149 | GBusType bus_type, |
| 3150 | GDBusProxyFlags flags, |
| 3151 | const gchar *name, |
| 3152 | const gchar *object_path, |
| 3153 | GCancellable *cancellable, |
| 3154 | GAsyncReadyCallback callback, |
| 3155 | gpointer user_data); |
| 3156 | Led *led_proxy_new_for_bus_finish ( |
| 3157 | GAsyncResult *res, |
| 3158 | GError **error); |
| 3159 | Led *led_proxy_new_for_bus_sync ( |
| 3160 | GBusType bus_type, |
| 3161 | GDBusProxyFlags flags, |
| 3162 | const gchar *name, |
| 3163 | const gchar *object_path, |
| 3164 | GCancellable *cancellable, |
| 3165 | GError **error); |
| 3166 | |
| 3167 | |
| 3168 | /* ---- */ |
| 3169 | |
| 3170 | #define TYPE_LED_SKELETON (led_skeleton_get_type ()) |
| 3171 | #define LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_LED_SKELETON, LedSkeleton)) |
| 3172 | #define LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_LED_SKELETON, LedSkeletonClass)) |
| 3173 | #define LED_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_LED_SKELETON, LedSkeletonClass)) |
| 3174 | #define IS_LED_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_LED_SKELETON)) |
| 3175 | #define IS_LED_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_LED_SKELETON)) |
| 3176 | |
| 3177 | typedef struct _LedSkeleton LedSkeleton; |
| 3178 | typedef struct _LedSkeletonClass LedSkeletonClass; |
| 3179 | typedef struct _LedSkeletonPrivate LedSkeletonPrivate; |
| 3180 | |
| 3181 | struct _LedSkeleton |
| 3182 | { |
| 3183 | /*< private >*/ |
| 3184 | GDBusInterfaceSkeleton parent_instance; |
| 3185 | LedSkeletonPrivate *priv; |
| 3186 | }; |
| 3187 | |
| 3188 | struct _LedSkeletonClass |
| 3189 | { |
| 3190 | GDBusInterfaceSkeletonClass parent_class; |
| 3191 | }; |
| 3192 | |
| 3193 | GType led_skeleton_get_type (void) G_GNUC_CONST; |
| 3194 | |
| 3195 | Led *led_skeleton_new (void); |
| 3196 | |
| 3197 | |
| 3198 | /* ---- */ |
| 3199 | |
| 3200 | #define TYPE_OBJECT (object_get_type ()) |
| 3201 | #define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object)) |
| 3202 | #define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT)) |
| 3203 | #define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object)) |
| 3204 | |
| 3205 | struct _Object; |
| 3206 | typedef struct _Object Object; |
| 3207 | typedef struct _ObjectIface ObjectIface; |
| 3208 | |
| 3209 | struct _ObjectIface |
| 3210 | { |
| 3211 | GTypeInterface parent_iface; |
| 3212 | }; |
| 3213 | |
| 3214 | GType object_get_type (void) G_GNUC_CONST; |
| 3215 | |
| 3216 | Occ *object_get_occ (Object *object); |
| 3217 | Fan *object_get_fan (Object *object); |
| 3218 | SensorValue *object_get_sensor_value (Object *object); |
| 3219 | SensorThreshold *object_get_sensor_threshold (Object *object); |
| 3220 | SensorI2c *object_get_sensor_i2c (Object *object); |
| 3221 | SensorMatch *object_get_sensor_match (Object *object); |
| 3222 | Process *object_get_process (Object *object); |
| 3223 | Control *object_get_control (Object *object); |
| 3224 | ControlBmc *object_get_control_bmc (Object *object); |
| 3225 | ControlHost *object_get_control_host (Object *object); |
| 3226 | ControlPower *object_get_control_power (Object *object); |
| 3227 | Watchdog *object_get_watchdog (Object *object); |
| 3228 | EventLog *object_get_event_log (Object *object); |
| 3229 | Flash *object_get_flash (Object *object); |
| 3230 | Button *object_get_button (Object *object); |
| 3231 | Led *object_get_led (Object *object); |
| 3232 | Occ *object_peek_occ (Object *object); |
| 3233 | Fan *object_peek_fan (Object *object); |
| 3234 | SensorValue *object_peek_sensor_value (Object *object); |
| 3235 | SensorThreshold *object_peek_sensor_threshold (Object *object); |
| 3236 | SensorI2c *object_peek_sensor_i2c (Object *object); |
| 3237 | SensorMatch *object_peek_sensor_match (Object *object); |
| 3238 | Process *object_peek_process (Object *object); |
| 3239 | Control *object_peek_control (Object *object); |
| 3240 | ControlBmc *object_peek_control_bmc (Object *object); |
| 3241 | ControlHost *object_peek_control_host (Object *object); |
| 3242 | ControlPower *object_peek_control_power (Object *object); |
| 3243 | Watchdog *object_peek_watchdog (Object *object); |
| 3244 | EventLog *object_peek_event_log (Object *object); |
| 3245 | Flash *object_peek_flash (Object *object); |
| 3246 | Button *object_peek_button (Object *object); |
| 3247 | Led *object_peek_led (Object *object); |
| 3248 | |
| 3249 | #define TYPE_OBJECT_PROXY (object_proxy_get_type ()) |
| 3250 | #define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy)) |
| 3251 | #define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass)) |
| 3252 | #define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass)) |
| 3253 | #define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY)) |
| 3254 | #define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY)) |
| 3255 | |
| 3256 | typedef struct _ObjectProxy ObjectProxy; |
| 3257 | typedef struct _ObjectProxyClass ObjectProxyClass; |
| 3258 | typedef struct _ObjectProxyPrivate ObjectProxyPrivate; |
| 3259 | |
| 3260 | struct _ObjectProxy |
| 3261 | { |
| 3262 | /*< private >*/ |
| 3263 | GDBusObjectProxy parent_instance; |
| 3264 | ObjectProxyPrivate *priv; |
| 3265 | }; |
| 3266 | |
| 3267 | struct _ObjectProxyClass |
| 3268 | { |
| 3269 | GDBusObjectProxyClass parent_class; |
| 3270 | }; |
| 3271 | |
| 3272 | GType object_proxy_get_type (void) G_GNUC_CONST; |
| 3273 | ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path); |
| 3274 | |
| 3275 | #define TYPE_OBJECT_SKELETON (object_skeleton_get_type ()) |
| 3276 | #define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton)) |
| 3277 | #define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) |
| 3278 | #define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) |
| 3279 | #define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON)) |
| 3280 | #define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON)) |
| 3281 | |
| 3282 | typedef struct _ObjectSkeleton ObjectSkeleton; |
| 3283 | typedef struct _ObjectSkeletonClass ObjectSkeletonClass; |
| 3284 | typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate; |
| 3285 | |
| 3286 | struct _ObjectSkeleton |
| 3287 | { |
| 3288 | /*< private >*/ |
| 3289 | GDBusObjectSkeleton parent_instance; |
| 3290 | ObjectSkeletonPrivate *priv; |
| 3291 | }; |
| 3292 | |
| 3293 | struct _ObjectSkeletonClass |
| 3294 | { |
| 3295 | GDBusObjectSkeletonClass parent_class; |
| 3296 | }; |
| 3297 | |
| 3298 | GType object_skeleton_get_type (void) G_GNUC_CONST; |
| 3299 | ObjectSkeleton *object_skeleton_new (const gchar *object_path); |
| 3300 | void object_skeleton_set_occ (ObjectSkeleton *object, Occ *interface_); |
| 3301 | void object_skeleton_set_fan (ObjectSkeleton *object, Fan *interface_); |
| 3302 | void object_skeleton_set_sensor_value (ObjectSkeleton *object, SensorValue *interface_); |
| 3303 | void object_skeleton_set_sensor_threshold (ObjectSkeleton *object, SensorThreshold *interface_); |
| 3304 | void object_skeleton_set_sensor_i2c (ObjectSkeleton *object, SensorI2c *interface_); |
| 3305 | void object_skeleton_set_sensor_match (ObjectSkeleton *object, SensorMatch *interface_); |
| 3306 | void object_skeleton_set_process (ObjectSkeleton *object, Process *interface_); |
| 3307 | void object_skeleton_set_control (ObjectSkeleton *object, Control *interface_); |
| 3308 | void object_skeleton_set_control_bmc (ObjectSkeleton *object, ControlBmc *interface_); |
| 3309 | void object_skeleton_set_control_host (ObjectSkeleton *object, ControlHost *interface_); |
| 3310 | void object_skeleton_set_control_power (ObjectSkeleton *object, ControlPower *interface_); |
| 3311 | void object_skeleton_set_watchdog (ObjectSkeleton *object, Watchdog *interface_); |
| 3312 | void object_skeleton_set_event_log (ObjectSkeleton *object, EventLog *interface_); |
| 3313 | void object_skeleton_set_flash (ObjectSkeleton *object, Flash *interface_); |
| 3314 | void object_skeleton_set_button (ObjectSkeleton *object, Button *interface_); |
| 3315 | void object_skeleton_set_led (ObjectSkeleton *object, Led *interface_); |
| 3316 | |
| 3317 | /* ---- */ |
| 3318 | |
| 3319 | #define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ()) |
| 3320 | #define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient)) |
| 3321 | #define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) |
| 3322 | #define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) |
| 3323 | #define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT)) |
| 3324 | #define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT)) |
| 3325 | |
| 3326 | typedef struct _ObjectManagerClient ObjectManagerClient; |
| 3327 | typedef struct _ObjectManagerClientClass ObjectManagerClientClass; |
| 3328 | typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate; |
| 3329 | |
| 3330 | struct _ObjectManagerClient |
| 3331 | { |
| 3332 | /*< private >*/ |
| 3333 | GDBusObjectManagerClient parent_instance; |
| 3334 | ObjectManagerClientPrivate *priv; |
| 3335 | }; |
| 3336 | |
| 3337 | struct _ObjectManagerClientClass |
| 3338 | { |
| 3339 | GDBusObjectManagerClientClass parent_class; |
| 3340 | }; |
| 3341 | |
| 3342 | GType object_manager_client_get_type (void) G_GNUC_CONST; |
| 3343 | |
| 3344 | GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data); |
| 3345 | |
| 3346 | void object_manager_client_new ( |
| 3347 | GDBusConnection *connection, |
| 3348 | GDBusObjectManagerClientFlags flags, |
| 3349 | const gchar *name, |
| 3350 | const gchar *object_path, |
| 3351 | GCancellable *cancellable, |
| 3352 | GAsyncReadyCallback callback, |
| 3353 | gpointer user_data); |
| 3354 | GDBusObjectManager *object_manager_client_new_finish ( |
| 3355 | GAsyncResult *res, |
| 3356 | GError **error); |
| 3357 | GDBusObjectManager *object_manager_client_new_sync ( |
| 3358 | GDBusConnection *connection, |
| 3359 | GDBusObjectManagerClientFlags flags, |
| 3360 | const gchar *name, |
| 3361 | const gchar *object_path, |
| 3362 | GCancellable *cancellable, |
| 3363 | GError **error); |
| 3364 | |
| 3365 | void object_manager_client_new_for_bus ( |
| 3366 | GBusType bus_type, |
| 3367 | GDBusObjectManagerClientFlags flags, |
| 3368 | const gchar *name, |
| 3369 | const gchar *object_path, |
| 3370 | GCancellable *cancellable, |
| 3371 | GAsyncReadyCallback callback, |
| 3372 | gpointer user_data); |
| 3373 | GDBusObjectManager *object_manager_client_new_for_bus_finish ( |
| 3374 | GAsyncResult *res, |
| 3375 | GError **error); |
| 3376 | GDBusObjectManager *object_manager_client_new_for_bus_sync ( |
| 3377 | GBusType bus_type, |
| 3378 | GDBusObjectManagerClientFlags flags, |
| 3379 | const gchar *name, |
| 3380 | const gchar *object_path, |
| 3381 | GCancellable *cancellable, |
| 3382 | GError **error); |
| 3383 | |
| 3384 | |
| 3385 | G_END_DECLS |
| 3386 | |
| 3387 | #endif /* __INTERFACES_OPENBMC_INTF_H__ */ |