/*
 * This file is generated by gdbus-codegen, do not modify it.
 *
 * The license of this code is the same as for the D-Bus interface description
 * it was derived from. Note that it links to GLib, so must comply with the
 * LGPL linking clauses.
 */

#ifndef __GRD_DBUS_PCSCD_H__
#define __GRD_DBUS_PCSCD_H__

#include <gio/gio.h>

G_BEGIN_DECLS


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.RemoteDesktop.Pcscd */

#define GRD_DBUS_TYPE_PCSCD (grd_dbus_pcscd_get_type ())
#define GRD_DBUS_PCSCD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD, GrdDBusPcscd))
#define GRD_DBUS_IS_PCSCD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD))
#define GRD_DBUS_PCSCD_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GRD_DBUS_TYPE_PCSCD, GrdDBusPcscdIface))

struct _GrdDBusPcscd;
typedef struct _GrdDBusPcscd GrdDBusPcscd;
typedef struct _GrdDBusPcscdIface GrdDBusPcscdIface;

struct _GrdDBusPcscdIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_connect) (
    GrdDBusPcscd *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list,
    GVariant *arg_fd);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscd, g_object_unref)
#endif

GType grd_dbus_pcscd_get_type (void);

GDBusInterfaceInfo *grd_dbus_pcscd_interface_info (void);
guint grd_dbus_pcscd_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void grd_dbus_pcscd_complete_connect (
    GrdDBusPcscd *object,
    GDBusMethodInvocation *invocation,
    GUnixFDList *fd_list);



/* D-Bus method calls: */
void grd_dbus_pcscd_call_connect (
    GrdDBusPcscd *proxy,
    GVariant *arg_fd,
    GUnixFDList *fd_list,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_call_connect_finish (
    GrdDBusPcscd *proxy,
    GUnixFDList **out_fd_list,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_call_connect_sync (
    GrdDBusPcscd *proxy,
    GVariant *arg_fd,
    GUnixFDList  *fd_list,
    GUnixFDList **out_fd_list,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define GRD_DBUS_TYPE_PCSCD_PROXY (grd_dbus_pcscd_proxy_get_type ())
#define GRD_DBUS_PCSCD_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD_PROXY, GrdDBusPcscdProxy))
#define GRD_DBUS_PCSCD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GRD_DBUS_TYPE_PCSCD_PROXY, GrdDBusPcscdProxyClass))
#define GRD_DBUS_PCSCD_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GRD_DBUS_TYPE_PCSCD_PROXY, GrdDBusPcscdProxyClass))
#define GRD_DBUS_IS_PCSCD_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD_PROXY))
#define GRD_DBUS_IS_PCSCD_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GRD_DBUS_TYPE_PCSCD_PROXY))

typedef struct _GrdDBusPcscdProxy GrdDBusPcscdProxy;
typedef struct _GrdDBusPcscdProxyClass GrdDBusPcscdProxyClass;
typedef struct _GrdDBusPcscdProxyPrivate GrdDBusPcscdProxyPrivate;

struct _GrdDBusPcscdProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  GrdDBusPcscdProxyPrivate *priv;
};

struct _GrdDBusPcscdProxyClass
{
  GDBusProxyClass parent_class;
};

GType grd_dbus_pcscd_proxy_get_type (void);

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscdProxy, g_object_unref)
#endif

void grd_dbus_pcscd_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GrdDBusPcscd *grd_dbus_pcscd_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
GrdDBusPcscd *grd_dbus_pcscd_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void grd_dbus_pcscd_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GrdDBusPcscd *grd_dbus_pcscd_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GrdDBusPcscd *grd_dbus_pcscd_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define GRD_DBUS_TYPE_PCSCD_SKELETON (grd_dbus_pcscd_skeleton_get_type ())
#define GRD_DBUS_PCSCD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD_SKELETON, GrdDBusPcscdSkeleton))
#define GRD_DBUS_PCSCD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GRD_DBUS_TYPE_PCSCD_SKELETON, GrdDBusPcscdSkeletonClass))
#define GRD_DBUS_PCSCD_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GRD_DBUS_TYPE_PCSCD_SKELETON, GrdDBusPcscdSkeletonClass))
#define GRD_DBUS_IS_PCSCD_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD_SKELETON))
#define GRD_DBUS_IS_PCSCD_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GRD_DBUS_TYPE_PCSCD_SKELETON))

typedef struct _GrdDBusPcscdSkeleton GrdDBusPcscdSkeleton;
typedef struct _GrdDBusPcscdSkeletonClass GrdDBusPcscdSkeletonClass;
typedef struct _GrdDBusPcscdSkeletonPrivate GrdDBusPcscdSkeletonPrivate;

struct _GrdDBusPcscdSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  GrdDBusPcscdSkeletonPrivate *priv;
};

