X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pq_misc.h;h=b7438de45186a6bc0ebebc19e253216d2d34acc1;hp=3ce172d666d20083e08f79facd6e60409f9f0ed6;hb=9e37136f3b7f6d2d2d35b5626cd56dab0d5acce3;hpb=fad4fe6a60c56ad5d5752e10abd1085884cc09c2 diff --git a/src/php_pq_misc.h b/src/php_pq_misc.h index 3ce172d..b7438de 100644 --- a/src/php_pq_misc.h +++ b/src/php_pq_misc.h @@ -33,7 +33,12 @@ int compare_index(const void *lptr, const void *rptr TSRMLS_DC); int php_pq_types_to_array(HashTable *ht, Oid **types TSRMLS_DC); int php_pq_params_to_array(HashTable *ht, char ***params, HashTable *zdtor TSRMLS_DC); -zval *php_pq_date_from_string(char *datetime_str, size_t datetime_len, zval *zv TSRMLS_DC); +zend_class_entry *php_pqdt_class_entry; +zval *php_pqdt_from_string(char *datetime_str, size_t datetime_len, char *fmt, zval *zv TSRMLS_DC); + +HashTable *php_pq_parse_array(const char *val_str, size_t val_len TSRMLS_DC); + +PHP_MINIT_FUNCTION(pq_misc); #endif