Add net_get_interfaces()

This commit is contained in:
Sara Golemon 2017-11-21 10:04:37 -05:00
parent 697c1f95d5
commit 7ca5a7d84e
No known key found for this signature in database
GPG key ID: DBDB397470D12172
8 changed files with 396 additions and 5 deletions

View file

@ -56,7 +56,7 @@ PHP_FUNCTION(time_sleep_until);
#endif
PHP_FUNCTION(flush);
#ifdef HAVE_INET_NTOP
PHP_NAMED_FUNCTION(php_inet_ntop);
PHP_NAMED_FUNCTION(zif_inet_ntop);
#endif
#ifdef HAVE_INET_PTON
PHP_NAMED_FUNCTION(php_inet_pton);
@ -126,6 +126,8 @@ PHP_FUNCTION(sys_getloadavg);
PHP_FUNCTION(is_uploaded_file);
PHP_FUNCTION(move_uploaded_file);
PHP_FUNCTION(net_get_interfaces);
/* From the INI parser */
PHP_FUNCTION(parse_ini_file);
PHP_FUNCTION(parse_ini_string);