struct _GrdDBusPcscdSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType grd_dbus_pcscd_skeleton_get_type (void);

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscdSkeleton, g_object_unref)
#endif

GrdDBusPcscd *grd_dbus_pcscd_skeleton_new (void);


/* ------------------------------------------------------------------------ */
/* Declarations for org.gnome.RemoteDesktop.Pcscd.Session */

#define GRD_DBUS_TYPE_PCSCD_SESSION (grd_dbus_pcscd_session_get_type ())
#define GRD_DBUS_PCSCD_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD_SESSION, GrdDBusPcscdSession))
#define GRD_DBUS_IS_PCSCD_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD_SESSION))
#define GRD_DBUS_PCSCD_SESSION_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GRD_DBUS_TYPE_PCSCD_SESSION, GrdDBusPcscdSessionIface))

struct _GrdDBusPcscdSession;
typedef struct _GrdDBusPcscdSession GrdDBusPcscdSession;
typedef struct _GrdDBusPcscdSessionIface GrdDBusPcscdSessionIface;

struct _GrdDBusPcscdSessionIface
{
  GTypeInterface parent_iface;

  gboolean (*handle_begin_transaction) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_cancel) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_connect_card) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_control_card) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_disconnect_card) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_end_transaction) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_establish_context) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_get_attrib) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_get_status_change) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_is_valid_context) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_list_reader_groups) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_list_readers) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_reconnect) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_release_context) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_set_attrib) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_status_card) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

  gboolean (*handle_transmit) (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *arg_call);

};

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscdSession, g_object_unref)
#endif

GType grd_dbus_pcscd_session_get_type (void);

GDBusInterfaceInfo *grd_dbus_pcscd_session_interface_info (void);
guint grd_dbus_pcscd_session_override_properties (GObjectClass *klass, guint property_id_begin);


