* use the resource factory
[m6w6/ext-http] / php_http_neon.h
index 96b7d0d8ac3acf87c83b3976e92d652329881dde..dd4ff9831548658c815231ba069b7d23680ae254 100644 (file)
@@ -6,4 +6,11 @@ php_http_request_ops_t *php_http_neon_get_request_ops(void);
 PHP_MINIT_FUNCTION(http_neon);
 PHP_MSHUTDOWN_FUNCTION(http_neon);
 
+extern zend_class_entry *php_http_neon_class_entry;
+extern zend_function_entry php_http_neon_method_entry[];
+
+#define php_http_neon_new php_http_object_new
+
+PHP_METHOD(HttpNEON, __construct);
+
 #endif /* PHP_HTTP_NEON_H */