Searched refs:protocol (Results 1 - 24 of 24) sorted by relevance

/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c944 #define SQLITE_PROTOCOL 15 /* Database lock protocol error */
26136 ** protocol. If this happens, return SQLITE_IOERR_RDLOCK. Returning
[all...]
/PHP_5_3/ext/ldap/
H A Dldap.c2031 int rc, protocol = LDAP_VERSION3; local
2039 if (((rc = ldap_set_option(ld->link, LDAP_OPT_PROTOCOL_VERSION, &protocol)) != LDAP_SUCCESS) ||
/PHP_5_3/ext/sockets/
H A Dsockets.c177 ZEND_ARG_INFO(0, protocol)
245 ZEND_ARG_INFO(0, protocol)
1235 /* {{{ proto resource socket_create(int domain, int type, int protocol) U
1909 /* {{{ proto bool socket_create_pair(int domain, int type, int protocol, array &fd) U
1916 long domain, type, protocol; local
1918 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllz", &domain, &type, &protocol, &fds_array_zval) == FAILURE) {
1939 if (socketpair(domain, type, protocol, fds_array) != 0) {
/PHP_5_3/main/
H A Dphp_streams.h538 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC);
539 PHPAPI int php_unregister_url_stream_wrapper(char *protocol TSRMLS_DC);
540 PHPAPI int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC);
541 PHPAPI int php_unregister_url_stream_wrapper_volatile(char *protocol TSRMLS_DC);
/PHP_5_3/main/streams/
H A Dphp_stream_transport.h37 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 Dstreams.c1611 /* Validate protocol scheme names during registration
1614 static inline int php_stream_wrapper_scheme_validate(char *protocol, int protocol_len) argument
1619 if (!isalnum((int)protocol[i]) &&
1620 protocol[i] != '+' &&
1621 protocol[i] != '-' &&
1622 protocol[i] != '.') {
1631 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC) argument
1633 int protocol_len = strlen(protocol);
1635 if (php_stream_wrapper_scheme_validate(protocol, protocol_len) == FAILURE) {
1639 return zend_hash_add(&url_stream_wrappers_hash, protocol, protocol_le
1657 php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC) argument
1687 const char *p, *protocol = NULL; local
[all...]
H A Dtransports.c32 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 Duserspace.c489 /* {{{ proto bool stream_wrapper_register(string protocol, string classname[, integer flags])
490 Registers a custom URL protocol handler class */
493 char *protocol, *classname; local
499 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|l", &protocol, &protocol_len, &classname, &classname_len, &flags) == FAILURE) {
504 uwrap->protoname = estrndup(protocol, protocol_len);
514 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) {
518 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) {
519 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Protocol %s:// is already defined.", protocol);
521 /* Hash doesn't exist so it must have been an invalid protocol scheme */
522 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid protocol schem
538 char *protocol; local
559 char *protocol; local
[all...]
/PHP_5_3/sapi/apache2handler/
H A Dsapi_apache2.c514 if (strcmp(r->protocol, "INCLUDED")) {
554 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) {
642 if (parent_req && parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol, "INCLUDED")) {
/PHP_5_3/sapi/apache_hooks/
H A Dphp_apache.c374 /* {{{ 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_5_3/sapi/thttpd/
H A Dthttpd.c322 CONDADD(SERVER_PROTOCOL, protocol);
/PHP_5_3/sapi/webjames/
H A Dwebjames.c125 ADD_FIELD("SERVER_PROTOCOL", protocol);
/PHP_5_3/win32/
H A Dsockets.h26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2])
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_5_3/ext/mysqlnd/
H A Dmysqlnd.h38 max_allowed_packet_size, and COM_STMT_SEND_LONG_DATA by protocol doesn't
82 PHPAPI void ** _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id TSRMLS_DC);
H A Dmysqlnd_result_meta.c152 field_packet = conn->protocol->m.get_result_field_packet(conn->protocol, FALSE TSRMLS_CC);
H A Dmysqlnd_structs.h165 enum_mysqlnd_protocol_type protocol; member in struct:st_mysqlnd_options
304 typedef struct st_mysqlnd_packet_greet * (*func_mysqlnd_protocol__get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
305 typedef struct st_mysqlnd_packet_auth * (*func_mysqlnd_protocol__get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
306 typedef struct st_mysqlnd_packet_ok * (*func_mysqlnd_protocol__get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
307 typedef struct st_mysqlnd_packet_command * (*func_mysqlnd_protocol__get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
308 typedef struct st_mysqlnd_packet_eof * (*func_mysqlnd_protocol__get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
309 typedef struct st_mysqlnd_packet_rset_header * (*func_mysqlnd_protocol__get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
310 typedef struct st_mysqlnd_packet_res_field * (*func_mysqlnd_protocol__get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
311 typedef struct st_mysqlnd_packet_row * (*func_mysqlnd_protocol__get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC);
312 typedef struct st_mysqlnd_packet_stats * (*func_mysqlnd_protocol__get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo
732 MYSQLND_PROTOCOL * protocol; member in struct:st_mysqlnd_connection
[all...]
H A Dmysqlnd_wireprotocol.c1439 less space in the protocol than the numbers they represent, we don't
1917 MYSQLND_METHOD(mysqlnd_protocol, get_greet_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
1932 MYSQLND_METHOD(mysqlnd_protocol, get_auth_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
1947 MYSQLND_METHOD(mysqlnd_protocol, get_ok_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
1962 MYSQLND_METHOD(mysqlnd_protocol, get_eof_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
1977 MYSQLND_METHOD(mysqlnd_protocol, get_command_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
1992 MYSQLND_METHOD(mysqlnd_protocol, get_rset_header_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
2007 MYSQLND_METHOD(mysqlnd_protocol, get_result_field_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
2022 MYSQLND_METHOD(mysqlnd_protocol, get_row_packet)(MYSQLND_PROTOCOL * const protocol, zend_bool persistent TSRMLS_DC)
2037 MYSQLND_METHOD(mysqlnd_protocol, get_stats_packet)(MYSQLND_PROTOCOL * const protocol, zend_boo
2132 _mysqlnd_plugin_get_plugin_protocol_data(const MYSQLND_PROTOCOL * protocol, unsigned int plugin_id TSRMLS_DC) argument
[all...]
H A Dmysqlnd_wireprotocol.h275 PHPAPI void mysqlnd_protocol_free(MYSQLND_PROTOCOL * const protocol TSRMLS_DC);
H A Dmysqlnd.c208 if (conn->protocol) {
209 DBG_INF("Freeing protocol");
210 mysqlnd_protocol_free(conn->protocol TSRMLS_CC);
211 conn->protocol = NULL;
238 MYSQLND_PACKET_OK * ok_response = conn->protocol->m.get_ok_packet(conn->protocol, FALSE TSRMLS_CC);
256 Cover a protocol design error: error packet does not
283 MYSQLND_PACKET_EOF * ok_response = conn->protocol->m.get_eof_packet(conn->protocol, FALSE TSRMLS_CC);
356 cmd_packet = conn->protocol
[all...]
H A Dmysqlnd_ps.c252 if (!stmt || !stmt->conn || !stmt->conn->protocol) {
257 field_packet = stmt->conn->protocol->m.get_result_field_packet(stmt->conn->protocol, FALSE TSRMLS_CC);
287 if (!stmt || !stmt->conn || !stmt->conn->protocol) {
292 prepare_resp = stmt->conn->protocol->m.get_prepare_response_packet(stmt->conn->protocol, FALSE TSRMLS_CC);
329 if (!stmt || !stmt->conn || !stmt->conn->protocol) {
334 fields_eof = stmt->conn->protocol->m.get_eof_packet(stmt->conn->protocol, FALSE TSRMLS_CC);
1351 Cover protocol erro
[all...]
H A Dmysqlnd_result.c389 rset_header = conn->protocol->m.get_rset_header_packet(conn->protocol, FALSE TSRMLS_CC);
405 Cover a protocol design error: error packet does not
519 fields_eof = conn->protocol->m.get_eof_packet(conn->protocol, FALSE TSRMLS_CC);
929 result->row_packet = result->conn->protocol->m.get_row_packet(result->conn->protocol, FALSE TSRMLS_CC);
1162 row_packet = conn->protocol->m.get_row_packet(conn->protocol, FALSE TSRMLS_CC);
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c48 /* {{{ 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 Dbasic_functions.c200 ZEND_ARG_INFO(0, protocol)
206 ZEND_ARG_INFO(0, protocol)
210 ZEND_ARG_INFO(0, protocol)
800 ZEND_ARG_INFO(0, protocol)
807 ZEND_ARG_INFO(0, protocol)
1947 ZEND_ARG_INFO(0, protocol)
5622 /* {{{ proto int getservbyname(string service, string protocol)
5655 /* {{{ proto string getservbyport(int port, string protocol)
5681 Returns protocol number associated with name as per /etc/protocols */
5705 Returns protocol nam
[all...]

Completed in 169 milliseconds