mirror of
https://github.com/php/pecl-database-mysql_xdevapi.git
synced 2026-03-23 23:02:08 +01:00
47 lines
1.7 KiB
C++
47 lines
1.7 KiB
C++
/*
|
|
+----------------------------------------------------------------------+
|
|
| PHP Version 7 |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 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> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
#ifndef MYSQLX_ROW_RESULT_H
|
|
#define MYSQLX_ROW_RESULT_H
|
|
|
|
#include "util/allocator.h"
|
|
#include "util/value.h"
|
|
|
|
namespace mysqlx {
|
|
|
|
namespace drv {
|
|
struct st_xmysqlnd_stmt_result;
|
|
}
|
|
|
|
namespace devapi {
|
|
|
|
struct st_mysqlx_row_result : public util::custom_allocable
|
|
{
|
|
~st_mysqlx_row_result();
|
|
drv::st_xmysqlnd_stmt_result* result;
|
|
};
|
|
|
|
util::zvalue create_row_result(drv::st_xmysqlnd_stmt_result* result);
|
|
void mysqlx_register_row_result_class(INIT_FUNC_ARGS, zend_object_handlers* mysqlx_std_object_handlers);
|
|
void mysqlx_unregister_row_result_class(SHUTDOWN_FUNC_ARGS);
|
|
|
|
} // namespace devapi
|
|
|
|
} // namespace mysqlx
|
|
|
|
#endif /* MYSQLX_ROW_RESULT_H */
|