Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | libpttls: Link against ws_w32 on Windows | Martin Willi | 2014-06-04 | 1 | -0/+4 | |
| | | ||||||
| * | libtnccs: Link against ws_w32 on Windows | Martin Willi | 2014-06-04 | 1 | -2/+4 | |
| | | ||||||
| * | libtls: Link against ws_w32 on Windows | Martin Willi | 2014-06-04 | 1 | -0/+4 | |
| | | ||||||
| * | bus: Build syslog logger depending on syslog() availability | Martin Willi | 2014-06-04 | 2 | -4/+11 | |
| | | ||||||
| * | windows: Include for Vista instead of defining CondVar/SRWLock functions ourself | Martin Willi | 2014-06-04 | 5 | -33/+12 | |
| | | ||||||
| * | windows: Don't redeclare inet_ntop/pton if already defined | Martin Willi | 2014-06-04 | 1 | -0/+4 | |
| | | ||||||
| * | windows: Check for existence of error codes before defining them | Martin Willi | 2014-06-04 | 1 | -0/+4 | |
| | | ||||||
| * | windows: Check for clock_gettime() function itself as well | Martin Willi | 2014-06-04 | 1 | -1/+1 | |
| | | | | | | | | | | CLOCK_THREAD_CPUTIME_ID seems to be defined sometimes even if clock_gettime() is missing. | |||||
| * | windows: Overload sleep() cancellable when it is defined in <unistd.h> | Martin Willi | 2014-06-04 | 1 | -1/+3 | |
| | | ||||||
| * | sqlite: Avoid name clash when building on Windows | Martin Willi | 2014-06-04 | 1 | -2/+2 | |
| | | ||||||
| * | mysql: Add Windows support | Martin Willi | 2014-06-04 | 3 | -10/+19 | |
| | | | | | | | | | | | | As the mysql_config script is not available for Windows, we use a hardcoded library name and no additional CFLAGS. This builds fine against the binary MySQL Connector/C distribution. | |||||
| * | charon-svc: Implement a Windows IKE service using libcharon | Martin Willi | 2014-06-04 | 4 | -3/+290 | |
| | | | | | | | | | | The resulting binary can be either run as Windows service or directly as console application. | |||||
| * | libcharon: Link against Winsock2 on Windows | Martin Willi | 2014-06-04 | 1 | -0/+1 | |
| | | ||||||
| * | filelog: Ignore flush_line option if setlinebuf() not supported | Martin Willi | 2014-06-04 | 2 | -1/+3 | |
| | | ||||||
| * | windows: Provide a close(2) that can close both file handles and sockets | Martin Willi | 2014-06-04 | 2 | -0/+22 | |
| | | ||||||
| * | chunk: Fallback to recv() on Windows chunk_from_fd() when operating on socket | Martin Willi | 2014-06-04 | 1 | -0/+6 | |
| | | ||||||
| * | windows: Don't use function macros to overload send/recv() and friends | Martin Willi | 2014-06-04 | 1 | -4/+4 | |
| | | | | | | | | | | While the macro versions would not catch non-function invocations, we actually have to use catch all to support the sender_t.send() function. | |||||
| * | controller: Remove unused <dlfcn.h> include | Martin Willi | 2014-06-04 | 1 | -1/+0 | |
| | | ||||||
| * | charon: Don't use syslog() if not supported | Martin Willi | 2014-06-04 | 3 | -7/+30 | |
| | | ||||||
| * | encoding: Don't explicitly include <arpa/inet.h> | Martin Willi | 2014-06-04 | 2 | -2/+0 | |
| | | ||||||
| * | payload: Use common prefixes for all payload type identifiers | Martin Willi | 2014-06-04 | 104 | -903/+903 | |
| | | | | | | | | | | The old identifiers did not use a proper namespace and often clashed with other defines. | |||||
| * | windows: Never link to libpthread | Martin Willi | 2014-06-04 | 1 | -0/+1 | |
| | | ||||||
| * | openssl: Fix includes to prevent <winsock2.h> to complain about include order | Martin Willi | 2014-06-04 | 2 | -6/+8 | |
| | | ||||||
| * | openssl: Undef OpenSSLs X509_NAME defined by <wincrypt.h> | Martin Willi | 2014-06-04 | 1 | -0/+6 | |
| | | ||||||
| * | openssl: Check and link against libeay32 instead of libcrypto on Windows | Martin Willi | 2014-06-04 | 2 | -4/+13 | |
| | | | | | | | | Most Windows OpenSSL builds come with the crypto library named libeay32. | |||||
| * | windows: Provide a strndup(3) replacement | Martin Willi | 2014-06-04 | 2 | -0/+20 | |
| | | ||||||
| * | sha1: Include <library.h> instead of directly including <arpa/inet.h> | Martin Willi | 2014-06-04 | 2 | -4/+3 | |
| | | | | | | | | On Windows we don't have <arpa/inet.h> | |||||
| * | x509: Undef OCSP_RESPONSE from <wincrypt.h> before using it | Martin Willi | 2014-06-04 | 1 | -0/+5 | |
| | | ||||||
| * | plugins: Don't link with -rdynamic on Windows | Martin Willi | 2014-06-04 | 132 | -134/+133 | |
| | | ||||||
| * | unit-tests: Uninline dlopen() and friends, make more dynamic, fix dlerror() | Martin Willi | 2014-06-04 | 2 | -58/+136 | |
| | | | | | | | | | | As the error string contains a newline, we have to remove that before returning the string. | |||||
| * | thread-value: Immediately cleanup all Windows TLS values on destroy | Martin Willi | 2014-06-04 | 3 | -14/+46 | |
| | | ||||||
| * | windows: Prevent queueing of multiple thread cancel APCs | Martin Willi | 2014-06-04 | 1 | -4/+13 | |
| | | | | | | | | | | This avoids any races during cleanup invocation if multiple cancel() requests come in. | |||||
| * | windows: Provide a complete native Windows threading backend | Martin Willi | 2014-06-04 | 8 | -4/+1509 | |
| | | ||||||
| * | windows: Provide a cancellable usleep(), but with ms resolution only | Martin Willi | 2014-06-04 | 2 | -0/+18 | |
| | | ||||||
| * | windows: Add a sleep function acting as cancellation point | Martin Willi | 2014-06-04 | 1 | -0/+9 | |
| | | ||||||
| * | windows: Provide a sched_yield() implementation | Martin Willi | 2014-06-04 | 5 | -3/+10 | |
| | | ||||||
| * | libipsec: Avoid name clash with sched.h clone() | Martin Willi | 2014-06-04 | 2 | -4/+4 | |
| | | ||||||
| * | windows: Provide a time_monotonic() based on GetTickCount64() | Martin Willi | 2014-06-04 | 1 | -0/+21 | |
| | | ||||||
| * | library: Change init/deinit order to allow utils to depend on threading | Martin Willi | 2014-06-04 | 2 | -4/+8 | |
| | | ||||||
| * | chunk: Don't depend on pthread directly | Martin Willi | 2014-06-04 | 3 | -13/+22 | |
| | | ||||||
| * | utils: Don't directly depend on pthread | Martin Willi | 2014-06-04 | 1 | -40/+53 | |
| | | ||||||
| * | strerror: Don't directly depend on pthread | Martin Willi | 2014-06-04 | 3 | -36/+98 | |
| | | ||||||
| * | windows: Link libhydra against Winsock2 | Martin Willi | 2014-06-04 | 1 | -0/+4 | |
| | | ||||||
| * | windows: Provide a strdup variant safe when passing zero-length strings | Martin Willi | 2014-06-04 | 1 | -0/+15 | |
| | | ||||||
| * | unit-tests: Don't test Unix socket stream/services on Windows | Martin Willi | 2014-06-04 | 1 | -1/+2 | |
| | | ||||||
| * | unit-tests: Use send/recv on socket in watcher tests | Martin Willi | 2014-06-04 | 1 | -4/+4 | |
| | | | | | | | | Windows does not support read/write on sockets. | |||||
| * | stream: Separate TCP/Unix stream helpers from stream/service implementations | Martin Willi | 2014-06-04 | 16 | -304/+524 | |
| | | | | | | | | | | | | This allows us to disable Unix sockets cleanly on Windows. Replaces some read/write calls with recv/send counterparts, as Winsock does not like read/writes. | |||||
| * | watcher: Add Windows support | Martin Willi | 2014-06-04 | 1 | -16/+80 | |
| | | | | | | | | | | | | | | | | | | | | Instead of a pipe we use a TCP socketpair (can't select() a _pipe()), and Windsock2 send/recv functions instead of read/write. Currently supported (and required) are file descriptors provided by Winsock only; we might use a separate mechanism for traditional file handles if required (or switch to Windows events and WaitForMultipleObjects) for a future version. | |||||
| * | windows: Map WSAGetLastError() to errno failures in wrapped send/recv/from/to | Martin Willi | 2014-06-04 | 1 | -12/+80 | |
| | | ||||||
| * | windows: Add send/recv and sendto/recvfrom wrappers supporting MSG_DONTWAIT | Martin Willi | 2014-06-04 | 2 | -0/+135 | |
| | |