2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2013, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
14 #ifndef PHP_PQCANCEL_H
15 #define PHP_PQCANCEL_H
17 #include "php_pqconn.h"
19 typedef struct php_pqcancel
{
21 php_pqconn_object_t
*conn
;
24 typedef struct php_pqcancel_object
{
27 HashTable
*prophandler
;
28 php_pqcancel_t
*intern
;
29 } php_pqcancel_object_t
;
31 extern zend_class_entry
*php_pqcancel_class_entry
;
32 extern zend_object_value
php_pqcancel_create_object_ex(zend_class_entry
*ce
, php_pqcancel_t
*intern
, php_pqcancel_object_t
**ptr TSRMLS_DC
);
34 extern PHP_MINIT_FUNCTION(pqcancel
);
35 extern PHP_MSHUTDOWN_FUNCTION(pqcancel
);
44 * vim600: noet sw=4 ts=4 fdm=marker
45 * vim<600: noet sw=4 ts=4