$70 GRAYBYTE WORDPRESS FILE MANAGER $98

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/php73/usr/include/php/ext/mysqlnd/

HOME
Current File : /opt/alt/php73/usr/include/php/ext/mysqlnd//mysqlnd_connection.h
/*
  +----------------------------------------------------------------------+
  | PHP Version 7                                                        |
  +----------------------------------------------------------------------+
  | Copyright (c) 2006-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.               |
  +----------------------------------------------------------------------+
  | Authors: Andrey Hristov <andrey@php.net>                             |
  |          Ulf Wendel <uw@php.net>                                     |
  +----------------------------------------------------------------------+
*/

#ifndef MYSQLND_CONNECTION_H
#define MYSQLND_CONNECTION_H

PHPAPI extern const char * const mysqlnd_out_of_sync;
PHPAPI extern const char * const mysqlnd_server_gone;
PHPAPI extern const char * const mysqlnd_out_of_memory;


void mysqlnd_upsert_status_init(MYSQLND_UPSERT_STATUS * const upsert_status);

#define UPSERT_STATUS_RESET(status)							(status)->m->reset((status))

#define UPSERT_STATUS_GET_SERVER_STATUS(status)				(status)->server_status
#define UPSERT_STATUS_SET_SERVER_STATUS(status, server_st)	(status)->server_status = (server_st)

#define UPSERT_STATUS_GET_WARNINGS(status)					(status)->warning_count
#define UPSERT_STATUS_SET_WARNINGS(status, warnings)		(status)->warning_count = (warnings)

#define UPSERT_STATUS_GET_AFFECTED_ROWS(status)				(status)->affected_rows
#define UPSERT_STATUS_SET_AFFECTED_ROWS(status, rows)		(status)->affected_rows = (rows)
#define UPSERT_STATUS_SET_AFFECTED_ROWS_TO_ERROR(status)	(status)->m->set_affected_rows_to_error((status))

#define UPSERT_STATUS_GET_LAST_INSERT_ID(status)			(status)->last_insert_id
#define UPSERT_STATUS_SET_LAST_INSERT_ID(status, id)		(status)->last_insert_id = (id)


/* Error handling */
#define SET_NEW_MESSAGE(buf, buf_len, message, len) \
	{\
		if ((buf)) { \
			mnd_efree((buf)); \
		} \
		if ((message)) { \
			(buf) = mnd_pestrndup((message), (len), 0); \
		} else { \
			(buf) = NULL; \
		} \
		(buf_len) = (len); \
	}

#define SET_EMPTY_MESSAGE(buf, buf_len) \
	{\
		if ((buf)) { \
			mnd_efree((buf)); \
			(buf) = NULL; \
		} \
		(buf_len) = 0; \
	}


PHPAPI enum_func_status mysqlnd_error_info_init(MYSQLND_ERROR_INFO * const info, const zend_bool persistent);
PHPAPI void	mysqlnd_error_info_free_contents(MYSQLND_ERROR_INFO * const info);

#define GET_CONNECTION_STATE(state_struct)		(state_struct)->m->get((state_struct))
#define SET_CONNECTION_STATE(state_struct, s)	(state_struct)->m->set((state_struct), (s))

PHPAPI void mysqlnd_connection_state_init(struct st_mysqlnd_connection_state * const state);

#endif /* MYSQLND_CONNECTION_H */

/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 * vim600: noet sw=4 ts=4 fdm=marker
 * vim<600: noet sw=4 ts=4
 */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
13 Aug 2025 1.54 AM
root / 996
0755
config-win.h
3.233 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysql_float_to_double.h
2.115 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd.h
18.918 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_alloc.h
4.842 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_auth.h
4.461 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_block_alloc.h
1.692 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_charset.h
2.354 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_commands.h
1.451 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_connection.h
3.299 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_debug.h
9.962 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_enum_n_def.h
20.762 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_ext_plugin.h
8.26 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_libmysql_compat.h
7.415 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_plugin.h
1.579 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_portability.h
16.707 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_priv.h
2.35 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_protocol_frame_codec.h
1.729 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_ps.h
2.375 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_read_buffer.h
1.349 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_result.h
1.976 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_result_meta.h
1.784 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_reverse_api.h
1.965 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_statistics.h
5.131 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_structs.h
59.49 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_vio.h
1.673 KB
18 Jul 2025 7.24 AM
root / 996
0644
mysqlnd_wireprotocol.h
9.559 KB
18 Jul 2025 7.24 AM
root / 996
0644
php_mysqlnd.h
1.478 KB
18 Jul 2025 7.24 AM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF