typo
[m6w6/ext-pq] / src / php_pqconn_event.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: pq |
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 +--------------------------------------------------------------------+
11 */
12
13
14 #ifndef PHP_PQCONN_EVENT_H
15 #define PHP_PQCONN_EVENT_H
16
17 #include <libpq-events.h>
18
19 #include "php_pqconn.h"
20
21 typedef struct php_pqconn_event_data {
22 php_pqconn_object_t *obj;
23 #ifdef ZTS
24 void ***ts;
25 #endif
26 } php_pqconn_event_data_t;
27
28 php_pqconn_event_data_t *php_pqconn_event_data_init(php_pqconn_object_t *obj TSRMLS_DC);
29 void php_pqconn_notice_recv(void *p, const PGresult *res);
30 void php_pqconn_notice_ignore(void *p, const PGresult *res);
31 int php_pqconn_event(PGEventId id, void *e, void *data);
32
33 #endif
34
35 /*
36 * Local variables:
37 * tab-width: 4
38 * c-basic-offset: 4
39 * End:
40 * vim600: noet sw=4 ts=4 fdm=marker
41 * vim<600: noet sw=4 ts=4
42 */