X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqconn.h;h=1eb9b7b61297423eb56e73dd69e05b57d00f8cdd;hp=65c1278e133a67a66a8963a611c2490104cf5ab7;hb=13b06e992c066b4cf1f381273b4f5f5e15764293;hpb=cb69b6218d9d6e789527b3bd62c3cc37686547a3 diff --git a/src/php_pqconn.h b/src/php_pqconn.h index 65c1278..1eb9b7b 100644 --- a/src/php_pqconn.h +++ b/src/php_pqconn.h @@ -20,6 +20,7 @@ #include #include "php_pq_object.h" #include "php_pq_callback.h" +#include "php_pq_object.h" #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; + HashTable statements; 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; - ulong flags; + uint32_t flags; } php_pqconn_resource_factory_data_t; extern php_resource_factory_ops_t *php_pqconn_get_resource_factory_ops(void);