|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Macros | |
| #define | ERR_REPORT(out_err, fmt, arg) |
| #define | ERR_RETURN(out_err, local_err, fmt) |
Definition at line 42 of file transports.c.
| #define ERR_RETURN | ( | out_err, | |
| local_err, | |||
| fmt ) |
Definition at line 46 of file transports.c.
| PHPAPI php_stream * _php_stream_xport_create | ( | const char * | name, |
| size_t | namelen, | ||
| int | options, | ||
| int | flags, | ||
| const char * | persistent_id, | ||
| struct timeval * | timeout, | ||
| php_stream_context * | context, | ||
| zend_string ** | error_string, | ||
| int *error_code | STREAMS_DC ) |
Definition at line 52 of file transports.c.
| PHPAPI int php_stream_xport_accept | ( | php_stream * | stream, |
| php_stream ** | client, | ||
| zend_string ** | textaddr, | ||
| void ** | addr, | ||
| socklen_t * | addrlen, | ||
| struct timeval * | timeout, | ||
| zend_string ** | error_text ) |
Definition at line 289 of file transports.c.
| PHPAPI int php_stream_xport_bind | ( | php_stream * | stream, |
| const char * | name, | ||
| size_t | namelen, | ||
| zend_string ** | error_text ) |
Definition at line 201 of file transports.c.
| PHPAPI int php_stream_xport_connect | ( | php_stream * | stream, |
| const char * | name, | ||
| size_t | namelen, | ||
| int | asynchronous, | ||
| struct timeval * | timeout, | ||
| zend_string ** | error_text, | ||
| int * | error_code ) |
Definition at line 229 of file transports.c.
| PHPAPI int php_stream_xport_crypto_enable | ( | php_stream * | stream, |
| int | activate ) |
Definition at line 378 of file transports.c.
| PHPAPI int php_stream_xport_crypto_setup | ( | php_stream * | stream, |
| php_stream_xport_crypt_method_t | crypto_method, | ||
| php_stream * | session_stream ) |
Definition at line 357 of file transports.c.
Definition at line 23 of file transports.c.
| PHPAPI int php_stream_xport_get_name | ( | php_stream * | stream, |
| int | want_peer, | ||
| zend_string ** | textaddr, | ||
| void ** | addr, | ||
| socklen_t * | addrlen ) |
Definition at line 327 of file transports.c.
| PHPAPI int php_stream_xport_listen | ( | php_stream * | stream, |
| int | backlog, | ||
| zend_string ** | error_text ) |
Definition at line 265 of file transports.c.
| PHPAPI int php_stream_xport_recvfrom | ( | php_stream * | stream, |
| char * | buf, | ||
| size_t | buflen, | ||
| int | flags, | ||
| void ** | addr, | ||
| socklen_t * | addrlen, | ||
| zend_string ** | textaddr ) |
Definition at line 400 of file transports.c.
| PHPAPI int php_stream_xport_register | ( | const char * | protocol, |
| php_stream_transport_factory | factory ) |
Definition at line 28 of file transports.c.
| PHPAPI int php_stream_xport_sendto | ( | php_stream * | stream, |
| const char * | buf, | ||
| size_t | buflen, | ||
| int | flags, | ||
| void * | addr, | ||
| socklen_t | addrlen ) |
Definition at line 469 of file transports.c.
| PHPAPI int php_stream_xport_shutdown | ( | php_stream * | stream, |
| stream_shutdown_t | how ) |
Definition at line 509 of file transports.c.
| PHPAPI int php_stream_xport_unregister | ( | const char * | protocol | ) |
Definition at line 37 of file transports.c.