[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32868 - in libmicrohttpd/src: include platform
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32868 - in libmicrohttpd/src: include platform |
Date: |
Tue, 1 Apr 2014 08:22:25 +0200 |
Author: Karlson2k
Date: 2014-04-01 08:22:25 +0200 (Tue, 01 Apr 2014)
New Revision: 32868
Modified:
libmicrohttpd/src/include/w32functions.h
libmicrohttpd/src/platform/w32functions.c
Log:
Cosmetics
Modified: libmicrohttpd/src/include/w32functions.h
===================================================================
--- libmicrohttpd/src/include/w32functions.h 2014-04-01 06:16:22 UTC (rev
32867)
+++ libmicrohttpd/src/include/w32functions.h 2014-04-01 06:22:25 UTC (rev
32868)
@@ -152,6 +152,7 @@
* @return errno equivalent of last winsock error
*/
int MHD_W32_errno_from_winsock_(void);
+
/**
* Return pointer to string description of errnum error
* Works fine with both standard errno errnums
@@ -160,11 +161,13 @@
* @return pointer to string description of error
*/
const char* MHD_W32_strerror_(int errnum);
+
/**
* Return pointer to string description of last winsock error
* @return pointer to string description of last winsock error
*/
const char* MHD_W32_strerror_last_winsock_(void);
+
/**
* Set last winsock error to equivalent of given errno value
* @param errnum the errno value to set
@@ -177,6 +180,7 @@
* @return zero on success, -1 otherwise
*/
int MHD_W32_pair_of_sockets_(SOCKET sockets_pair[2]);
+
/**
* Generate 31-bit pseudo random number.
* Function initialize itself at first call to current time.
Modified: libmicrohttpd/src/platform/w32functions.c
===================================================================
--- libmicrohttpd/src/platform/w32functions.c 2014-04-01 06:16:22 UTC (rev
32867)
+++ libmicrohttpd/src/platform/w32functions.c 2014-04-01 06:22:25 UTC (rev
32868)
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <time.h>
+
/**
* Return errno equivalent of last winsock error
* @return errno equivalent of last winsock error
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32868 - in libmicrohttpd/src: include platform,
gnunet <=