aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-04-01 06:22:25 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2014-04-01 06:22:25 +0000
commit08a582230d4371e3dd93db951e49cabf68e95398 (patch)
tree00dc79595f0edc44f2793a2d99a56704ce679a02
parente1fbd3e57482624316a7285124091113e6872e54 (diff)
downloadlibmicrohttpd-08a582230d4371e3dd93db951e49cabf68e95398.tar.gz
libmicrohttpd-08a582230d4371e3dd93db951e49cabf68e95398.zip
Cosmetics
-rw-r--r--src/include/w32functions.h4
-rw-r--r--src/platform/w32functions.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/include/w32functions.h b/src/include/w32functions.h
index b416f9f0..ae6bc711 100644
--- a/src/include/w32functions.h
+++ b/src/include/w32functions.h
@@ -152,6 +152,7 @@ extern "C"
152 * @return errno equivalent of last winsock error 152 * @return errno equivalent of last winsock error
153 */ 153 */
154int MHD_W32_errno_from_winsock_(void); 154int MHD_W32_errno_from_winsock_(void);
155
155/** 156/**
156 * Return pointer to string description of errnum error 157 * Return pointer to string description of errnum error
157 * Works fine with both standard errno errnums 158 * Works fine with both standard errno errnums
@@ -160,11 +161,13 @@ int MHD_W32_errno_from_winsock_(void);
160 * @return pointer to string description of error 161 * @return pointer to string description of error
161 */ 162 */
162const char* MHD_W32_strerror_(int errnum); 163const char* MHD_W32_strerror_(int errnum);
164
163/** 165/**
164 * Return pointer to string description of last winsock error 166 * Return pointer to string description of last winsock error
165 * @return pointer to string description of last winsock error 167 * @return pointer to string description of last winsock error
166 */ 168 */
167const char* MHD_W32_strerror_last_winsock_(void); 169const char* MHD_W32_strerror_last_winsock_(void);
170
168/** 171/**
169 * Set last winsock error to equivalent of given errno value 172 * Set last winsock error to equivalent of given errno value
170 * @param errnum the errno value to set 173 * @param errnum the errno value to set
@@ -177,6 +180,7 @@ void MHD_W32_set_last_winsock_error_(int errnum);
177 * @return zero on success, -1 otherwise 180 * @return zero on success, -1 otherwise
178 */ 181 */
179int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]); 182int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]);
183
180/** 184/**
181 * Generate 31-bit pseudo random number. 185 * Generate 31-bit pseudo random number.
182 * Function initialize itself at first call to current time. 186 * Function initialize itself at first call to current time.
diff --git a/src/platform/w32functions.c b/src/platform/w32functions.c
index 96b0bd00..7a0686e8 100644
--- a/src/platform/w32functions.c
+++ b/src/platform/w32functions.c
@@ -30,6 +30,7 @@
30#include <stdint.h> 30#include <stdint.h>
31#include <time.h> 31#include <time.h>
32 32
33
33/** 34/**
34 * Return errno equivalent of last winsock error 35 * Return errno equivalent of last winsock error
35 * @return errno equivalent of last winsock error 36 * @return errno equivalent of last winsock error