Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Files | Macros | Functions

Files

file  afw_pool_impl_declares.h
 Interface afw_interface implementation declares.
 

Macros

#define __AFW_POOL_IMPL_DECLARES_H__   1
 
#define _AFW_IMPLEMENTATION_ID_   "unspecified"
 
#define _AFW_IMPLEMENTATION_SPECIFIC_   NULL
 
#define _AFW_IMPLEMENTATION_SOURCE_FILE_   __FILE__
 

Functions

 impl_afw_pool_release (const afw_pool_t *instance, afw_xctx_t *xctx)
 
 impl_afw_pool_add_reference (const afw_pool_t *instance, afw_xctx_t *xctx)
 
 impl_afw_pool_destroy (const afw_pool_t *instance, afw_xctx_t *xctx)
 
 impl_afw_pool_get_apr_pool (const afw_pool_t *instance)
 
 impl_afw_pool_calloc (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
 
 impl_afw_pool_malloc (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
 
 impl_afw_pool_free (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx)
 
 impl_afw_pool_register_cleanup_before (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
 
 impl_afw_pool_deregister_cleanup (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
 
 impl_afw_pool_release_debug (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_add_reference_debug (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_destroy_debug (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_calloc_debug (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_malloc_debug (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_free_debug (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_register_cleanup_before_debug (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
 impl_afw_pool_deregister_cleanup_debug (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 

Detailed Description

This file should only be included in c source files that implement interface afw_pool.

You can find a skeleton for using this #include file in the corresponding source directory in file generated/interface_closet/skeleton_afw_pool.c.

Mutiple *_impl.declares.h can be included in each c source file, but only one for each interface name.

After the #include for afw_pool_impl_declares.h:

  1. declarations will exist for all of the interfaces methods with names of impl_afw_pool_ followed by the method name.
  2. rti will be defined with a name of impl_afw_pool_rti.
  3. inf will be defined with a name of impl_afw_pool_inf.

Before including, define the following symbols:

Example:

static const sometype_t impl_myimpl_stuff = {
...
};
#define AFW_IMPLEMENTATION_ID "myimpl"
#define AFW_IMPLEMENTATION_SPECIFIC &impl_myimpl_stuff
A second #include "afw_pool_impl_declares.h" can be specified if
" * #define "AFW_POOL_INF_ONLY" is specified to generate inf only."
Interface afw_interface implementation declares.

Function Documentation

◆ impl_afw_pool_free()

impl_afw_pool_free ( const afw_pool_t instance,
void *  address,
afw_size_t  size,
afw_xctx_t xctx 
)
Todo:
Add code to implement method.
Todo:
Add code to implement method.

Definition at line 415 of file afw_pool_multithreaded.c.

◆ impl_afw_pool_get_apr_pool()

impl_afw_pool_get_apr_pool ( const afw_pool_t instance)
Todo:
FIXME: do something.
Todo:
FIXME: do something.

Definition at line 326 of file afw_pool_multithreaded.c.

◆ impl_afw_pool_release()

impl_afw_pool_release ( const afw_pool_t instance,
afw_xctx_t xctx 
)
Todo:
FIXME: This should probably go away.
Todo:
FIXME: This should probably go away.

Definition at line 242 of file afw_pool_multithreaded.c.