Searched defs:protocol (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/win32/
H A Dsockets.c31 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/ldap/
H A Dldap.c2405 int rc, protocol = LDAP_VERSION3; local
2413 if (((rc = ldap_set_option(ld->link, LDAP_OPT_PROTOCOL_VERSION, &protocol)) != LDAP_SUCCESS) ||
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ext_plugin.c113 _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id) argument
117 if (!protocol || plugin_id >= mysqlnd_plugin_count()) {
120 DBG_RETURN((void *)((char *)protocol + sizeof(MYSQLND_PROTOCOL) + plugin_id * sizeof(void *)));
H A Dmysqlnd_structs.h182 enum_mysqlnd_protocol_type protocol; member in struct:st_mysqlnd_options
358 typedef struct st_mysqlnd_packet_greet * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
359 typedef struct st_mysqlnd_packet_auth * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
360 typedef struct st_mysqlnd_packet_auth_response *(*func_mysqlnd_protocol__get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
361 typedef struct st_mysqlnd_packet_change_auth_response * (*func_mysqlnd_protocol__get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
362 typedef struct st_mysqlnd_packet_ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
363 typedef struct st_mysqlnd_packet_command * (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
364 typedef struct st_mysqlnd_packet_eof * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
365 typedef struct st_mysqlnd_packet_rset_header * (*func_mysqlnd_protocol__get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent);
366 typedef struct st_mysqlnd_packet_res_field * (*func_mysqlnd_protocol__get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo
902 MYSQLND_PROTOCOL * protocol; member in struct:st_mysqlnd_connection_data
[all...]
H A Dmysqlnd_wireprotocol.c1720 less space in the protocol than the numbers they represent, we don't
2308 MYSQLND_METHOD(mysqlnd_protocol, get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2323 MYSQLND_METHOD(mysqlnd_protocol, get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2338 MYSQLND_METHOD(mysqlnd_protocol, get_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2353 MYSQLND_METHOD(mysqlnd_protocol, get_change_auth_response_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2368 MYSQLND_METHOD(mysqlnd_protocol, get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2383 MYSQLND_METHOD(mysqlnd_protocol, get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2398 MYSQLND_METHOD(mysqlnd_protocol, get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2413 MYSQLND_METHOD(mysqlnd_protocol, get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent)
2428 MYSQLND_METHOD(mysqlnd_protocol, get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo
2565 mysqlnd_protocol_free(MYSQLND_PROTOCOL * const protocol) argument
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_http.c163 char *protocol; local
195 /* uses constants declared in soap.c to determine ssl uri protocol */
198 protocol = "tls";
202 protocol = "sslv2";
206 protocol = "sslv3";
210 protocol = "ssl";
214 protocol = "ssl";
219 protocol = "ssl";
222 protocol = "tcp";
225 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, hos
[all...]
/PHP_TRUNK/ext/sockets/
H A Dsockets.c162 ZEND_ARG_INFO(0, protocol)
230 ZEND_ARG_INFO(0, protocol)
1335 /* {{{ proto resource socket_create(int domain, int type, int protocol)
2091 /* {{{ proto bool socket_create_pair(int domain, int type, int protocol, array &fd)
2098 zend_long domain, type, protocol; local
2100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lllz/", &domain, &type, &protocol, &fds_array_zval) == FAILURE) {
2121 if (socketpair(domain, type, protocol, fds_array) != 0) {
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c50 /* {{{ proto array stream_socket_pair(int domain, int type, int protocol)
54 zend_long domain, type, protocol; local
59 &domain, &type, &protocol)) {
63 if (0 != socketpair((int)domain, (int)type, (int)protocol, pair)) {
/PHP_TRUNK/main/streams/
H A Dstreams.c1692 /* Validate protocol scheme names during registration
1695 static inline int php_stream_wrapper_scheme_validate(const char *protocol, unsigned int protocol_len) argument
1700 if (!isalnum((int)protocol[i]) &&
1701 protocol[i] != '+' &&
1702 protocol[i] != '-' &&
1703 protocol[i] != '.') {
1712 PHPAPI int php_register_url_stream_wrapper(const char *protocol, php_stream_wrapper *wrapper) argument
1714 unsigned int protocol_len = (unsigned int)strlen(protocol);
1716 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1720 return zend_hash_str_add_ptr(&url_stream_wrappers_hash, protocol, protocol_le
1723 php_unregister_url_stream_wrapper(const char *protocol) argument
1736 php_register_url_stream_wrapper_volatile(const char *protocol, php_stream_wrapper *wrapper) argument
1751 php_unregister_url_stream_wrapper_volatile(const char *protocol) argument
1766 const char *p, *protocol = NULL; local
[all...]
H A Dtransports.c32 PHPAPI int php_stream_xport_register(const char *protocol, php_stream_transport_factory factory) argument
34 return zend_hash_str_update_ptr(&xport_hash, protocol, strlen(protocol), factory) ? SUCCESS : FAILURE;
37 PHPAPI int php_stream_xport_unregister(const char *protocol) argument
39 return zend_hash_str_del(&xport_hash, protocol, strlen(protocol));
62 const char *p, *protocol = NULL; local
100 protocol = name;
104 protocol = "tcp";
108 if (protocol) {
[all...]
H A Duserspace.c486 /* {{{ proto bool stream_wrapper_register(string protocol, string classname[, integer flags])
487 Registers a custom URL protocol handler class */
490 zend_string *protocol, *classname; local
495 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|l", &protocol, &classname, &flags) == FAILURE) {
500 uwrap->protoname = estrndup(protocol->val, protocol->len);
509 if (php_register_url_stream_wrapper_volatile(protocol->val, &uwrap->wrapper) == SUCCESS) {
513 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol)) {
514 php_error_docref(NULL, E_WARNING, "Protocol %s:// is already defined.", protocol->val);
516 /* Hash doesn't exist so it must have been an invalid protocol schem
533 char *protocol; local
554 zend_string *protocol; local
[all...]

Completed in 28 milliseconds