mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
1ad08256f3
This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
140 lines
5.1 KiB
C
140 lines
5.1 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| PHP Version 7 |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1997-2018 The PHP Group |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.php.net/license/3_01.txt |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Author: Georg Richter <georg@php.net> |
|
|
Andrey Hristov <andrey@php.net> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
#ifndef MYSQLI_FE_H
|
|
#define MYSQLI_FE_H
|
|
|
|
PHP_FUNCTION(mysqli);
|
|
PHP_FUNCTION(mysqli_affected_rows);
|
|
PHP_FUNCTION(mysqli_autocommit);
|
|
PHP_FUNCTION(mysqli_begin_transaction);
|
|
PHP_FUNCTION(mysqli_change_user);
|
|
PHP_FUNCTION(mysqli_character_set_name);
|
|
PHP_FUNCTION(mysqli_set_charset);
|
|
PHP_FUNCTION(mysqli_close);
|
|
PHP_FUNCTION(mysqli_commit);
|
|
PHP_FUNCTION(mysqli_connect);
|
|
PHP_FUNCTION(mysqli_connect_errno);
|
|
PHP_FUNCTION(mysqli_connect_error);
|
|
PHP_FUNCTION(mysqli_data_seek);
|
|
PHP_FUNCTION(mysqli_debug);
|
|
PHP_FUNCTION(mysqli_dump_debug_info);
|
|
PHP_FUNCTION(mysqli_errno);
|
|
PHP_FUNCTION(mysqli_error);
|
|
PHP_FUNCTION(mysqli_error_list);
|
|
PHP_FUNCTION(mysqli_fetch_all);
|
|
PHP_FUNCTION(mysqli_fetch_array);
|
|
PHP_FUNCTION(mysqli_fetch_assoc);
|
|
PHP_FUNCTION(mysqli_fetch_object);
|
|
PHP_FUNCTION(mysqli_fetch_field);
|
|
PHP_FUNCTION(mysqli_fetch_fields);
|
|
PHP_FUNCTION(mysqli_fetch_field_direct);
|
|
PHP_FUNCTION(mysqli_fetch_lengths);
|
|
PHP_FUNCTION(mysqli_fetch_row);
|
|
PHP_FUNCTION(mysqli_field_count);
|
|
PHP_FUNCTION(mysqli_field_seek);
|
|
PHP_FUNCTION(mysqli_field_tell);
|
|
PHP_FUNCTION(mysqli_free_result);
|
|
PHP_FUNCTION(mysqli_get_client_stats);
|
|
PHP_FUNCTION(mysqli_get_connection_stats);
|
|
PHP_FUNCTION(mysqli_get_charset);
|
|
PHP_FUNCTION(mysqli_get_client_info);
|
|
PHP_FUNCTION(mysqli_get_client_version);
|
|
PHP_FUNCTION(mysqli_get_host_info);
|
|
PHP_FUNCTION(mysqli_get_links_stats);
|
|
PHP_FUNCTION(mysqli_get_proto_info);
|
|
PHP_FUNCTION(mysqli_get_server_info);
|
|
PHP_FUNCTION(mysqli_get_server_version);
|
|
PHP_FUNCTION(mysqli_get_warnings);
|
|
PHP_FUNCTION(mysqli_info);
|
|
PHP_FUNCTION(mysqli_insert_id);
|
|
PHP_FUNCTION(mysqli_init);
|
|
PHP_FUNCTION(mysqli_init_method);
|
|
PHP_FUNCTION(mysqli_kill);
|
|
PHP_FUNCTION(mysqli_link_construct);
|
|
PHP_FUNCTION(mysqli_set_local_infile_default);
|
|
PHP_FUNCTION(mysqli_set_local_infile_handler);
|
|
PHP_FUNCTION(mysqli_more_results);
|
|
PHP_FUNCTION(mysqli_multi_query);
|
|
PHP_FUNCTION(mysqli_next_result);
|
|
PHP_FUNCTION(mysqli_num_fields);
|
|
PHP_FUNCTION(mysqli_num_rows);
|
|
PHP_FUNCTION(mysqli_options);
|
|
PHP_FUNCTION(mysqli_ping);
|
|
PHP_FUNCTION(mysqli_poll);
|
|
PHP_FUNCTION(mysqli_prepare);
|
|
PHP_FUNCTION(mysqli_query);
|
|
PHP_FUNCTION(mysqli_stmt_result_metadata);
|
|
PHP_FUNCTION(mysqli_report);
|
|
PHP_FUNCTION(mysqli_read_query_result);
|
|
PHP_FUNCTION(mysqli_real_connect);
|
|
PHP_FUNCTION(mysqli_real_query);
|
|
PHP_FUNCTION(mysqli_real_escape_string);
|
|
PHP_FUNCTION(mysqli_reap_async_query);
|
|
PHP_FUNCTION(mysqli_rollback);
|
|
PHP_FUNCTION(mysqli_row_seek);
|
|
PHP_FUNCTION(mysqli_select_db);
|
|
PHP_FUNCTION(mysqli_stmt_attr_get);
|
|
PHP_FUNCTION(mysqli_stmt_attr_set);
|
|
PHP_FUNCTION(mysqli_stmt_bind_param);
|
|
PHP_FUNCTION(mysqli_stmt_bind_result);
|
|
PHP_FUNCTION(mysqli_stmt_execute);
|
|
PHP_FUNCTION(mysqli_stmt_field_count);
|
|
PHP_FUNCTION(mysqli_stmt_init);
|
|
PHP_FUNCTION(mysqli_stmt_prepare);
|
|
PHP_FUNCTION(mysqli_stmt_fetch);
|
|
PHP_FUNCTION(mysqli_stmt_param_count);
|
|
PHP_FUNCTION(mysqli_stmt_send_long_data);
|
|
PHP_FUNCTION(mysqli_embedded_server_end);
|
|
PHP_FUNCTION(mysqli_embedded_server_start);
|
|
PHP_FUNCTION(mysqli_sqlstate);
|
|
PHP_FUNCTION(mysqli_ssl_set);
|
|
PHP_FUNCTION(mysqli_stat);
|
|
PHP_FUNCTION(mysqli_refresh);
|
|
PHP_FUNCTION(mysqli_savepoint);
|
|
PHP_FUNCTION(mysqli_release_savepoint);
|
|
PHP_FUNCTION(mysqli_stmt_affected_rows);
|
|
PHP_FUNCTION(mysqli_stmt_close);
|
|
PHP_FUNCTION(mysqli_stmt_data_seek);
|
|
PHP_FUNCTION(mysqli_stmt_errno);
|
|
PHP_FUNCTION(mysqli_stmt_error);
|
|
PHP_FUNCTION(mysqli_stmt_error_list);
|
|
PHP_FUNCTION(mysqli_stmt_free_result);
|
|
PHP_FUNCTION(mysqli_stmt_get_result);
|
|
PHP_FUNCTION(mysqli_stmt_get_warnings);
|
|
PHP_FUNCTION(mysqli_stmt_reset);
|
|
PHP_FUNCTION(mysqli_stmt_insert_id);
|
|
PHP_FUNCTION(mysqli_stmt_more_results);
|
|
PHP_FUNCTION(mysqli_stmt_next_result);
|
|
PHP_FUNCTION(mysqli_stmt_num_rows);
|
|
PHP_FUNCTION(mysqli_stmt_sqlstate);
|
|
PHP_FUNCTION(mysqli_stmt_store_result);
|
|
PHP_FUNCTION(mysqli_store_result);
|
|
PHP_FUNCTION(mysqli_thread_id);
|
|
PHP_FUNCTION(mysqli_thread_safe);
|
|
PHP_FUNCTION(mysqli_use_result);
|
|
PHP_FUNCTION(mysqli_warning_count);
|
|
|
|
PHP_FUNCTION(mysqli_stmt_construct);
|
|
PHP_FUNCTION(mysqli_result_construct);
|
|
PHP_FUNCTION(mysqli_driver_construct);
|
|
PHP_METHOD(mysqli_warning,__construct);
|
|
|
|
#endif /* MYSQLI_FE_H */
|