|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdlib.h>#include <stdio.h>#include <windef.h>#include <winbase.h>#include <objbase.h>#include <winsock2.h>#include <sys/types.h>#include <time.h>#include <errno.h>#include <assert.h>#include <limits.h>#include <malloc.h>#include <signal.h>
Go to the source code of this file.
Classes | |
| struct | iovec |
Macros | |
| #define | ADNS_API |
| #define | WIN32_NO_STATUS |
| #define | _INC_WINDOWS |
| #define | COM_NO_WINDOWS_H |
| #define | HAVE_WINSOCK 1 |
| #define | inline __inline |
| #define | ADNS_SOCKET SOCKET |
| #define | adns_socket_close(sck) closesocket(sck) |
| #define | adns_socket_read(sck, data, len) recv(sck, (char *)data, len, 0) |
| #define | adns_socket_write(sck, data, len) send(sck, (char *)data, len, 0) |
| #define | ADNS_CAPTURE_ERRNO {errno = WSAGetLastError(); WSASetLastError(errno);} |
| #define | ADNS_CLEAR_ERRNO {WSASetLastError(errno = 0);} |
| #define | ENOBUFS WSAENOBUFS |
| #define | EWOULDBLOCK WSAEWOULDBLOCK |
| #define | EINPROGRESS WSAEINPROGRESS |
| #define | EMSGSIZE WSAEMSGSIZE |
| #define | ENOPROTOOPT WSAENOPROTOOPT |
| #define | ECONNRESET WSAECONNRESET |
| #define | gettimeofday(tv, tz) adns_gettimeofday(tv, tz) |
| #define | writev(FileDescriptor, iov, iovCount) adns_writev(FileDescriptor, iov, iovCount) |
| #define | inet_aton(ap, inp) adns_inet_aton(ap, inp) |
| #define | getpid() adns_getpid() |
Functions | |
| ADNS_API int | adns_gettimeofday (struct timeval *tv, struct timezone *tz) |
| ADNS_API int | adns_writev (int FileDescriptor, const struct iovec *iov, int iovCount) |
| ADNS_API int | adns_inet_aton (const char *cp, struct in_addr *inp) |
| ADNS_API int | adns_getpid () |
| #define _INC_WINDOWS |
Definition at line 79 of file adns_win32.h.
| #define ADNS_API |
Definition at line 66 of file adns_win32.h.
| #define ADNS_CAPTURE_ERRNO {errno = WSAGetLastError(); WSASetLastError(errno);} |
Definition at line 107 of file adns_win32.h.
| #define ADNS_CLEAR_ERRNO {WSASetLastError(errno = 0);} |
Definition at line 108 of file adns_win32.h.
Definition at line 98 of file adns_win32.h.
| #define adns_socket_close | ( | sck | ) | closesocket(sck) |
Definition at line 99 of file adns_win32.h.
Definition at line 100 of file adns_win32.h.
Definition at line 101 of file adns_win32.h.
| #define COM_NO_WINDOWS_H |
Definition at line 80 of file adns_win32.h.
| #define ECONNRESET WSAECONNRESET |
Definition at line 123 of file adns_win32.h.
| #define EINPROGRESS WSAEINPROGRESS |
Definition at line 120 of file adns_win32.h.
| #define EMSGSIZE WSAEMSGSIZE |
Definition at line 121 of file adns_win32.h.
| #define ENOBUFS WSAENOBUFS |
Definition at line 110 of file adns_win32.h.
| #define ENOPROTOOPT WSAENOPROTOOPT |
Definition at line 122 of file adns_win32.h.
| #define EWOULDBLOCK WSAEWOULDBLOCK |
Definition at line 118 of file adns_win32.h.
| #define getpid | ( | void | ) | adns_getpid() |
Definition at line 162 of file adns_win32.h.
| #define gettimeofday | ( | tv, | |
| tz | |||
| ) | adns_gettimeofday(tv, tz) |
Definition at line 159 of file adns_win32.h.
| #define HAVE_WINSOCK 1 |
Definition at line 94 of file adns_win32.h.
| #define inet_aton | ( | ap, | |
| inp | |||
| ) | adns_inet_aton(ap, inp) |
Definition at line 161 of file adns_win32.h.
Definition at line 96 of file adns_win32.h.
| #define WIN32_NO_STATUS |
Definition at line 78 of file adns_win32.h.
| #define writev | ( | FileDescriptor, | |
| iov, | |||
| iovCount | |||
| ) | adns_writev(FileDescriptor, iov, iovCount) |
Definition at line 160 of file adns_win32.h.
Definition at line 75 of file adns_unix_calls.c.
Definition at line 56 of file adns_unix_calls.c.
Definition at line 33 of file adns_unix_calls.c.