Add gthread to glib check
[platform/upstream/libsoup.git] / libsoup / soup-session-async.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2000-2003, Ximian, Inc.
4  */
5
6 #ifndef SOUP_SESSION_ASYNC_H
7 #define SOUP_SESSION_ASYNC_H 1
8
9 #include <libsoup/soup-types.h>
10 #include <libsoup/soup-session.h>
11
12 #define SOUP_TYPE_SESSION_ASYNC            (soup_session_async_get_type ())
13 #define SOUP_SESSION_ASYNC(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsync))
14 #define SOUP_SESSION_ASYNC_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsyncClass))
15 #define SOUP_IS_SESSION_ASYNC(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_SESSION_ASYNC))
16 #define SOUP_IS_SESSION_ASYNC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SESSION_ASYNC))
17 #define SOUP_SESSION_ASYNC_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsyncClass))
18
19 typedef struct SoupSessionAsyncPrivate SoupSessionAsyncPrivate;
20
21 struct SoupSessionAsync {
22         SoupSession parent;
23
24         SoupSessionAsyncPrivate *priv;
25 };
26
27 typedef struct {
28         SoupSessionClass parent_class;
29
30 } SoupSessionAsyncClass;
31
32 GType soup_session_async_get_type (void);
33
34 SoupSession *soup_session_async_new              (void);
35 SoupSession *soup_session_async_new_with_options (const char *optname1,
36                                                   ...);
37
38
39 #endif /* SOUP_SESSION_ASYNC_H */