From c74b9e0c4592e6c379ad0225c3752d970926ec37 Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Fri, 14 Oct 2016 16:46:26 +0200 Subject: [PATCH] The network classes are now under http_network library, thus renamed the header file as ew_network.h . --- .../include_until_16_05/{ew_httpd_net.h => ew_network.h} | 6 +++--- .../http_network/src/until_16_05/http_stream_socket_ext.e | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) rename library/network/http_network/spec/include_until_16_05/{ew_httpd_net.h => ew_network.h} (89%) diff --git a/library/network/http_network/spec/include_until_16_05/ew_httpd_net.h b/library/network/http_network/spec/include_until_16_05/ew_network.h similarity index 89% rename from library/network/http_network/spec/include_until_16_05/ew_httpd_net.h rename to library/network/http_network/spec/include_until_16_05/ew_network.h index d4560806..0313fbae 100644 --- a/library/network/http_network/spec/include_until_16_05/ew_httpd_net.h +++ b/library/network/http_network/spec/include_until_16_05/ew_network.h @@ -1,6 +1,6 @@ /* indexing - description: "Functions used by the EiffelWeb httpd networking classes. " + description: "Functions used by the EiffelWeb http networking classes. " copyright: "Copyright (c) 2011-2016, Jocelyn Fiat, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ @@ -12,8 +12,8 @@ indexing ]" */ -#ifndef _ew_httpd_net_h_ -#define _ew_httpd_net_h_ +#ifndef _ew_network_h_ +#define _ew_network_h_ #include "eif_config.h" diff --git a/library/network/http_network/src/until_16_05/http_stream_socket_ext.e b/library/network/http_network/src/until_16_05/http_stream_socket_ext.e index 98450d4c..bb80fc59 100644 --- a/library/network/http_network/src/until_16_05/http_stream_socket_ext.e +++ b/library/network/http_network/src/until_16_05/http_stream_socket_ext.e @@ -81,7 +81,7 @@ feature {NONE} -- Externals c_set_sock_recv_timeout (a_fd, a_level: INTEGER; a_timeout_seconds: INTEGER) -- C routine to set socket option `SO_RCVTIMEO' with `a_timeout_seconds' seconds. external - "C inline use %"ew_httpd_net.h%"" + "C inline use %"ew_network.h%"" alias "[ #ifdef SO_RCVTIMEO @@ -105,7 +105,7 @@ feature {NONE} -- Externals c_set_sock_send_timeout (a_fd, a_level: INTEGER; a_timeout_seconds: INTEGER) -- C routine to set socket option `SO_SNDTIMEO' with `a_timeout_seconds' seconds. external - "C inline use %"ew_httpd_net.h%"" + "C inline use %"ew_network.h%"" alias "[ #ifdef SO_RCVTIMEO @@ -131,7 +131,7 @@ feature {NONE} -- No-Exception network operation -- External routine to read a `len' number of characters -- into buffer `buf' from socket `a_fd' with options `flags'. external - "C inline use %"ew_httpd_net.h%"" + "C inline use %"ew_network.h%"" alias "[ recv((int) $a_fd, (char *) $buf, (int) $len, (int) $flags) @@ -150,7 +150,7 @@ feature {NONE} -- No-Exception network operation -- length `length' to socket `fd'. -- Note: does not raise exception on error, but return error value as Result. external - "C inline use %"ew_httpd_net.h%"" + "C inline use %"ew_network.h%"" alias "[ send((int) $a_fd, (char *) $buf, (int) $len, (int) 0)