diff options
Diffstat (limited to 'src/daemon/dbus/gsignond-dbus-auth-session-gen.h')
-rw-r--r-- | src/daemon/dbus/gsignond-dbus-auth-session-gen.h | 250 |
1 files changed, 250 insertions, 0 deletions
diff --git a/src/daemon/dbus/gsignond-dbus-auth-session-gen.h b/src/daemon/dbus/gsignond-dbus-auth-session-gen.h new file mode 100644 index 0000000..5059507 --- /dev/null +++ b/src/daemon/dbus/gsignond-dbus-auth-session-gen.h @@ -0,0 +1,250 @@ +/* + * Generated by gdbus-codegen 2.32.3. DO NOT EDIT. + * + * The license of this code is the same as for the source it was derived from. + */ + +#ifndef __GSIGNOND_DBUS_AUTH_SESSION_GEN_H__ +#define __GSIGNOND_DBUS_AUTH_SESSION_GEN_H__ + +#include <gio/gio.h> + +G_BEGIN_DECLS + + +/* ------------------------------------------------------------------------ */ +/* Declarations for com.google.code.AccountsSSO.gSingleSignOn.AuthSession */ + +#define GSIGNOND_DBUS_TYPE_AUTH_SESSION (gsignond_dbus_auth_session_get_type ()) +#define GSIGNOND_DBUS_AUTH_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION, GSignondDbusAuthSession)) +#define GSIGNOND_DBUS_IS_AUTH_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION)) +#define GSIGNOND_DBUS_AUTH_SESSION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION, GSignondDbusAuthSessionIface)) + +struct _GSignondDbusAuthSession; +typedef struct _GSignondDbusAuthSession GSignondDbusAuthSession; +typedef struct _GSignondDbusAuthSessionIface GSignondDbusAuthSessionIface; + +struct _GSignondDbusAuthSessionIface +{ + GTypeInterface parent_iface; + + + gboolean (*handle_cancel) ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_process) ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation, + GVariant *arg_sessionDataVa, + const gchar *arg_mechanism); + + gboolean (*handle_query_available_mechanisms) ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_wantedMechanisms); + + void (*state_changed) ( + GSignondDbusAuthSession *object, + gint arg_state, + const gchar *arg_message); + + void (*unregistered) ( + GSignondDbusAuthSession *object); + +}; + +GType gsignond_dbus_auth_session_get_type (void) G_GNUC_CONST; + +GDBusInterfaceInfo *gsignond_dbus_auth_session_interface_info (void); +guint gsignond_dbus_auth_session_override_properties (GObjectClass *klass, guint property_id_begin); + + +/* D-Bus method call completion functions: */ +void gsignond_dbus_auth_session_complete_query_available_mechanisms ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation, + const gchar *const *unnamed_arg1); + +void gsignond_dbus_auth_session_complete_process ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation, + GVariant *unnamed_arg2); + +void gsignond_dbus_auth_session_complete_cancel ( + GSignondDbusAuthSession *object, + GDBusMethodInvocation *invocation); + + + +/* D-Bus signal emissions functions: */ +void gsignond_dbus_auth_session_emit_state_changed ( + GSignondDbusAuthSession *object, + gint arg_state, + const gchar *arg_message); + +void gsignond_dbus_auth_session_emit_unregistered ( + GSignondDbusAuthSession *object); + + + +/* D-Bus method calls: */ +void gsignond_dbus_auth_session_call_query_available_mechanisms ( + GSignondDbusAuthSession *proxy, + const gchar *const *arg_wantedMechanisms, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean gsignond_dbus_auth_session_call_query_available_mechanisms_finish ( + GSignondDbusAuthSession *proxy, + gchar ***out_unnamed_arg1, + GAsyncResult *res, + GError **error); + +gboolean gsignond_dbus_auth_session_call_query_available_mechanisms_sync ( + GSignondDbusAuthSession *proxy, + const gchar *const *arg_wantedMechanisms, + gchar ***out_unnamed_arg1, + GCancellable *cancellable, + GError **error); + +void gsignond_dbus_auth_session_call_process ( + GSignondDbusAuthSession *proxy, + GVariant *arg_sessionDataVa, + const gchar *arg_mechanism, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean gsignond_dbus_auth_session_call_process_finish ( + GSignondDbusAuthSession *proxy, + GVariant **out_unnamed_arg2, + GAsyncResult *res, + GError **error); + +gboolean gsignond_dbus_auth_session_call_process_sync ( + GSignondDbusAuthSession *proxy, + GVariant *arg_sessionDataVa, + const gchar *arg_mechanism, + GVariant **out_unnamed_arg2, + GCancellable *cancellable, + GError **error); + +void gsignond_dbus_auth_session_call_cancel ( + GSignondDbusAuthSession *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean gsignond_dbus_auth_session_call_cancel_finish ( + GSignondDbusAuthSession *proxy, + GAsyncResult *res, + GError **error); + +gboolean gsignond_dbus_auth_session_call_cancel_sync ( + GSignondDbusAuthSession *proxy, + GCancellable *cancellable, + GError **error); + + + +/* ---- */ + +#define GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY (gsignond_dbus_auth_session_proxy_get_type ()) +#define GSIGNOND_DBUS_AUTH_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY, GSignondDbusAuthSessionProxy)) +#define GSIGNOND_DBUS_AUTH_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY, GSignondDbusAuthSessionProxyClass)) +#define GSIGNOND_DBUS_AUTH_SESSION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY, GSignondDbusAuthSessionProxyClass)) +#define GSIGNOND_DBUS_IS_AUTH_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY)) +#define GSIGNOND_DBUS_IS_AUTH_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_AUTH_SESSION_PROXY)) + +typedef struct _GSignondDbusAuthSessionProxy GSignondDbusAuthSessionProxy; +typedef struct _GSignondDbusAuthSessionProxyClass GSignondDbusAuthSessionProxyClass; +typedef struct _GSignondDbusAuthSessionProxyPrivate GSignondDbusAuthSessionProxyPrivate; + +struct _GSignondDbusAuthSessionProxy +{ + /*< private >*/ + GDBusProxy parent_instance; + GSignondDbusAuthSessionProxyPrivate *priv; +}; + +struct _GSignondDbusAuthSessionProxyClass +{ + GDBusProxyClass parent_class; +}; + +GType gsignond_dbus_auth_session_proxy_get_type (void) G_GNUC_CONST; + +void gsignond_dbus_auth_session_proxy_new ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GSignondDbusAuthSession *gsignond_dbus_auth_session_proxy_new_finish ( + GAsyncResult *res, + GError **error); +GSignondDbusAuthSession *gsignond_dbus_auth_session_proxy_new_sync ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + +void gsignond_dbus_auth_session_proxy_new_for_bus ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GSignondDbusAuthSession *gsignond_dbus_auth_session_proxy_new_for_bus_finish ( + GAsyncResult *res, + GError **error); +GSignondDbusAuthSession *gsignond_dbus_auth_session_proxy_new_for_bus_sync ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + + +/* ---- */ + +#define GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON (gsignond_dbus_auth_session_skeleton_get_type ()) +#define GSIGNOND_DBUS_AUTH_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON, GSignondDbusAuthSessionSkeleton)) +#define GSIGNOND_DBUS_AUTH_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON, GSignondDbusAuthSessionSkeletonClass)) +#define GSIGNOND_DBUS_AUTH_SESSION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON, GSignondDbusAuthSessionSkeletonClass)) +#define GSIGNOND_DBUS_IS_AUTH_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON)) +#define GSIGNOND_DBUS_IS_AUTH_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GSIGNOND_DBUS_TYPE_AUTH_SESSION_SKELETON)) + +typedef struct _GSignondDbusAuthSessionSkeleton GSignondDbusAuthSessionSkeleton; +typedef struct _GSignondDbusAuthSessionSkeletonClass GSignondDbusAuthSessionSkeletonClass; +typedef struct _GSignondDbusAuthSessionSkeletonPrivate GSignondDbusAuthSessionSkeletonPrivate; + +struct _GSignondDbusAuthSessionSkeleton +{ + /*< private >*/ + GDBusInterfaceSkeleton parent_instance; + GSignondDbusAuthSessionSkeletonPrivate *priv; +}; + +struct _GSignondDbusAuthSessionSkeletonClass +{ + GDBusInterfaceSkeletonClass parent_class; +}; + +GType gsignond_dbus_auth_session_skeleton_get_type (void) G_GNUC_CONST; + +GSignondDbusAuthSession *gsignond_dbus_auth_session_skeleton_new (void); + + +G_END_DECLS + +#endif /* __GSIGNOND_DBUS_AUTH_SESSION_GEN_H__ */ |