Lines Matching refs:zsession

243 	zval *methods = NULL, *callbacks = NULL, zsession, *tmpzval;  in php_ssh2_fopen_wraper_parse_path()  local
496 if (Z_RES(zsession)) { in php_ssh2_fopen_wraper_parse_path()
497 zend_list_delete(Z_RES(zsession)); in php_ssh2_fopen_wraper_parse_path()
502 ZVAL_RES(&zsession, zend_register_resource(session, le_ssh2_session)); in php_ssh2_fopen_wraper_parse_path()
511 zend_list_delete(Z_RES(zsession)); in php_ssh2_fopen_wraper_parse_path()
518 sftp_data->session_rsrc = Z_RES(zsession); in php_ssh2_fopen_wraper_parse_path()
526 *presource = Z_RES(zsession); in php_ssh2_fopen_wraper_parse_path()
739 zval *zsession; in PHP_FUNCTION() local
753 …if (zend_parse_parameters(argc, "r|sa!lll", &zsession, &term, &term_len, &environment, &width, &he… in PHP_FUNCTION()
757 SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); in PHP_FUNCTION()
759 …stream = php_ssh2_shell_open(session, Z_RES_P(zsession), term, term_len, environment, width, heigh… in PHP_FUNCTION()
765 Z_ADDREF_P(zsession); in PHP_FUNCTION()
955 zval *zsession; in PHP_FUNCTION() local
966 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|z!z!lll", &zsession, &command, &command_len, &zpty,… in PHP_FUNCTION()
988 SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); in PHP_FUNCTION()
990 …stream = php_ssh2_exec_command(session, Z_RES_P(zsession), command, term, term_len, environment, w… in PHP_FUNCTION()
996 Z_ADDREF_P(zsession); in PHP_FUNCTION()
1096 zval *zsession; in PHP_FUNCTION() local
1100 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rss", &zsession, &remote_filename, &remote_filename_l… in PHP_FUNCTION()
1105 SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); in PHP_FUNCTION()
1151 zval *zsession; in PHP_FUNCTION() local
1158 if (zend_parse_parameters(argc, "rss|l", &zsession, &local_filename, &local_filename_len, in PHP_FUNCTION()
1163 SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); in PHP_FUNCTION()
1364 zval *zsession; in PHP_FUNCTION() local
1369 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsl", &zsession, &host, &host_len, &port) == FAILURE) { in PHP_FUNCTION()
1373 SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); in PHP_FUNCTION()
1375 stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession), host, port); in PHP_FUNCTION()
1381 Z_ADDREF_P(zsession); in PHP_FUNCTION()