summaryrefslogtreecommitdiff
path: root/gasynchelper.h
blob: d08411beea085c49f68e2bd08b6b8739e1d53368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __G_ASYNC_HELPER_H__
#define __G_ASYNC_HELPER_H__

#include <glib-object.h>

G_BEGIN_DECLS

typedef struct {
  gpointer       async_object;
  GError *       error;
  gpointer       data;
  GDestroyNotify destroy_notify;
} GAsyncResult;

void
_g_queue_async_result (GAsyncResult   *result,
		       gpointer        async_object,
		       GError         *error,
		       gpointer        data,
		       GDestroyNotify  destroy_notify,
		       GMainContext   *context,
		       GSourceFunc     source_func);
 

G_END_DECLS

#endif /* __G_ASYNC_HELPER_H__ */