summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_result.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-05-13 15:29:08 +0000
committerAndrey Hristov <andrey@php.net>2010-05-13 15:29:08 +0000
commita78fa3fcaf92f2e668262480d0384acb60be1420 (patch)
tree0a8abe44398215360517f779b45b4693fef5737e /ext/mysqlnd/mysqlnd_result.h
parent90f16527af81a49765e2906403590c3c466452f8 (diff)
downloadphp-git-a78fa3fcaf92f2e668262480d0384acb60be1420.tar.gz
- initialize some variables
- initialize the methods in a shorter way, use the compiler. = on structures copies them. Allows also exportability of the methods.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_result.h')
-rw-r--r--ext/mysqlnd/mysqlnd_result.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_result.h b/ext/mysqlnd/mysqlnd_result.h
index 0ab72233e7..7228a53ae1 100644
--- a/ext/mysqlnd/mysqlnd_result.h
+++ b/ext/mysqlnd/mysqlnd_result.h
@@ -24,6 +24,7 @@
#define MYSQLND_RESULT_H
PHPAPI MYSQLND_RES * mysqlnd_result_init(unsigned int field_count, zend_bool persistent TSRMLS_DC);
+PHPAPI struct st_mysqlnd_res_methods * mysqlnd_result_get_methods();
enum_func_status mysqlnd_query_read_result_set_header(MYSQLND * conn, MYSQLND_STMT * stmt TSRMLS_DC);