make the pool functional again
[m6w6/ext-http] / php_http_request_factory.h
index 881025a846c74fd5ff6c0120987ab09121d3c898..fd6a09257ab33f2b6c376194c6a8beb895171664 100644 (file)
@@ -1,11 +1,24 @@
+/*
+    +--------------------------------------------------------------------+
+    | PECL :: http                                                       |
+    +--------------------------------------------------------------------+
+    | Redistribution and use in source and binary forms, with or without |
+    | modification, are permitted provided that the conditions mentioned |
+    | in the accompanying LICENSE file are met.                          |
+    +--------------------------------------------------------------------+
+    | Copyright (c) 2004-2011, Michael Wallner <mike@php.net>            |
+    +--------------------------------------------------------------------+
+*/
+
 #ifndef PHP_HTTP_REQUEST_FACTORY_H
 #define PHP_HTTP_REQUEST_FACTORY_H
 
 #include "php_http_request.h"
 #include "php_http_request_pool.h"
+#include "php_http_request_datashare.h"
 
 typedef struct php_http_request_factory_driver {
-       php_http_request_ops_t *request_ops;
+       php_http_client_ops_t *request_ops;
        php_http_request_pool_ops_t *request_pool_ops;
        php_http_request_datashare_ops_t *request_datashare_ops;
 } php_http_request_factory_driver_t;
@@ -30,3 +43,13 @@ extern PHP_MINIT_FUNCTION(http_request_factory);
 extern PHP_MSHUTDOWN_FUNCTION(http_request_factory);
 
 #endif /* PHP_HTTP_REQUEST_FACTORY_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
+