summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets_arginfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/sockets_arginfo.h')
-rw-r--r--ext/sockets/sockets_arginfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/sockets/sockets_arginfo.h b/ext/sockets/sockets_arginfo.h
index 397c2e5683..ef40e5dda1 100644
--- a/ext/sockets/sockets_arginfo.h
+++ b/ext/sockets/sockets_arginfo.h
@@ -108,6 +108,8 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_get_option, 0, 3, MAY_BE_
ZEND_ARG_TYPE_INFO(0, optname, IS_LONG, 0)
ZEND_END_ARG_INFO()
+#define arginfo_socket_getopt arginfo_socket_get_option
+
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_set_option, 0, 4, _IS_BOOL, 0)
ZEND_ARG_INFO(0, socket)
ZEND_ARG_TYPE_INFO(0, level, IS_LONG, 0)
@@ -115,6 +117,8 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_set_option, 0, 4, _IS_BOO
ZEND_ARG_INFO(0, optval)
ZEND_END_ARG_INFO()
+#define arginfo_socket_setopt arginfo_socket_set_option
+
#if defined(HAVE_SOCKETPAIR)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_create_pair, 0, 4, _IS_BOOL, 1)
ZEND_ARG_TYPE_INFO(0, domain, IS_LONG, 0)