| /PHP_TRUNK/main/ |
| H A D | php_streams.h | 543 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC); 544 PHPAPI int php_unregister_url_stream_wrapper(char *protocol TSRMLS_DC); 545 PHPAPI int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC); 546 PHPAPI int php_unregister_url_stream_wrapper_volatile(char *protocol TSRMLS_DC);
|
| /PHP_TRUNK/main/streams/ |
| H A D | php_stream_transport.h | 37 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC); 38 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC);
|
| H A D | transports.c | 32 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC) argument 34 return zend_hash_update(&xport_hash, protocol, strlen(protocol) + 1, &factory, sizeof(factory), NULL); 37 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC) 39 return zend_hash_del(&xport_hash, protocol, strlen(protocol) + 1); 62 const char *p, *protocol = NULL; local 100 protocol = name; 104 protocol = "tcp"; 108 if (protocol) { [all...] |
| H A D | userspace.c | 516 /* {{{ proto bool stream_wrapper_register(string protocol, string classname[, integer flags]) 517 Registers a custom URL protocol handler class */ 520 char *protocol, *classname; local 526 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname, &classname_len, &flags) == FAILURE) { 531 uwrap->protoname = estrndup(protocol, protocol_len); 541 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) { 545 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) { 546 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Protocol %s:// is already defined.", protocol); 548 /* Hash doesn't exist so it must have been an invalid protocol scheme */ 549 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid protocol schem 565 char *protocol; local 586 char *protocol; local [all...] |
| H A D | streams.c | 1676 /* Validate protocol scheme names during registration 1679 static inline int php_stream_wrapper_scheme_validate(char *protocol, int protocol_len) argument 1684 if (!isalnum((int)protocol[i]) && 1685 protocol[i] != '+' && 1686 protocol[i] != '-' && 1687 protocol[i] != '.') { 1696 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC) argument 1698 int protocol_len = strlen(protocol); 1700 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) { 1704 return zend_hash_add(&url_stream_wrappers_hash, protocol, protocol_le 1722 php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC) argument 1752 const char *p, *protocol = NULL; local [all...] |
| /PHP_TRUNK/sapi/apache2handler/ |
| H A D | sapi_apache2.c | 512 if (strcmp(r->protocol, "INCLUDED")) { 552 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { 640 if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol, "INCLUDED")) {
|
| /PHP_TRUNK/sapi/apache_hooks/ |
| H A D | php_apache.c | 374 /* {{{ proto string ApacheRequest::protocol() 378 apache_request_read_string_slot(offsetof(request_rec, protocol), INTERNAL_FUNCTION_PARAM_PASSTHRU); 1304 PHP_FALIAS(protocol, apache_request_protocol, NULL)
|
| /PHP_TRUNK/sapi/thttpd/ |
| H A D | thttpd.c | 322 CONDADD(SERVER_PROTOCOL, protocol);
|
| /PHP_TRUNK/sapi/webjames/ |
| H A D | webjames.c | 125 ADD_FIELD("SERVER_PROTOCOL", protocol);
|
| /PHP_TRUNK/win32/ |
| H A D | sockets.h | 26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2])
|
| H A D | sockets.c | 31 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) argument 45 sock[0] = socket(domain, type, protocol); 66 sock[1] = socket(domain, type, protocol);
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_ext_plugin.c | 75 _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id TSRMLS_DC) argument 79 if (!protocol || plugin_id >= mysqlnd_plugin_count()) { 82 DBG_RETURN((void *)((char *)protocol + sizeof(MYSQLND_PROTOCOL) + plugin_id * sizeof(void *)));
|
| H A D | mysqlnd_ext_plugin.h | 37 PHPAPI void ** _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id TSRMLS_DC);
|
| H A D | mysqlnd_result_meta.c | 104 field_packet = conn->protocol->m.get_result_field_packet(conn->protocol, FALSE TSRMLS_CC);
|
| H A D | mysqlnd_auth.c | 60 auth_resp_packet = conn->protocol->m.get_auth_response_packet(conn->protocol, FALSE TSRMLS_CC); 68 change_auth_resp_packet = conn->protocol->m.get_change_auth_response_packet(conn->protocol, FALSE TSRMLS_CC); 83 auth_packet = conn->protocol->m.get_auth_packet(conn->protocol, FALSE TSRMLS_CC); 181 chg_user_resp = conn->protocol->m.get_change_user_response_packet(conn->protocol, FALSE TSRMLS_CC); 189 change_auth_resp_packet = conn->protocol->m.get_change_auth_response_packet(conn->protocol, FALS [all...] |
| H A D | mysqlnd_wireprotocol.c | 1718 less space in the protocol than the numbers they represent, we don't 2282 MYSQLND_METHOD(mysqlnd_protocol, get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2297 MYSQLND_METHOD(mysqlnd_protocol, get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2312 MYSQLND_METHOD(mysqlnd_protocol, get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2327 MYSQLND_METHOD(mysqlnd_protocol, get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2342 MYSQLND_METHOD(mysqlnd_protocol, get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2357 MYSQLND_METHOD(mysqlnd_protocol, get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2372 MYSQLND_METHOD(mysqlnd_protocol, get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2387 MYSQLND_METHOD(mysqlnd_protocol, get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC) 2402 MYSQLND_METHOD(mysqlnd_protocol, get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo [all...] |
| H A D | mysqlnd_wireprotocol.h | 320 PHPAPI void mysqlnd_protocol_free(MYSQLND_PROTOCOL * const protocol TSRMLS_DC);
|
| H A D | mysqlnd_ps.c | 249 if (!stmt || !stmt->conn || !stmt->conn->protocol) { 254 field_packet = stmt->conn->protocol->m.get_result_field_packet(stmt->conn->protocol, FALSE TSRMLS_CC); 284 if (!stmt || !stmt->conn || !stmt->conn->protocol) { 289 prepare_resp = stmt->conn->protocol->m.get_prepare_response_packet(stmt->conn->protocol, FALSE TSRMLS_CC); 328 if (!stmt || !stmt->conn || !stmt->conn->protocol) { 333 fields_eof = stmt->conn->protocol->m.get_eof_packet(stmt->conn->protocol, FALSE TSRMLS_CC); 1331 Cover protocol erro [all...] |
| H A D | mysqlnd_result.c | 364 rset_header = conn->protocol->m.get_rset_header_packet(conn->protocol, FALSE TSRMLS_CC); 380 Cover a protocol design error: error packet does not 494 fields_eof = conn->protocol->m.get_eof_packet(conn->protocol, FALSE TSRMLS_CC); 889 result->row_packet = result->conn->protocol->m.get_row_packet(result->conn->protocol, FALSE TSRMLS_CC); 1102 row_packet = conn->protocol->m.get_row_packet(conn->protocol, FALSE TSRMLS_CC);
|
| H A D | mysqlnd.c | 197 if (conn->protocol) { 198 mysqlnd_protocol_free(conn->protocol TSRMLS_CC); 199 conn->protocol = NULL; 226 MYSQLND_PACKET_OK * ok_response = conn->protocol->m.get_ok_packet(conn->protocol, FALSE TSRMLS_CC); 244 Cover a protocol design error: error packet does not 271 MYSQLND_PACKET_EOF * ok_response = conn->protocol->m.get_eof_packet(conn->protocol, FALSE TSRMLS_CC); 343 cmd_packet = conn->protocol->m.get_command_packet(conn->protocol, FALS [all...] |
| H A D | mysqlnd_structs.h | 183 enum_mysqlnd_protocol_type protocol; member in struct:st_mysqlnd_options 356 typedef struct st_mysqlnd_packet_greet * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 357 typedef struct st_mysqlnd_packet_auth * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 358 typedef struct st_mysqlnd_packet_auth_response *(*func_mysqlnd_protocol__get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 359 typedef struct st_mysqlnd_packet_change_auth_response * (*func_mysqlnd_protocol__get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 360 typedef struct st_mysqlnd_packet_ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 361 typedef struct st_mysqlnd_packet_command * (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 362 typedef struct st_mysqlnd_packet_eof * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 363 typedef struct st_mysqlnd_packet_rset_header * (*func_mysqlnd_protocol__get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC); 364 typedef struct st_mysqlnd_packet_res_field * (*func_mysqlnd_protocol__get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo 865 MYSQLND_PROTOCOL * protocol; member in struct:st_mysqlnd_connection_data [all...] |
| /PHP_TRUNK/ext/soap/ |
| H A D | php_http.c | 165 char *protocol; local 197 /* uses contants declared in soap.c to determine ssl uri protocol */ 200 protocol = "tls"; 204 protocol = "sslv2"; 208 protocol = "sslv3"; 212 protocol = "ssl"; 216 protocol = "ssl"; 221 protocol = "ssl"; 224 protocol = "tcp"; 227 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, hos [all...] |
| /PHP_TRUNK/ext/standard/ |
| H A D | streamsfuncs.c | 48 /* {{{ proto array stream_socket_pair(int domain, int type, int protocol) 52 long domain, type, protocol; local 57 &domain, &type, &protocol)) { 61 if (0 != socketpair(domain, type, protocol, pair)) {
|
| H A D | basic_functions.c | 203 ZEND_ARG_INFO(0, protocol) 209 ZEND_ARG_INFO(0, protocol) 213 ZEND_ARG_INFO(0, protocol) 809 ZEND_ARG_INFO(0, protocol) 816 ZEND_ARG_INFO(0, protocol) 1963 ZEND_ARG_INFO(0, protocol) 5607 /* {{{ proto int getservbyname(string service, string protocol) 5640 /* {{{ proto string getservbyport(int port, string protocol) 5666 Returns protocol number associated with name as per /etc/protocols */ 5690 Returns protocol nam [all...] |
| /PHP_TRUNK/ext/sockets/ |
| H A D | sockets.c | 163 ZEND_ARG_INFO(0, protocol) 231 ZEND_ARG_INFO(0, protocol) 1329 /* {{{ proto resource socket_create(int domain, int type, int protocol) U 2063 /* {{{ proto bool socket_create_pair(int domain, int type, int protocol, array &fd) U 2070 long domain, type, protocol; local 2072 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllz", &domain, &type, &protocol, &fds_array_zval) == FAILURE) { 2093 if (socketpair(domain, type, protocol, fds_array) != 0) {
|