| /* | |
| * Generated by gdbus-codegen 2.40.2. DO NOT EDIT. | |
| * | |
| * The license of this code is the same as for the source it was derived from. | |
| */ | |
| #ifndef __INTERFACES_FLASH_H__ | |
| #define __INTERFACES_FLASH_H__ | |
| #include <gio/gio.h> | |
| G_BEGIN_DECLS | |
| /* ------------------------------------------------------------------------ */ | |
| /* Declarations for org.openbmc.Flash */ | |
| #define TYPE_FLASH (flash_get_type ()) | |
| #define FLASH(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH, Flash)) | |
| #define IS_FLASH(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH)) | |
| #define FLASH_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FLASH, FlashIface)) | |
| struct _Flash; | |
| typedef struct _Flash Flash; | |
| typedef struct _FlashIface FlashIface; | |
| struct _FlashIface | |
| { | |
| GTypeInterface parent_iface; | |
| gboolean (*handle_erase) ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| gboolean (*handle_init) ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| gboolean (*handle_update_via_file) ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation, | |
| const gchar *arg_file); | |
| gboolean (*handle_update_via_http) ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation, | |
| const gchar *arg_url); | |
| void (*updated) ( | |
| Flash *object); | |
| }; | |
| GType flash_get_type (void) G_GNUC_CONST; | |
| GDBusInterfaceInfo *flash_interface_info (void); | |
| guint flash_override_properties (GObjectClass *klass, guint property_id_begin); | |
| /* D-Bus method call completion functions: */ | |
| void flash_complete_update_via_file ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| void flash_complete_update_via_http ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| void flash_complete_erase ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| void flash_complete_init ( | |
| Flash *object, | |
| GDBusMethodInvocation *invocation); | |
| /* D-Bus signal emissions functions: */ | |
| void flash_emit_updated ( | |
| Flash *object); | |
| /* D-Bus method calls: */ | |
| void flash_call_update_via_file ( | |
| Flash *proxy, | |
| const gchar *arg_file, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| gboolean flash_call_update_via_file_finish ( | |
| Flash *proxy, | |
| GAsyncResult *res, | |
| GError **error); | |
| gboolean flash_call_update_via_file_sync ( | |
| Flash *proxy, | |
| const gchar *arg_file, | |
| GCancellable *cancellable, | |
| GError **error); | |
| void flash_call_update_via_http ( | |
| Flash *proxy, | |
| const gchar *arg_url, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| gboolean flash_call_update_via_http_finish ( | |
| Flash *proxy, | |
| GAsyncResult *res, | |
| GError **error); | |
| gboolean flash_call_update_via_http_sync ( | |
| Flash *proxy, | |
| const gchar *arg_url, | |
| GCancellable *cancellable, | |
| GError **error); | |
| void flash_call_erase ( | |
| Flash *proxy, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| gboolean flash_call_erase_finish ( | |
| Flash *proxy, | |
| GAsyncResult *res, | |
| GError **error); | |
| gboolean flash_call_erase_sync ( | |
| Flash *proxy, | |
| GCancellable *cancellable, | |
| GError **error); | |
| void flash_call_init ( | |
| Flash *proxy, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| gboolean flash_call_init_finish ( | |
| Flash *proxy, | |
| GAsyncResult *res, | |
| GError **error); | |
| gboolean flash_call_init_sync ( | |
| Flash *proxy, | |
| GCancellable *cancellable, | |
| GError **error); | |
| /* ---- */ | |
| #define TYPE_FLASH_PROXY (flash_proxy_get_type ()) | |
| #define FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_PROXY, FlashProxy)) | |
| #define FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_PROXY, FlashProxyClass)) | |
| #define FLASH_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_PROXY, FlashProxyClass)) | |
| #define IS_FLASH_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_PROXY)) | |
| #define IS_FLASH_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_PROXY)) | |
| typedef struct _FlashProxy FlashProxy; | |
| typedef struct _FlashProxyClass FlashProxyClass; | |
| typedef struct _FlashProxyPrivate FlashProxyPrivate; | |
| struct _FlashProxy | |
| { | |
| /*< private >*/ | |
| GDBusProxy parent_instance; | |
| FlashProxyPrivate *priv; | |
| }; | |
| struct _FlashProxyClass | |
| { | |
| GDBusProxyClass parent_class; | |
| }; | |
| GType flash_proxy_get_type (void) G_GNUC_CONST; | |
| void flash_proxy_new ( | |
| GDBusConnection *connection, | |
| GDBusProxyFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| Flash *flash_proxy_new_finish ( | |
| GAsyncResult *res, | |
| GError **error); | |
| Flash *flash_proxy_new_sync ( | |
| GDBusConnection *connection, | |
| GDBusProxyFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GError **error); | |
| void flash_proxy_new_for_bus ( | |
| GBusType bus_type, | |
| GDBusProxyFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| Flash *flash_proxy_new_for_bus_finish ( | |
| GAsyncResult *res, | |
| GError **error); | |
| Flash *flash_proxy_new_for_bus_sync ( | |
| GBusType bus_type, | |
| GDBusProxyFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GError **error); | |
| /* ---- */ | |
| #define TYPE_FLASH_SKELETON (flash_skeleton_get_type ()) | |
| #define FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FLASH_SKELETON, FlashSkeleton)) | |
| #define FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FLASH_SKELETON, FlashSkeletonClass)) | |
| #define FLASH_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FLASH_SKELETON, FlashSkeletonClass)) | |
| #define IS_FLASH_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FLASH_SKELETON)) | |
| #define IS_FLASH_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FLASH_SKELETON)) | |
| typedef struct _FlashSkeleton FlashSkeleton; | |
| typedef struct _FlashSkeletonClass FlashSkeletonClass; | |
| typedef struct _FlashSkeletonPrivate FlashSkeletonPrivate; | |
| struct _FlashSkeleton | |
| { | |
| /*< private >*/ | |
| GDBusInterfaceSkeleton parent_instance; | |
| FlashSkeletonPrivate *priv; | |
| }; | |
| struct _FlashSkeletonClass | |
| { | |
| GDBusInterfaceSkeletonClass parent_class; | |
| }; | |
| GType flash_skeleton_get_type (void) G_GNUC_CONST; | |
| Flash *flash_skeleton_new (void); | |
| /* ---- */ | |
| #define TYPE_OBJECT (object_get_type ()) | |
| #define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object)) | |
| #define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT)) | |
| #define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object)) | |
| struct _Object; | |
| typedef struct _Object Object; | |
| typedef struct _ObjectIface ObjectIface; | |
| struct _ObjectIface | |
| { | |
| GTypeInterface parent_iface; | |
| }; | |
| GType object_get_type (void) G_GNUC_CONST; | |
| Flash *object_get_flash (Object *object); | |
| Flash *object_peek_flash (Object *object); | |
| #define TYPE_OBJECT_PROXY (object_proxy_get_type ()) | |
| #define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy)) | |
| #define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass)) | |
| #define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass)) | |
| #define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY)) | |
| #define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY)) | |
| typedef struct _ObjectProxy ObjectProxy; | |
| typedef struct _ObjectProxyClass ObjectProxyClass; | |
| typedef struct _ObjectProxyPrivate ObjectProxyPrivate; | |
| struct _ObjectProxy | |
| { | |
| /*< private >*/ | |
| GDBusObjectProxy parent_instance; | |
| ObjectProxyPrivate *priv; | |
| }; | |
| struct _ObjectProxyClass | |
| { | |
| GDBusObjectProxyClass parent_class; | |
| }; | |
| GType object_proxy_get_type (void) G_GNUC_CONST; | |
| ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path); | |
| #define TYPE_OBJECT_SKELETON (object_skeleton_get_type ()) | |
| #define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton)) | |
| #define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) | |
| #define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) | |
| #define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON)) | |
| #define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON)) | |
| typedef struct _ObjectSkeleton ObjectSkeleton; | |
| typedef struct _ObjectSkeletonClass ObjectSkeletonClass; | |
| typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate; | |
| struct _ObjectSkeleton | |
| { | |
| /*< private >*/ | |
| GDBusObjectSkeleton parent_instance; | |
| ObjectSkeletonPrivate *priv; | |
| }; | |
| struct _ObjectSkeletonClass | |
| { | |
| GDBusObjectSkeletonClass parent_class; | |
| }; | |
| GType object_skeleton_get_type (void) G_GNUC_CONST; | |
| ObjectSkeleton *object_skeleton_new (const gchar *object_path); | |
| void object_skeleton_set_flash (ObjectSkeleton *object, Flash *interface_); | |
| /* ---- */ | |
| #define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ()) | |
| #define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient)) | |
| #define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) | |
| #define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) | |
| #define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT)) | |
| #define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT)) | |
| typedef struct _ObjectManagerClient ObjectManagerClient; | |
| typedef struct _ObjectManagerClientClass ObjectManagerClientClass; | |
| typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate; | |
| struct _ObjectManagerClient | |
| { | |
| /*< private >*/ | |
| GDBusObjectManagerClient parent_instance; | |
| ObjectManagerClientPrivate *priv; | |
| }; | |
| struct _ObjectManagerClientClass | |
| { | |
| GDBusObjectManagerClientClass parent_class; | |
| }; | |
| GType object_manager_client_get_type (void) G_GNUC_CONST; | |
| GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data); | |
| void object_manager_client_new ( | |
| GDBusConnection *connection, | |
| GDBusObjectManagerClientFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| GDBusObjectManager *object_manager_client_new_finish ( | |
| GAsyncResult *res, | |
| GError **error); | |
| GDBusObjectManager *object_manager_client_new_sync ( | |
| GDBusConnection *connection, | |
| GDBusObjectManagerClientFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GError **error); | |
| void object_manager_client_new_for_bus ( | |
| GBusType bus_type, | |
| GDBusObjectManagerClientFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GAsyncReadyCallback callback, | |
| gpointer user_data); | |
| GDBusObjectManager *object_manager_client_new_for_bus_finish ( | |
| GAsyncResult *res, | |
| GError **error); | |
| GDBusObjectManager *object_manager_client_new_for_bus_sync ( | |
| GBusType bus_type, | |
| GDBusObjectManagerClientFlags flags, | |
| const gchar *name, | |
| const gchar *object_path, | |
| GCancellable *cancellable, | |
| GError **error); | |
| G_END_DECLS | |
| #endif /* __INTERFACES_FLASH_H__ */ |