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 +--------------------------------------------------------------------+
13 #ifndef PHP_PQ_PARAMS_H
14 #define PHP_PQ_PARAMS_H
16 typedef struct php_pq_params
{
29 extern php_pq_params_t
*php_pq_params_init(HashTable
*conv
, HashTable
*oids
, HashTable
*params
);
30 extern void php_pq_params_free(php_pq_params_t
**p
);
31 extern unsigned php_pq_params_set_params(php_pq_params_t
*p
, HashTable
*params
);
32 extern unsigned php_pq_params_set_type_oids(php_pq_params_t
*p
, HashTable
*oids
);
33 extern unsigned php_pq_params_add_type_oid(php_pq_params_t
*p
, Oid type
);
34 extern unsigned php_pq_params_add_param(php_pq_params_t
*p
, zval
*param
);
35 extern void php_pq_params_set_type_conv(php_pq_params_t
*p
, HashTable
*conv
);
44 * vim600: noet sw=4 ts=4 fdm=marker
45 * vim<600: noet sw=4 ts=4