/* | |
* 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_EVENTLOG_H__ | |
#define __INTERFACES_EVENTLOG_H__ | |
#include <gio/gio.h> | |
G_BEGIN_DECLS | |
/* ------------------------------------------------------------------------ */ | |
/* Declarations for org.openbmc.EventLog */ | |
#define TYPE_EVENT_LOG (event_log_get_type ()) | |
#define EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG, EventLog)) | |
#define IS_EVENT_LOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG)) | |
#define EVENT_LOG_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_EVENT_LOG, EventLogIface)) | |
struct _EventLog; | |
typedef struct _EventLog EventLog; | |
typedef struct _EventLogIface EventLogIface; | |
struct _EventLogIface | |
{ | |
GTypeInterface parent_iface; | |
gboolean (*handle_error) ( | |
EventLog *object, | |
GDBusMethodInvocation *invocation, | |
const gchar *arg_message); | |
const gchar * (*get_message) (EventLog *object); | |
void (*error_event) ( | |
EventLog *object, | |
const gchar *arg_message); | |
}; | |
GType event_log_get_type (void) G_GNUC_CONST; | |
GDBusInterfaceInfo *event_log_interface_info (void); | |
guint event_log_override_properties (GObjectClass *klass, guint property_id_begin); | |
/* D-Bus method call completion functions: */ | |
void event_log_complete_error ( | |
EventLog *object, | |
GDBusMethodInvocation *invocation); | |
/* D-Bus signal emissions functions: */ | |
void event_log_emit_error_event ( | |
EventLog *object, | |
const gchar *arg_message); | |
/* D-Bus method calls: */ | |
void event_log_call_error ( | |
EventLog *proxy, | |
const gchar *arg_message, | |
GCancellable *cancellable, | |
GAsyncReadyCallback callback, | |
gpointer user_data); | |
gboolean event_log_call_error_finish ( | |
EventLog *proxy, | |
GAsyncResult *res, | |
GError **error); | |
gboolean event_log_call_error_sync ( | |
EventLog *proxy, | |
const gchar *arg_message, | |
GCancellable *cancellable, | |
GError **error); | |
/* D-Bus property accessors: */ | |
const gchar *event_log_get_message (EventLog *object); | |
gchar *event_log_dup_message (EventLog *object); | |
void event_log_set_message (EventLog *object, const gchar *value); | |
/* ---- */ | |
#define TYPE_EVENT_LOG_PROXY (event_log_proxy_get_type ()) | |
#define EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_PROXY, EventLogProxy)) | |
#define EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) | |
#define EVENT_LOG_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_PROXY, EventLogProxyClass)) | |
#define IS_EVENT_LOG_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_PROXY)) | |
#define IS_EVENT_LOG_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_PROXY)) | |
typedef struct _EventLogProxy EventLogProxy; | |
typedef struct _EventLogProxyClass EventLogProxyClass; | |
typedef struct _EventLogProxyPrivate EventLogProxyPrivate; | |
struct _EventLogProxy | |
{ | |
/*< private >*/ | |
GDBusProxy parent_instance; | |
EventLogProxyPrivate *priv; | |
}; | |
struct _EventLogProxyClass | |
{ | |
GDBusProxyClass parent_class; | |
}; | |
GType event_log_proxy_get_type (void) G_GNUC_CONST; | |
void event_log_proxy_new ( | |
GDBusConnection *connection, | |
GDBusProxyFlags flags, | |
const gchar *name, | |
const gchar *object_path, | |
GCancellable *cancellable, | |
GAsyncReadyCallback callback, | |
gpointer user_data); | |
EventLog *event_log_proxy_new_finish ( | |
GAsyncResult *res, | |
GError **error); | |
EventLog *event_log_proxy_new_sync ( | |
GDBusConnection *connection, | |
GDBusProxyFlags flags, | |
const gchar *name, | |
const gchar *object_path, | |
GCancellable *cancellable, | |
GError **error); | |
void event_log_proxy_new_for_bus ( | |
GBusType bus_type, | |
GDBusProxyFlags flags, | |
const gchar *name, | |
const gchar *object_path, | |
GCancellable *cancellable, | |
GAsyncReadyCallback callback, | |
gpointer user_data); | |
EventLog *event_log_proxy_new_for_bus_finish ( | |
GAsyncResult *res, | |
GError **error); | |
EventLog *event_log_proxy_new_for_bus_sync ( | |
GBusType bus_type, | |
GDBusProxyFlags flags, | |
const gchar *name, | |
const gchar *object_path, | |
GCancellable *cancellable, | |
GError **error); | |
/* ---- */ | |
#define TYPE_EVENT_LOG_SKELETON (event_log_skeleton_get_type ()) | |
#define EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeleton)) | |
#define EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) | |
#define EVENT_LOG_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_EVENT_LOG_SKELETON, EventLogSkeletonClass)) | |
#define IS_EVENT_LOG_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_EVENT_LOG_SKELETON)) | |
#define IS_EVENT_LOG_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_EVENT_LOG_SKELETON)) | |
typedef struct _EventLogSkeleton EventLogSkeleton; | |
typedef struct _EventLogSkeletonClass EventLogSkeletonClass; | |
typedef struct _EventLogSkeletonPrivate EventLogSkeletonPrivate; | |
struct _EventLogSkeleton | |
{ | |
/*< private >*/ | |
GDBusInterfaceSkeleton parent_instance; | |
EventLogSkeletonPrivate *priv; | |
}; | |
struct _EventLogSkeletonClass | |
{ | |
GDBusInterfaceSkeletonClass parent_class; | |
}; | |
GType event_log_skeleton_get_type (void) G_GNUC_CONST; | |
EventLog *event_log_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; | |
EventLog *object_get_event_log (Object *object); | |
EventLog *object_peek_event_log (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_event_log (ObjectSkeleton *object, EventLog *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_EVENTLOG_H__ */ |