aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/utils/windows.c
Commit message (Collapse)AuthorAgeFilesLines
* windows: Move the compatibility header to the compat subfolderMartin Willi2014-11-211-684/+0
|
* windows: Provide a write(2) wrapper that uses send(2) on socketsMartin Willi2014-11-211-0/+16
|
* windows: Provide a read(2) wrapper that uses recv(2) on socketsMartin Willi2014-11-211-0/+16
|
* windows: Provide a poll(2) wrapper calling WSAPoll()Martin Willi2014-11-211-0/+11
|
* windows: Fix off-by-one error in strerror_s_extended()Tobias Brunner2014-07-021-1/+1
|
* windows: accept() socket handle could theoretically be 0Tobias Brunner2014-07-021-1/+1
|
* windows: Close correct socket when opening second socket fails in socketpair()Tobias Brunner2014-07-021-1/+1
|
* windows: Make sure the string returned from ReadConsole() is null terminatedTobias Brunner2014-07-021-0/+2
|
* windows: Extend strerror_r/s by extended POSIX errno stringsMartin Willi2014-06-171-0/+60
|
* windows: Wrap most Winsock2 Posix functions to set errnoMartin Willi2014-06-171-65/+141
| | | | | | While Winsock provides many Posix compatibility functions, they do not set errno, but use WSAGetLastError() for error reporting. The wrapped functions derive an errno from WSAGetLastError() on failure.
* windows: Provide POSIX supplement errno values missing in MinGWMartin Willi2014-06-041-8/+18
| | | | | MinGW headers do not define these values, but Windows system headers do. Windows defines them for POSIX compatibility, we do the same locally.
* windows: Provide a getpass() implementationMartin Willi2014-06-041-0/+59
|
* windows: Provide a close(2) that can close both file handles and socketsMartin Willi2014-06-041-0/+16
|
* windows: Provide a strndup(3) replacementMartin Willi2014-06-041-0/+15
|
* unit-tests: Uninline dlopen() and friends, make more dynamic, fix dlerror()Martin Willi2014-06-041-0/+124
| | | | | As the error string contains a newline, we have to remove that before returning the string.
* windows: Provide a cancellable usleep(), but with ms resolution onlyMartin Willi2014-06-041-0/+13
|
* windows: Map WSAGetLastError() to errno failures in wrapped send/recv/from/toMartin Willi2014-06-041-12/+80
|
* windows: Add send/recv and sendto/recvfrom wrappers supporting MSG_DONTWAITMartin Willi2014-06-041-0/+99
|
* windows: Implement socketpair() using TCP socketsMartin Willi2014-06-041-0/+64
|
* windows: Add utils_init/deinit functions to initialize Winsock2Martin Willi2014-06-041-0/+35