summaryrefslogtreecommitdiff
path: root/libsoup/soup-message.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-12-17 19:49:14 +0000
committerDan Winship <danw@src.gnome.org>2003-12-17 19:49:14 +0000
commitc2720d6770639fed2bf57a972fa7c9b47919d0ac (patch)
treed00e278329a0e3f3053f556099a3eb518a6a8c02 /libsoup/soup-message.h
parentde3cf1fc96532d10cdd1d6e55aea3c4f81501579 (diff)
downloadlibsoup-c2720d6770639fed2bf57a972fa7c9b47919d0ac.tar.gz
Add gthread to glib check
* configure.in: Add gthread to glib check * libsoup/soup-session.c: Make this an abstract class. * libsoup/soup-session-async.c: A SoupSession class for asynchronous gmain-based operation; replaces the old SoupSession. * libsoup/soup-session-sync.c: A SoupSession class for synchronous blocking operation for use with threaded apps. * libsoup/soup-types.h, libsoup/soup.h: add the new session subclasses * libsoup/soup-connection.c (soup_connection_connect_sync): Don't try to unref the socket if the socket creation fails. (soup_connection_reserve): New, to explicitly mark a connection as being in use without queueing a message on it. * libsoup/soup-dns.c (check_hostent): Oof. Fix the logic of the "block" flag to not be reversed. * libsoup/soup-message.c (finished): set status to FINISHED here. (soup_message_cancel): Gone; needs to be done at the session level. * libsoup/soup-message-queue.c: Add a mutex and make all of the operations thread-safe. * libsoup/soup-socket.c (disconnect_internal): Make this thread-safe. (soup_socket_connect): Make the sync case work correctly. * libsoup/Makefile.am: add the SoupSession subclasses * tests/Makefile.am: libsoup depends on libgthread now, so revserver doesn't need to explicitly. * tests/get.c, tests/auth-test.c, tests/simple-proxy.c: Use soup_session_async_new().
Diffstat (limited to 'libsoup/soup-message.h')
-rw-r--r--libsoup/soup-message.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsoup/soup-message.h b/libsoup/soup-message.h
index 89a1753c..f72fb7ad 100644
--- a/libsoup/soup-message.h
+++ b/libsoup/soup-message.h
@@ -102,8 +102,6 @@ void soup_message_set_response (SoupMessage *msg,
char *resp_body,
gulong resp_length);
-void soup_message_cancel (SoupMessage *msg);
-
void soup_message_add_header (GHashTable *hash,
const char *name,
const char *value);