blob: 25cd73dab874366421968d93abd634c80dde4416 [file] [log] [blame]
/*
* 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_get_message) (
EventLog *object,
GDBusMethodInvocation *invocation);
GVariant * (*get_message) (EventLog *object);
void (*event) (
EventLog *object,
GVariant *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_get_message (
EventLog *object,
GDBusMethodInvocation *invocation,
GVariant *message);
/* D-Bus signal emissions functions: */
void event_log_emit_event (
EventLog *object,
GVariant *arg_message);
/* D-Bus method calls: */
void event_log_call_get_message (
EventLog *proxy,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean event_log_call_get_message_finish (
EventLog *proxy,
GVariant **out_message,
GAsyncResult *res,
GError **error);
gboolean event_log_call_get_message_sync (
EventLog *proxy,
GVariant **out_message,
GCancellable *cancellable,
GError **error);
/* D-Bus property accessors: */
GVariant *event_log_get_message (EventLog *object);
GVariant *event_log_dup_message (EventLog *object);
void event_log_set_message (EventLog *object, GVariant *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);
G_END_DECLS
#endif /* __INTERFACES_EVENTLOG_H__ */