|
rpm-build |
4f3c61 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
rpm-build |
4f3c61 |
/*
|
|
rpm-build |
4f3c61 |
* Copyright (C) 2009 Red Hat, Inc.
|
|
rpm-build |
4f3c61 |
*/
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
#ifndef SOUP_PROXY_URI_RESOLVER_H
|
|
rpm-build |
4f3c61 |
#define SOUP_PROXY_URI_RESOLVER_H 1
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
#include <libsoup/soup-proxy-resolver.h>
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
G_BEGIN_DECLS
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
#define SOUP_TYPE_PROXY_URI_RESOLVER (soup_proxy_uri_resolver_get_type ())
|
|
rpm-build |
4f3c61 |
#define SOUP_PROXY_URI_RESOLVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), SOUP_TYPE_PROXY_URI_RESOLVER, SoupProxyURIResolver))
|
|
rpm-build |
4f3c61 |
#define SOUP_PROXY_URI_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_PROXY_URI_RESOLVER, SoupProxyURIResolverInterface))
|
|
rpm-build |
4f3c61 |
#define SOUP_IS_PROXY_URI_RESOLVER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), SOUP_TYPE_PROXY_URI_RESOLVER))
|
|
rpm-build |
4f3c61 |
#define SOUP_IS_PROXY_URI_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SOUP_TYPE_PROXY_URI_RESOLVER))
|
|
rpm-build |
4f3c61 |
#define SOUP_PROXY_URI_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SOUP_TYPE_PROXY_URI_RESOLVER, SoupProxyURIResolverInterface))
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
typedef struct _SoupProxyURIResolver SoupProxyURIResolver;
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
typedef void (*SoupProxyURIResolverCallback) (SoupProxyURIResolver *resolver,
|
|
rpm-build |
4f3c61 |
guint status, SoupURI *proxy_uri,
|
|
rpm-build |
4f3c61 |
gpointer user_data);
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
typedef struct {
|
|
rpm-build |
4f3c61 |
GTypeInterface base;
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
/* virtual methods */
|
|
rpm-build |
4f3c61 |
void (*get_proxy_uri_async) (SoupProxyURIResolver *proxy_uri_resolver,
|
|
rpm-build |
4f3c61 |
SoupURI *uri, GMainContext *async_context,
|
|
rpm-build |
4f3c61 |
GCancellable *cancellable,
|
|
rpm-build |
4f3c61 |
SoupProxyURIResolverCallback callback,
|
|
rpm-build |
4f3c61 |
gpointer user_data);
|
|
rpm-build |
4f3c61 |
guint (*get_proxy_uri_sync) (SoupProxyURIResolver *proxy_uri_resolver,
|
|
rpm-build |
4f3c61 |
SoupURI *uri, GCancellable *cancellable,
|
|
rpm-build |
4f3c61 |
SoupURI **proxy_uri);
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
/* Padding for future expansion */
|
|
rpm-build |
4f3c61 |
void (*_libsoup_reserved1) (void);
|
|
rpm-build |
4f3c61 |
void (*_libsoup_reserved2) (void);
|
|
rpm-build |
4f3c61 |
void (*_libsoup_reserved3) (void);
|
|
rpm-build |
4f3c61 |
void (*_libsoup_reserved4) (void);
|
|
rpm-build |
4f3c61 |
} SoupProxyURIResolverInterface;
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
SOUP_AVAILABLE_IN_2_28
|
|
rpm-build |
4f3c61 |
SOUP_DEPRECATED_IN_2_44
|
|
rpm-build |
4f3c61 |
GType soup_proxy_uri_resolver_get_type (void);
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
SOUP_AVAILABLE_IN_2_28
|
|
rpm-build |
4f3c61 |
SOUP_DEPRECATED_IN_2_44
|
|
rpm-build |
4f3c61 |
void soup_proxy_uri_resolver_get_proxy_uri_async (SoupProxyURIResolver *proxy_uri_resolver,
|
|
rpm-build |
4f3c61 |
SoupURI *uri,
|
|
rpm-build |
4f3c61 |
GMainContext *async_context,
|
|
rpm-build |
4f3c61 |
GCancellable *cancellable,
|
|
rpm-build |
4f3c61 |
SoupProxyURIResolverCallback callback,
|
|
rpm-build |
4f3c61 |
gpointer user_data);
|
|
rpm-build |
4f3c61 |
SOUP_AVAILABLE_IN_2_28
|
|
rpm-build |
4f3c61 |
SOUP_DEPRECATED_IN_2_44
|
|
rpm-build |
4f3c61 |
guint soup_proxy_uri_resolver_get_proxy_uri_sync (SoupProxyURIResolver *proxy_uri_resolver,
|
|
rpm-build |
4f3c61 |
SoupURI *uri,
|
|
rpm-build |
4f3c61 |
GCancellable *cancellable,
|
|
rpm-build |
4f3c61 |
SoupURI **proxy_uri);
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
G_END_DECLS
|
|
rpm-build |
4f3c61 |
|
|
rpm-build |
4f3c61 |
#endif /*SOUP_PROXY_URI_RESOLVER_H*/
|