X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_persistent_handle.h;h=b94cafe70e15556454e952889e9f4a1678810a6d;hp=19b84b751f74de259127789da022c7714dd53756;hb=f05a032e5e994a8b1ea8b5ab0291f1d1d6d42355;hpb=8d05291f42b3b42159b3fe91492aa4862f3d4405 diff --git a/php_http_persistent_handle.h b/php_http_persistent_handle.h index 19b84b7..b94cafe 100644 --- a/php_http_persistent_handle.h +++ b/php_http_persistent_handle.h @@ -13,8 +13,6 @@ #ifndef PHP_HTTP_PERSISTENT_HANDLE_H #define PHP_HTTP_PERSISTENT_HANDLE_H -#include "php_http_resource_factory.h" - typedef struct php_http_persistent_handle_factory { void *provider; @@ -45,15 +43,11 @@ PHP_HTTP_API void *php_http_persistent_handle_acquire(php_http_persistent_handle PHP_HTTP_API void php_http_persistent_handle_release(php_http_persistent_handle_factory_t *a, void *handle TSRMLS_DC); PHP_HTTP_API void *php_http_persistent_handle_accrete(php_http_persistent_handle_factory_t *a, void *handle TSRMLS_DC); -PHP_HTTP_API php_http_resource_factory_ops_t *php_http_persistnet_handle_factory_ops(void); +PHP_HTTP_API php_http_resource_factory_ops_t *php_http_persistent_handle_resource_factory_ops(void); PHP_HTTP_API void php_http_persistent_handle_cleanup(const char *name_str, size_t name_len, const char *ident_str, size_t ident_len TSRMLS_DC); PHP_HTTP_API HashTable *php_http_persistent_handle_statall(HashTable *ht TSRMLS_DC); -PHP_HTTP_API STATUS php_http_persistent_handle_acquire2(const char *name_str, size_t name_len, const char *ident_str, size_t ident_len, void **handle TSRMLS_DC); -PHP_HTTP_API STATUS php_http_persistent_handle_release2(const char *name_str, size_t name_len, const char *ident_str, size_t ident_len, void **handle TSRMLS_DC); -PHP_HTTP_API STATUS php_http_persistent_handle_accrete2(const char *name_str, size_t name_len, const char *ident_str, size_t ident_len, void *old_handle, void **new_handle TSRMLS_DC); - #endif /* PHP_HTTP_PERSISTENT_HANDLE_H */ /*