projects
/
m6w6
/
ext-pq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix stream for php <= 7.3
[m6w6/ext-pq]
/
src
/
php_pqconn.h
diff --git
a/src/php_pqconn.h
b/src/php_pqconn.h
index 65c1278e133a67a66a8963a611c2490104cf5ab7..015d9f552c47ef60951a6ba99991c70f445af2ce 100644
(file)
--- a/
src/php_pqconn.h
+++ b/
src/php_pqconn.h
@@
-20,6
+20,7
@@
#include <ext/raphf/php_raphf.h>
#include "php_pq_object.h"
#include "php_pq_callback.h"
#include <ext/raphf/php_raphf.h>
#include "php_pq_object.h"
#include "php_pq_callback.h"
+#include "php_pq_object.h"
#include "php_pq_params.h"
typedef struct php_pqconn {
#include "php_pq_params.h"
typedef struct php_pqconn {
@@
-27,6
+28,7
@@
typedef struct php_pqconn {
int (*poller)(PGconn *);
php_resource_factory_t factory;
HashTable listeners;
int (*poller)(PGconn *);
php_resource_factory_t factory;
HashTable listeners;
+ HashTable statements;
HashTable converters;
HashTable eventhandlers;
php_pq_callback_t onevent;
HashTable converters;
HashTable eventhandlers;
php_pq_callback_t onevent;
@@
-44,7
+46,7
@@
typedef struct php_pqconn_object {
typedef struct php_pqconn_resource_factory_data {
char *dsn;
typedef struct php_pqconn_resource_factory_data {
char *dsn;
- ulong flags;
+ u
nsigned
long flags;
} php_pqconn_resource_factory_data_t;
extern php_resource_factory_ops_t *php_pqconn_get_resource_factory_ops(void);
} php_pqconn_resource_factory_data_t;
extern php_resource_factory_ops_t *php_pqconn_get_resource_factory_ops(void);