mirror of
https://github.com/php-win-ext/pecl-expect.git
synced 2026-03-24 05:02:05 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4b08ad2de | ||
|
|
ce1a540073 |
14
expect.c
14
expect.c
@@ -22,10 +22,20 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_expect_popen, 0, 0, 1)
|
||||
ZEND_ARG_INFO(0, command)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
ZEND_BEGIN_ARG_INFO_EX(arginfo_expect_expectl, 0, 0, 2)
|
||||
ZEND_ARG_INFO(0, stream)
|
||||
ZEND_ARG_INFO(0, expect_cases)
|
||||
ZEND_ARG_INFO(1, match)
|
||||
ZEND_END_ARG_INFO()
|
||||
|
||||
/* {{{ expect_functions[] */
|
||||
function_entry expect_functions[] = {
|
||||
PHP_FE(expect_popen, NULL)
|
||||
PHP_FE(expect_expectl, third_arg_force_ref)
|
||||
PHP_FE(expect_popen, arginfo_expect_popen)
|
||||
PHP_FE(expect_expectl, arginfo_expect_expectl)
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user