aboutsummaryrefslogtreecommitdiff
path: root/include/uv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uv.h')
-rw-r--r--include/uv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/uv.h b/include/uv.h
index 938e998f..f788c040 100644
--- a/include/uv.h
+++ b/include/uv.h
@@ -604,6 +604,11 @@ UV_EXTERN int uv_tcp_nodelay(uv_tcp_t* handle, int enable);
UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle,
int enable,
unsigned int delay);
+UV_EXTERN int uv_tcp_keepalive_ex(uv_tcp_t* handle,
+ int on,
+ unsigned int idle,
+ unsigned int intvl,
+ unsigned int cnt);
UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable);
enum uv_tcp_flags {
@@ -1964,7 +1969,6 @@ UV_EXTERN void uv_wtf8_to_utf16(const char* wtf8,
size_t utf16_len);
/* Don't export the private CPP symbols. */
-#undef UV_HANDLE_TYPE_PRIVATE
#undef UV_REQ_TYPE_PRIVATE
#undef UV_REQ_PRIVATE_FIELDS
#undef UV_STREAM_PRIVATE_FIELDS
@@ -1976,12 +1980,10 @@ UV_EXTERN void uv_wtf8_to_utf16(const char* wtf8,
#undef UV_TIMER_PRIVATE_FIELDS
#undef UV_GETADDRINFO_PRIVATE_FIELDS
#undef UV_GETNAMEINFO_PRIVATE_FIELDS
-#undef UV_FS_REQ_PRIVATE_FIELDS
#undef UV_WORK_PRIVATE_FIELDS
#undef UV_FS_EVENT_PRIVATE_FIELDS
#undef UV_SIGNAL_PRIVATE_FIELDS
#undef UV_LOOP_PRIVATE_FIELDS
-#undef UV_LOOP_PRIVATE_PLATFORM_FIELDS
#undef UV__ERR
#ifdef __cplusplus