1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Copyright (C) 2000-2003, Ximian, Inc.
6 #ifndef SOUP_SESSION_ASYNC_H
7 #define SOUP_SESSION_ASYNC_H 1
9 #include <libsoup/soup-types.h>
10 #include <libsoup/soup-session.h>
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))
19 typedef struct SoupSessionAsyncPrivate SoupSessionAsyncPrivate;
21 struct SoupSessionAsync {
24 SoupSessionAsyncPrivate *priv;
28 SoupSessionClass parent_class;
30 } SoupSessionAsyncClass;
32 GType soup_session_async_get_type (void);
34 SoupSession *soup_session_async_new (void);
35 SoupSession *soup_session_async_new_with_options (const char *optname1,
39 #endif /* SOUP_SESSION_ASYNC_H */