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.
|
The resource factory. More...
#include <php_raphf.h>
Data Fields | |
php_resource_factory_ops_t | fops |
The resource ops. More... | |
void * | data |
Opaque user data. More... | |
void(* | dtor )(void *data) |
User data destructor. More... | |
unsigned | refcount |
How often this factory is referenced. More... | |
The resource factory.
void* php_resource_factory::data |
Opaque user data.
void(* php_resource_factory::dtor)(void *data) |
User data destructor.
php_resource_factory_ops_t php_resource_factory::fops |
The resource ops.
unsigned php_resource_factory::refcount |
How often this factory is referenced.