better checks for json support
[m6w6/ext-pq] / src / php_pqstm.h
index 07428593cb3f9b21dd13f93419758ea8d23fcfbf..e40420c4f9a94657d2ea6a5b9148ed1fee2e0677 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2013, Michael Wallner <mike@php.net>                |
+    | Copyright (c) 2013, Michael Wallner <mike@php.net>                 |
     +--------------------------------------------------------------------+
 */
 
@@ -20,6 +20,7 @@ typedef struct php_pqstm {
        php_pqconn_object_t *conn;
        char *name;
        HashTable bound;
+       php_pq_params_t *params;
 } php_pqstm_t;
 
 typedef struct php_pqstm_object {
@@ -33,6 +34,7 @@ zend_class_entry *php_pqstm_class_entry;
 zend_object_value php_pqstm_create_object_ex(zend_class_entry *ce, php_pqstm_t *intern, php_pqstm_object_t **ptr TSRMLS_DC);
 
 PHP_MINIT_FUNCTION(pqstm);
+PHP_MSHUTDOWN_FUNCTION(pqstm);
 
 #endif