[libsoup/carlosgc/ssl: 2/4] Move SoupSocket to server directory




commit 63a8e06ecbfe0c69d2a77e5e7778a7ac39bec9cb
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Mon Nov 2 18:38:58 2020 +0100

    Move SoupSocket to server directory
    
    It's only used by SoupServer now

 libsoup/meson.build                        | 2 +-
 libsoup/{ => server}/soup-socket-private.h | 0
 libsoup/{ => server}/soup-socket.c         | 0
 libsoup/{ => server}/soup-socket.h         | 0
 tests/socket-test.c                        | 2 +-
 5 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 6dcc4af7..33d35df6 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -45,6 +45,7 @@ soup_sources = [
   'server/soup-server.c',
   'server/soup-server-io.c',
   'server/soup-server-message.c',
+  'server/soup-socket.c',
 
   'websocket/soup-websocket.c',
   'websocket/soup-websocket-connection.c',
@@ -76,7 +77,6 @@ soup_sources = [
   'soup-multipart-input-stream.c',
   'soup-session.c',
   'soup-session-feature.c',
-  'soup-socket.c',
   'soup-socket-properties.c',
   'soup-status.c',
   'soup-tld.c',
diff --git a/libsoup/soup-socket-private.h b/libsoup/server/soup-socket-private.h
similarity index 100%
rename from libsoup/soup-socket-private.h
rename to libsoup/server/soup-socket-private.h
diff --git a/libsoup/soup-socket.c b/libsoup/server/soup-socket.c
similarity index 100%
rename from libsoup/soup-socket.c
rename to libsoup/server/soup-socket.c
diff --git a/libsoup/soup-socket.h b/libsoup/server/soup-socket.h
similarity index 100%
rename from libsoup/soup-socket.h
rename to libsoup/server/soup-socket.h
diff --git a/tests/socket-test.c b/tests/socket-test.c
index 03c062ec..8e1d689b 100644
--- a/tests/socket-test.c
+++ b/tests/socket-test.c
@@ -5,7 +5,7 @@
  */
 
 #include "test-utils.h"
-#include "libsoup/soup-socket-private.h"
+#include "libsoup/server/soup-socket-private.h"
 
 #include <fcntl.h>
 #include <gio/gnetworking.h>


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