/* D-Bus method call completion functions: */
void grd_dbus_pcscd_session_complete_establish_context (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_release_context (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_is_valid_context (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_connect_card (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_reconnect (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_disconnect_card (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_begin_transaction (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_end_transaction (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_status_card (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_get_status_change (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_control_card (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_transmit (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_list_reader_groups (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_list_readers (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_cancel (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_get_attrib (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);

void grd_dbus_pcscd_session_complete_set_attrib (
    GrdDBusPcscdSession *object,
    GDBusMethodInvocation *invocation,
    GVariant *ret);



/* D-Bus method calls: */
void grd_dbus_pcscd_session_call_establish_context (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_establish_context_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_establish_context_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_release_context (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_release_context_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_release_context_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_is_valid_context (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_is_valid_context_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_is_valid_context_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_connect_card (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_connect_card_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_connect_card_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_reconnect (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_reconnect_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_reconnect_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_disconnect_card (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_disconnect_card_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_disconnect_card_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_begin_transaction (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_begin_transaction_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_begin_transaction_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_end_transaction (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_end_transaction_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_end_transaction_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_status_card (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_status_card_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_status_card_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_get_status_change (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_get_status_change_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_get_status_change_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_control_card (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_control_card_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_control_card_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_transmit (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_transmit_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_transmit_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_list_reader_groups (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_list_reader_groups_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_list_reader_groups_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_list_readers (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_list_readers_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_list_readers_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_cancel (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_cancel_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_cancel_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_get_attrib (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_get_attrib_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_get_attrib_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);

void grd_dbus_pcscd_session_call_set_attrib (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data);

gboolean grd_dbus_pcscd_session_call_set_attrib_finish (
    GrdDBusPcscdSession *proxy,
    GVariant ** out_ret,
    GAsyncResult *res,
    GError **error);

gboolean grd_dbus_pcscd_session_call_set_attrib_sync (
    GrdDBusPcscdSession *proxy,
    GVariant *arg_call,
    GVariant ** out_ret,
    GCancellable *cancellable,
    GError **error);



/* ---- */

#define GRD_DBUS_TYPE_PCSCD_SESSION_PROXY (grd_dbus_pcscd_session_proxy_get_type ())
#define GRD_DBUS_PCSCD_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD_SESSION_PROXY, GrdDBusPcscdSessionProxy))
#define GRD_DBUS_PCSCD_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GRD_DBUS_TYPE_PCSCD_SESSION_PROXY, GrdDBusPcscdSessionProxyClass))
#define GRD_DBUS_PCSCD_SESSION_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GRD_DBUS_TYPE_PCSCD_SESSION_PROXY, GrdDBusPcscdSessionProxyClass))
#define GRD_DBUS_IS_PCSCD_SESSION_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD_SESSION_PROXY))
#define GRD_DBUS_IS_PCSCD_SESSION_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GRD_DBUS_TYPE_PCSCD_SESSION_PROXY))

typedef struct _GrdDBusPcscdSessionProxy GrdDBusPcscdSessionProxy;
typedef struct _GrdDBusPcscdSessionProxyClass GrdDBusPcscdSessionProxyClass;
typedef struct _GrdDBusPcscdSessionProxyPrivate GrdDBusPcscdSessionProxyPrivate;

struct _GrdDBusPcscdSessionProxy
{
  /*< private >*/
  GDBusProxy parent_instance;
  GrdDBusPcscdSessionProxyPrivate *priv;
};

struct _GrdDBusPcscdSessionProxyClass
{
  GDBusProxyClass parent_class;
};

GType grd_dbus_pcscd_session_proxy_get_type (void);

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscdSessionProxy, g_object_unref)
#endif

void grd_dbus_pcscd_session_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GrdDBusPcscdSession *grd_dbus_pcscd_session_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error);
GrdDBusPcscdSession *grd_dbus_pcscd_session_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);

void grd_dbus_pcscd_session_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data);
GrdDBusPcscdSession *grd_dbus_pcscd_session_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error);
GrdDBusPcscdSession *grd_dbus_pcscd_session_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error);


/* ---- */

#define GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON (grd_dbus_pcscd_session_skeleton_get_type ())
#define GRD_DBUS_PCSCD_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON, GrdDBusPcscdSessionSkeleton))
#define GRD_DBUS_PCSCD_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON, GrdDBusPcscdSessionSkeletonClass))
#define GRD_DBUS_PCSCD_SESSION_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON, GrdDBusPcscdSessionSkeletonClass))
#define GRD_DBUS_IS_PCSCD_SESSION_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON))
#define GRD_DBUS_IS_PCSCD_SESSION_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GRD_DBUS_TYPE_PCSCD_SESSION_SKELETON))

typedef struct _GrdDBusPcscdSessionSkeleton GrdDBusPcscdSessionSkeleton;
typedef struct _GrdDBusPcscdSessionSkeletonClass GrdDBusPcscdSessionSkeletonClass;
typedef struct _GrdDBusPcscdSessionSkeletonPrivate GrdDBusPcscdSessionSkeletonPrivate;

struct _GrdDBusPcscdSessionSkeleton
{
  /*< private >*/
  GDBusInterfaceSkeleton parent_instance;
  GrdDBusPcscdSessionSkeletonPrivate *priv;
};

struct _GrdDBusPcscdSessionSkeletonClass
{
  GDBusInterfaceSkeletonClass parent_class;
};

GType grd_dbus_pcscd_session_skeleton_get_type (void);

#if GLIB_CHECK_VERSION(2, 44, 0)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GrdDBusPcscdSessionSkeleton, g_object_unref)
#endif

GrdDBusPcscdSession *grd_dbus_pcscd_session_skeleton_new (void);


G_END_DECLS

#endif /* __GRD_DBUS_PCSCD_H__ */
