diff options
author | Andrey Hristov <andrey@php.net> | 2015-11-17 14:59:59 +0100 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2015-11-17 14:59:59 +0100 |
commit | a6b79f08b32ac1a25d855ea72458788f7d10c204 (patch) | |
tree | 24a53bd62d0681a530f51511d32accb20ed48443 /ext/mysqlnd/mysqlnd_wireprotocol.h | |
parent | 4ee4a4bb52b6c6d59a72df9a9379c1ac80a8ab64 (diff) | |
download | php-git-a6b79f08b32ac1a25d855ea72458788f7d10c204.tar.gz |
More const and moved the declaration of php_mysqlnd_scramble() to mysqlnd_auth.h
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h index 952522f8d7..ce44c8016f 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.h +++ b/ext/mysqlnd/mysqlnd_wireprotocol.h @@ -296,8 +296,6 @@ typedef struct st_mysqlnd_packet_sha256_pk_request_response { } MYSQLND_PACKET_SHA256_PK_REQUEST_RESPONSE; -PHPAPI void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_uchar * const pass, size_t pass_len); - zend_ulong php_mysqlnd_net_field_length(const zend_uchar **packet); zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, uint64_t length); size_t php_mysqlnd_net_store_length_size(uint64_t length); @@ -318,7 +316,7 @@ enum_func_status php_mysqlnd_rowp_read_text_protocol_c(MYSQLND_MEMORY_POOL_CHUNK zend_bool as_int_or_float, MYSQLND_STATS * stats); -PHPAPI MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * mysqlnd_protocol_payload_decoder_factory_init(MYSQLND_CONN_DATA * conn, zend_bool persistent); +PHPAPI MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * mysqlnd_protocol_payload_decoder_factory_init(MYSQLND_CONN_DATA * conn, const zend_bool persistent); PHPAPI void mysqlnd_protocol_payload_decoder_factory_free(MYSQLND_PROTOCOL_PAYLOAD_DECODER_FACTORY * const payload_decoder_factory); #endif /* MYSQLND_WIREPROTOCOL_H */ |