~ubuntu-branches/ubuntu/intrepid/libtelepathy/intrepid

« back to all changes in this revision

Viewing changes to src/tp-conn-gen.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-08-08 23:14:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060808231431-221c8t3hg8gn812b
Tags: 0.0.20-0ubuntu1
* New upstream release.
* debian/libtelepathy-dev.install:
  - don't install *.a
* debian/patches/01-require-bash-for-fixxml-script.patch:
  - require bash.
* debian/control:
  - Build-Dep on bash.

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
inline
279
279
#endif
280
280
gboolean
 
281
tp_conn_inspect_handles (DBusGProxy *proxy, const guint IN_handle_type, const GArray* IN_handles, char *** OUT_arg2, GError **error)
 
282
 
 
283
{
 
284
  return dbus_g_proxy_call (proxy, "InspectHandles", error, G_TYPE_UINT, IN_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg2, G_TYPE_INVALID);
 
285
}
 
286
 
 
287
typedef void (*tp_conn_inspect_handles_reply) (DBusGProxy *proxy, char * *OUT_arg2, GError *error, gpointer userdata);
 
288
 
 
289
static void
 
290
tp_conn_inspect_handles_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
 
291
{
 
292
  DBusGAsyncData *data = user_data;
 
293
  GError *error = NULL;
 
294
  char ** OUT_arg2;
 
295
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg2, G_TYPE_INVALID);
 
296
  (*(tp_conn_inspect_handles_reply)data->cb) (proxy, OUT_arg2, error, data->userdata);
 
297
  return;
 
298
}
 
299
 
 
300
static
 
301
#ifdef G_HAVE_INLINE
 
302
inline
 
303
#endif
 
304
DBusGProxyCall*
 
305
tp_conn_inspect_handles_async (DBusGProxy *proxy, const guint IN_handle_type, const GArray* IN_handles, tp_conn_inspect_handles_reply callback, gpointer userdata)
 
306
 
 
307
{
 
308
  DBusGAsyncData *stuff;
 
309
  stuff = g_new (DBusGAsyncData, 1);
 
310
  stuff->cb = G_CALLBACK (callback);
 
311
  stuff->userdata = userdata;
 
312
  return dbus_g_proxy_begin_call (proxy, "InspectHandles", tp_conn_inspect_handles_async_callback, stuff, g_free, G_TYPE_UINT, IN_handle_type, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_handles, G_TYPE_INVALID);
 
313
}
 
314
static
 
315
#ifdef G_HAVE_INLINE
 
316
inline
 
317
#endif
 
318
gboolean
281
319
tp_conn_list_channels (DBusGProxy *proxy, GPtrArray** OUT_arg0, GError **error)
282
320
 
283
321
{