diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 10:32:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-30 10:32:57 -0700 |
commit | 3c8dc3131c6de3f7816746bec174e82b6b833275 (patch) | |
tree | 97d89c77b2d5da02de1b125418795ff86113b01c /src/settings.js | |
parent | 15f4ad9b5ba8095ce1596f8733f03ff39030cd79 (diff) | |
parent | df89e4a8ea28aa3f0bcdd9116d348fb63f6cc406 (diff) |
Merge pull request #1557 from inolen/sockfs
getaddrinfo, freeaddrinfo, getnameinfo support and sockfs
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js index 02423ba5..b40330b8 100644 --- a/src/settings.js +++ b/src/settings.js @@ -457,6 +457,7 @@ var C_DEFINES = { 'ABMON_8': '40', 'ABMON_9': '41', 'ACCESSPERMS': '0000400', + 'AF_UNSPEC': '0', 'AF_INET': '2', 'AF_INET6': '10', 'ALLPERMS': '0004000', @@ -718,6 +719,7 @@ var C_DEFINES = { 'PM_STR': '6', 'POLLERR': '8', 'POLLHUP': '16', + 'POLLPRI': '32', 'POLLIN': '1', 'POLLNVAL': '4', 'POLLOUT': '2', @@ -1457,6 +1459,35 @@ var C_DEFINES = { 'ECANCELED': '140', 'ENOTRECOVERABLE': '141', 'EOWNERDEAD': '142', - 'ESTRPIPE': '143' + 'ESTRPIPE': '143', + 'AI_PASSIVE': '0x0001', + 'AI_CANONNAME': '0x0002', + 'AI_NUMERICHOST': '0x0004', + 'AI_V4MAPPED': '0x0008', + 'AI_ALL': '0x0010', + 'AI_ADDRCONFIG': '0x0020', + 'AI_NUMERICSERV': '0x0400', + 'EAI_ADDRFAMILY': '1', + 'EAI_AGAIN': '2', + 'EAI_BADFLAGS': '3', + 'EAI_FAIL': '4', + 'EAI_FAMILY': '5', + 'EAI_MEMORY': '6', + 'EAI_NODATA': '7', + 'EAI_NONAME': '8', + 'EAI_SERVICE': '9', + 'EAI_SOCKTYPE': '10', + 'EAI_SYSTEM': '11', + 'EAI_BADHINTS': '12', + 'EAI_PROTOCOL': '13', + 'EAI_OVERFLOW': '14', + 'EAI_MAX': '15', + 'NI_NOFQDN': '0x00000001', + 'NI_NUMERICHOST': '0x00000002', + 'NI_NAMEREQD': '0x00000004', + 'NI_NUMERICSERV': '0x00000008', + 'NI_DGRAM': '0x00000010', + 'INADDR_ANY': '0', + 'INADDR_LOOPBACK': '0x7f000001' }; |