X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=html%2Fstructphp__persistent__handle__factory.html;fp=html%2Fstructphp__persistent__handle__factory.html;h=e4334f5ee0af3c5f63f7f48121c5f155e60752eb;hb=31eab30b1296b8035c247dc4819dcb6da41bd838;hp=0000000000000000000000000000000000000000;hpb=c35c0bddcfac6e5bcd41949d401cc4d7cd98b4e3;p=m6w6%2Fext-raphf diff --git a/html/structphp__persistent__handle__factory.html b/html/structphp__persistent__handle__factory.html new file mode 100644 index 0000000..e4334f5 --- /dev/null +++ b/html/structphp__persistent__handle__factory.html @@ -0,0 +1,267 @@ + + +
+ + + +![]() |
+
+ Resource and persistent handle factory API
+
+ A facility to manage possibly persistent resources with a comprehensible API. Provides simliar functionality like the zend_list API, but with more flexiblity and freedom.
+ |
+
Definition of a persistent handle factory. + More...
+ +#include <php_raphf.h>
+Data Fields | |
php_persistent_handle_provider_t * | provider |
The persistent handle provider. More... | |
php_persistent_handle_wakeup_t | wakeup |
The persistent handle wakeup routine; may be NULL. More... | |
php_persistent_handle_retire_t | retire |
The persistent handle retire routine; may be NULL. More... | |
struct { | |
char * str | |
ident string More... | |
size_t len | |
ident length More... | |
} | ident |
The ident for which this factory manages resources. More... | |
unsigned | free_on_abandon:1 |
Whether it has to be free'd on php_persistent_handle_abandon() More... | |
Definition of a persistent handle factory.
+php_persistent_handle_concede() will return a pointer to a php_persistent_handle_factory if a provider for the name_str has been registered with php_persistent_handle_provide().
+unsigned php_persistent_handle_factory::free_on_abandon | +
Whether it has to be free'd on php_persistent_handle_abandon()
+ +struct { ... } php_persistent_handle_factory::ident | +
The ident for which this factory manages resources.
+ +size_t php_persistent_handle_factory::len | +
ident length
+ +php_persistent_handle_provider_t* php_persistent_handle_factory::provider | +
The persistent handle provider.
+ +php_persistent_handle_retire_t php_persistent_handle_factory::retire | +
The persistent handle retire routine; may be NULL.
+ +char* php_persistent_handle_factory::str | +
ident string
+ +php_persistent_handle_wakeup_t php_persistent_handle_factory::wakeup | +
The persistent handle wakeup routine; may be NULL.
+ +