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 +--------------------------------------------------------------------+
17 #include "php_pqconn.h"
19 typedef enum php_pqcopy_direction
{
20 PHP_PQCOPY_FROM_STDIN
,
22 } php_pqcopy_direction_t
;
24 typedef enum php_pqcopy_status
{
28 } php_pqcopy_status_t
;
30 typedef struct php_pqcopy
{
31 php_pqcopy_direction_t direction
;
34 php_pqconn_object_t
*conn
;
37 typedef struct php_pqcopy_object
{
38 PHP_PQ_OBJ_DECL(php_pqcopy_t
*)
39 } php_pqcopy_object_t
;
41 extern zend_class_entry
*php_pqcopy_class_entry
;
42 extern php_pqcopy_object_t
*php_pqcopy_create_object_ex(zend_class_entry
*ce
, php_pqcopy_t
*intern
);
44 extern PHP_MINIT_FUNCTION(pqcopy
);
45 extern PHP_MSHUTDOWN_FUNCTION(pqcopy
);
54 * vim600: noet sw=4 ts=4 fdm=marker
55 * vim<600: noet sw=4 ts=4