• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2008 Red Hat, Inc.
4  */
5 
6 #ifndef __SOUP_PROXY_RESOLVER_WRAPPER_H__
7 #define __SOUP_PROXY_RESOLVER_WRAPPER_H__ 1
8 
9 #include "soup-proxy-uri-resolver.h"
10 #include "soup-uri.h"
11 
12 #define SOUP_TYPE_PROXY_RESOLVER_WRAPPER            (soup_proxy_resolver_wrapper_get_type ())
13 #define SOUP_PROXY_RESOLVER_WRAPPER(object)         (G_TYPE_CHECK_INSTANCE_CAST ((object), SOUP_TYPE_PROXY_RESOLVER_WRAPPER, SoupProxyResolverWrapper))
14 #define SOUP_PROXY_RESOLVER_WRAPPER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_PROXY_RESOLVER_WRAPPER, SoupProxyResolverWrapperClass))
15 #define SOUP_IS_PROXY_RESOLVER_WRAPPER(object)      (G_TYPE_CHECK_INSTANCE_TYPE ((object), SOUP_TYPE_PROXY_RESOLVER_WRAPPER))
16 #define SOUP_IS_PROXY_RESOLVER_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SOUP_TYPE_PROXY_RESOLVER_WRAPPER))
17 #define SOUP_PROXY_RESOLVER_WRAPPER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_PROXY_RESOLVER_WRAPPER, SoupProxyResolverWrapperClass))
18 
19 typedef struct {
20 	GObject parent;
21 
22 	SoupProxyURIResolver *soup_resolver;
23 } SoupProxyResolverWrapper;
24 
25 typedef struct {
26 	GObjectClass parent_class;
27 
28 } SoupProxyResolverWrapperClass;
29 
30 GType soup_proxy_resolver_wrapper_get_type (void);
31 
32 GProxyResolver *soup_proxy_resolver_wrapper_new (SoupProxyURIResolver *soup_resolver);
33 
34 #endif /* __SOUP_PROXY_RESOLVER_WRAPPER_H__ */
35