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>
14 #define SOUP_TYPE_SESSION_ASYNC (soup_session_async_get_type ())
15 #define SOUP_SESSION_ASYNC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsync))
16 #define SOUP_SESSION_ASYNC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsyncClass))
17 #define SOUP_IS_SESSION_ASYNC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_SESSION_ASYNC))
18 #define SOUP_IS_SESSION_ASYNC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SESSION_ASYNC))
19 #define SOUP_SESSION_ASYNC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SESSION_ASYNC, SoupSessionAsyncClass))
21 struct _SoupSessionAsync {
27 SoupSessionClass parent_class;
29 /* Padding for future expansion */
30 void (*_libsoup_reserved1) (void);
31 void (*_libsoup_reserved2) (void);
32 void (*_libsoup_reserved3) (void);
33 void (*_libsoup_reserved4) (void);
34 } SoupSessionAsyncClass;
36 GType soup_session_async_get_type (void);
38 #ifndef LIBSOUP_DISABLE_DEPRECATED
39 SoupSession *soup_session_async_new (void);
40 SoupSession *soup_session_async_new_with_options (const char *optname1,
41 ...) G_GNUC_NULL_TERMINATED;
46 #endif /* SOUP_SESSION_ASYNC_H */