blob: 68b26f7fdc7805f7ebbf166ab0f35bf52a39dea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright 2011-2014 Red Hat, Inc.
*/
#ifndef __SOUP_SOCKET_PROPERTIES_H__
#define __SOUP_SOCKET_PROPERTIES_H__ 1
#include <gio/gio.h>
typedef struct {
GProxyResolver *proxy_resolver;
GInetSocketAddress *local_addr;
GTlsDatabase *tlsdb;
GTlsInteraction *tls_interaction;
guint io_timeout;
guint idle_timeout;
/*< private >*/
guint ref_count;
} SoupSocketProperties;
GType soup_socket_properties_get_type (void);
#define SOUP_TYPE_SOCKET_PROPERTIES (soup_socket_properties_get_type ())
SoupSocketProperties *soup_socket_properties_new (GProxyResolver *proxy_resolver,
GInetSocketAddress *local_addr,
GTlsDatabase *tlsdb,
GTlsInteraction *tls_interaction,
guint io_timeout,
guint idle_timeout);
SoupSocketProperties *soup_socket_properties_ref (SoupSocketProperties *props);
void soup_socket_properties_unref (SoupSocketProperties *props);
#endif /* __SOUP_SOCKET_PROPERTIES_H__ */
|