Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > contrib-release-debug > by-pkgid > d18138d46082866112229a272b1968c6 > files > 60

bickley-debug-0.4.3-0.git20091027.2mdv2011.0.i586.rpm

/* Generated by dbus-binding-tool; do not edit! */

#include <glib.h>
#include <dbus/dbus-glib.h>

G_BEGIN_DECLS

#ifndef _DBUS_GLIB_ASYNC_DATA_FREE
#define _DBUS_GLIB_ASYNC_DATA_FREE
static
#ifdef G_HAVE_INLINE
inline
#endif
void
_dbus_glib_async_data_free (gpointer stuff)
{
	g_slice_free (DBusGAsyncData, stuff);
}
#endif

#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_moblin_Bickley_Source
#define DBUS_GLIB_CLIENT_WRAPPERS_org_moblin_Bickley_Source

static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_moblin_Bickley_Source_update_uri (DBusGProxy *proxy, const char * IN_uri, const GHashTable* IN_metadata, GError **error)

{
  return dbus_g_proxy_call (proxy, "UpdateUri", error, G_TYPE_STRING, IN_uri, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), IN_metadata, G_TYPE_INVALID, G_TYPE_INVALID);
}

typedef void (*org_moblin_Bickley_Source_update_uri_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);

static void
org_moblin_Bickley_Source_update_uri_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  (*(org_moblin_Bickley_Source_update_uri_reply)data->cb) (proxy, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_moblin_Bickley_Source_update_uri_async (DBusGProxy *proxy, const char * IN_uri, const GHashTable* IN_metadata, org_moblin_Bickley_Source_update_uri_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "UpdateUri", org_moblin_Bickley_Source_update_uri_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_STRING, IN_uri, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), IN_metadata, G_TYPE_INVALID);
}
static
#ifdef G_HAVE_INLINE
inline
#endif
gboolean
org_moblin_Bickley_Source_get_db_path (DBusGProxy *proxy, char ** OUT_path, GError **error)

{
  return dbus_g_proxy_call (proxy, "GetDBPath", error, G_TYPE_INVALID, G_TYPE_STRING, OUT_path, G_TYPE_INVALID);
}

typedef void (*org_moblin_Bickley_Source_get_db_path_reply) (DBusGProxy *proxy, char * OUT_path, GError *error, gpointer userdata);

static void
org_moblin_Bickley_Source_get_db_path_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
{
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
  GError *error = NULL;
  char * OUT_path;
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_path, G_TYPE_INVALID);
  (*(org_moblin_Bickley_Source_get_db_path_reply)data->cb) (proxy, OUT_path, error, data->userdata);
  return;
}

static
#ifdef G_HAVE_INLINE
inline
#endif
DBusGProxyCall*
org_moblin_Bickley_Source_get_db_path_async (DBusGProxy *proxy, org_moblin_Bickley_Source_get_db_path_reply callback, gpointer userdata)

{
  DBusGAsyncData *stuff;
  stuff = g_slice_new (DBusGAsyncData);
  stuff->cb = G_CALLBACK (callback);
  stuff->userdata = userdata;
  return dbus_g_proxy_begin_call (proxy, "GetDBPath", org_moblin_Bickley_Source_get_db_path_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID);
}
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_moblin_Bickley_Source */

G_END_DECLS