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.
php_resource_factory Struct Reference

The resource factory. More...

#include <php_raphf_api.h>

Collaboration diagram for php_resource_factory:

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...
 

Detailed Description

The resource factory.

Field Documentation

void(* php_resource_factory::dtor) (void *data)
unsigned php_resource_factory::refcount

How often this factory is referenced.

Referenced by php_resource_factory_addref(), php_resource_factory_dtor(), and php_resource_factory_init().


The documentation for this struct was generated from the following file: