[libsoup] Make the new SoupSocket APIs private



commit 645ba81023a4838e726bd10f10f0b71c5fcdccfd
Author: Dan Winship <danw gnome org>
Date:   Fri Apr 20 11:09:24 2012 -0400

    Make the new SoupSocket APIs private

 libsoup/soup-message-io.c   |    1 +
 libsoup/soup-misc-private.h |    7 ++++---
 libsoup/soup-socket.h       |    3 ---
 3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/libsoup/soup-message-io.c b/libsoup/soup-message-io.c
index 4e5c35f..cfb0688 100644
--- a/libsoup/soup-message-io.c
+++ b/libsoup/soup-message-io.c
@@ -25,6 +25,7 @@
 #include "soup-message-private.h"
 #include "soup-message-queue.h"
 #include "soup-misc.h"
+#include "soup-misc-private.h"
 #include "soup-socket.h"
 
 typedef enum {
diff --git a/libsoup/soup-misc-private.h b/libsoup/soup-misc-private.h
index e935168..8836f5b 100644
--- a/libsoup/soup-misc-private.h
+++ b/libsoup/soup-misc-private.h
@@ -18,8 +18,9 @@ void  soup_socket_handshake_async (SoupSocket         *sock,
 				   SoupSocketCallback  callback,
 				   gpointer            user_data);
 
-GSocket   *soup_socket_get_gsocket  (SoupSocket *sock);
-GIOStream *soup_socket_get_iostream (SoupSocket *sock);
-
+GSocket       *soup_socket_get_gsocket       (SoupSocket *sock);
+GIOStream     *soup_socket_get_iostream      (SoupSocket *sock);
+GInputStream  *soup_socket_get_input_stream  (SoupSocket *sock);
+GOutputStream *soup_socket_get_output_stream (SoupSocket *sock);
 
 #endif /* SOUP_URI_PRIVATE_H */
diff --git a/libsoup/soup-socket.h b/libsoup/soup-socket.h
index 5cbf14a..ed405bd 100644
--- a/libsoup/soup-socket.h
+++ b/libsoup/soup-socket.h
@@ -85,9 +85,6 @@ gboolean       soup_socket_is_connected       (SoupSocket         *sock);
 SoupAddress   *soup_socket_get_local_address  (SoupSocket         *sock);
 SoupAddress   *soup_socket_get_remote_address (SoupSocket         *sock);
 
-GInputStream  *soup_socket_get_input_stream   (SoupSocket         *sock);
-GOutputStream *soup_socket_get_output_stream  (SoupSocket         *sock);
-
 typedef enum {
 	SOUP_SOCKET_OK,
 	SOUP_SOCKET_WOULD_BLOCK,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]