summaryrefslogtreecommitdiff
path: root/libsoup/soup-misc-private.h
blob: e9351683fa195c812c35102cfb400dc2af9ce9f1 (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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright 2011 Igalia, S.L.
 * Copyright 2011 Red Hat, Inc.
 */

#ifndef SOUP_URI_PRIVATE_H
#define SOUP_URI_PRIVATE_H 1

#include "soup-socket.h"

char *uri_decoded_copy (const char *str, int length);

guint soup_socket_handshake_sync  (SoupSocket         *sock,
				   GCancellable       *cancellable);
void  soup_socket_handshake_async (SoupSocket         *sock,
				   GCancellable       *cancellable,
				   SoupSocketCallback  callback,
				   gpointer            user_data);

GSocket   *soup_socket_get_gsocket  (SoupSocket *sock);
GIOStream *soup_socket_get_iostream (SoupSocket *sock);


#endif /* SOUP_URI_PRIVATE_H */