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

Modules

 afw_pool
 

Data Structures

struct  afw_pool_s
 Interface afw_pool public struct. More...
 
struct  afw_pool_inf_s
 Interface afw_pool_inf_s struct. More...
 

Macros

#define AFW_POOL_INTERFACE_NAME   "afw_pool"
 define for interface afw_pool name.
 
#define afw_pool_release(instance, xctx)
 Call method release of interface afw_pool. More...
 
#define afw_pool_add_reference(instance, xctx)
 Call method add_reference of interface afw_pool. More...
 
#define afw_pool_destroy(instance, xctx)
 Call method destroy of interface afw_pool. More...
 
#define afw_pool_get_apr_pool(instance)
 Call method get_apr_pool of interface afw_pool. More...
 
#define afw_pool_calloc(instance, size, xctx)
 Call method calloc of interface afw_pool. More...
 
#define afw_pool_malloc(instance, size, xctx)
 Call method malloc of interface afw_pool. More...
 
#define afw_pool_free(instance, address, size, xctx)
 Call method free of interface afw_pool. More...
 
#define afw_pool_register_cleanup_before(instance, data, data2, cleanup, xctx)
 Call method register_cleanup_before of interface afw_pool. More...
 
#define afw_pool_deregister_cleanup(instance, data, data2, cleanup, xctx)
 Call method deregister_cleanup of interface afw_pool. More...
 
#define afw_pool_release_debug(instance, xctx, source_z)
 Call method release_debug of interface afw_pool. More...
 
#define afw_pool_add_reference_debug(instance, xctx, source_z)
 Call method add_reference_debug of interface afw_pool. More...
 
#define afw_pool_destroy_debug(instance, xctx, source_z)
 Call method destroy_debug of interface afw_pool. More...
 
#define afw_pool_calloc_debug(instance, size, xctx, source_z)
 Call method calloc_debug of interface afw_pool. More...
 
#define afw_pool_malloc_debug(instance, size, xctx, source_z)
 Call method malloc_debug of interface afw_pool. More...
 
#define afw_pool_free_debug(instance, address, size, xctx, source_z)
 Call method free_debug of interface afw_pool. More...
 
#define afw_pool_register_cleanup_before_debug(instance, data, data2, cleanup, xctx, source_z)
 Call method register_cleanup_before_debug of interface afw_pool. More...
 
#define afw_pool_deregister_cleanup_debug(instance, data, data2, cleanup, xctx, source_z)
 Call method deregister_cleanup_debug of interface afw_pool. More...
 

Typedefs

typedef void(* afw_pool_release_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_pool_add_reference_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
 
typedef void(* afw_pool_destroy_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
 
typedef apr_pool_t *(* afw_pool_get_apr_pool_t) (const afw_pool_t *instance)
 
typedef void *(* afw_pool_calloc_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
 
typedef void *(* afw_pool_malloc_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
 
typedef void(* afw_pool_free_t) (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx)
 
typedef void(* afw_pool_register_cleanup_before_t) (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
 
typedef void(* afw_pool_deregister_cleanup_t) (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
 
typedef void(* afw_pool_release_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void(* afw_pool_add_reference_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void(* afw_pool_destroy_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void *(* afw_pool_calloc_debug_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void *(* afw_pool_malloc_debug_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void(* afw_pool_free_debug_t) (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
 
typedef void(* afw_pool_register_cleanup_before_debug_t) (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)
 
typedef void(* afw_pool_deregister_cleanup_debug_t) (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

Adaptive framework pool interface.

Macro Definition Documentation

◆ afw_pool_add_reference

#define afw_pool_add_reference (   instance,
  xctx 
)
Value:
(instance)->inf->add_reference( \
(instance), \
(xctx) \
)

Call method add_reference of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.

Definition at line 4717 of file afw_interface.h.

◆ afw_pool_add_reference_debug

#define afw_pool_add_reference_debug (   instance,
  xctx,
  source_z 
)
Value:
(instance)->inf->add_reference_debug( \
(instance), \
(xctx), \
(source_z) \
)

Call method add_reference_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4874 of file afw_interface.h.

◆ afw_pool_calloc

#define afw_pool_calloc (   instance,
  size,
  xctx 
)
Value:
(instance)->inf->calloc( \
(instance), \
(size), \
(xctx) \
)

Call method calloc of interface afw_pool.

Parameters
instancePointer to this pool instance.
sizeSize of memory to allocate.
xctxThis is the caller's xctx.

Definition at line 4757 of file afw_interface.h.

◆ afw_pool_calloc_debug

#define afw_pool_calloc_debug (   instance,
  size,
  xctx,
  source_z 
)
Value:
(instance)->inf->calloc_debug( \
(instance), \
(size), \
(xctx), \
(source_z) \
)

Call method calloc_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
sizeSize of memory to allocate.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4909 of file afw_interface.h.

◆ afw_pool_deregister_cleanup

#define afw_pool_deregister_cleanup (   instance,
  data,
  data2,
  cleanup,
  xctx 
)
Value:
(instance)->inf->deregister_cleanup( \
(instance), \
(data), \
(data2), \
(cleanup), \
(xctx) \
)

Call method deregister_cleanup of interface afw_pool.

Parameters
instancePointer to this pool instance.
dataData to pass to the cleanup function.
data2Data2 to pass to the cleanup function.
cleanupCleanup function to call when pool is released..
xctxThis is the caller's xctx.

Definition at line 4836 of file afw_interface.h.

◆ afw_pool_deregister_cleanup_debug

#define afw_pool_deregister_cleanup_debug (   instance,
  data,
  data2,
  cleanup,
  xctx,
  source_z 
)
Value:
(instance)->inf->deregister_cleanup_debug( \
(instance), \
(data), \
(data2), \
(cleanup), \
(xctx), \
(source_z) \
)

Call method deregister_cleanup_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
dataData to pass to the cleanup function.
data2Data2 to pass to the cleanup function.
cleanupCleanup function to call when pool is released..
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 5000 of file afw_interface.h.

◆ afw_pool_destroy

#define afw_pool_destroy (   instance,
  xctx 
)
Value:
(instance)->inf->destroy( \
(instance), \
(xctx) \
)

Call method destroy of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.

Definition at line 4731 of file afw_interface.h.

◆ afw_pool_destroy_debug

#define afw_pool_destroy_debug (   instance,
  xctx,
  source_z 
)
Value:
(instance)->inf->destroy_debug( \
(instance), \
(xctx), \
(source_z) \
)

Call method destroy_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4891 of file afw_interface.h.

◆ afw_pool_free

#define afw_pool_free (   instance,
  address,
  size,
  xctx 
)
Value:
(instance)->inf->free( \
(instance), \
(address), \
(size), \
(xctx) \
)

Call method free of interface afw_pool.

Parameters
instancePointer to this pool instance.
addressAddress of memory to free.
sizeSize of memory to free.
xctxThis is the caller's xctx.

Definition at line 4792 of file afw_interface.h.

◆ afw_pool_free_debug

#define afw_pool_free_debug (   instance,
  address,
  size,
  xctx,
  source_z 
)
Value:
(instance)->inf->free_debug( \
(instance), \
(address), \
(size), \
(xctx), \
(source_z) \
)

Call method free_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
addressAddress of memory to free.
sizeSize of memory to free.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4950 of file afw_interface.h.

◆ afw_pool_get_apr_pool

#define afw_pool_get_apr_pool (   instance)
Value:
(instance)->inf->get_apr_pool( \
(instance) \
)

Call method get_apr_pool of interface afw_pool.

Parameters
instancePointer to this pool instance.

Definition at line 4744 of file afw_interface.h.

◆ afw_pool_malloc

#define afw_pool_malloc (   instance,
  size,
  xctx 
)
Value:
(instance)->inf->malloc( \
(instance), \
(size), \
(xctx) \
)

Call method malloc of interface afw_pool.

Parameters
instancePointer to this pool instance.
sizeSize of memory to allocate.
xctxThis is the caller's xctx.

Definition at line 4774 of file afw_interface.h.

◆ afw_pool_malloc_debug

#define afw_pool_malloc_debug (   instance,
  size,
  xctx,
  source_z 
)
Value:
(instance)->inf->malloc_debug( \
(instance), \
(size), \
(xctx), \
(source_z) \
)

Call method malloc_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
sizeSize of memory to allocate.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4929 of file afw_interface.h.

◆ afw_pool_register_cleanup_before

#define afw_pool_register_cleanup_before (   instance,
  data,
  data2,
  cleanup,
  xctx 
)
Value:
(instance)->inf->register_cleanup_before( \
(instance), \
(data), \
(data2), \
(cleanup), \
(xctx) \
)

Call method register_cleanup_before of interface afw_pool.

Parameters
instancePointer to this pool instance.
dataData to pass to the cleanup function.
data2Data2 to pass to the cleanup function.
cleanupCleanup function to call when pool is released..
xctxThis is the caller's xctx.

Definition at line 4813 of file afw_interface.h.

◆ afw_pool_register_cleanup_before_debug

#define afw_pool_register_cleanup_before_debug (   instance,
  data,
  data2,
  cleanup,
  xctx,
  source_z 
)
Value:
(instance)->inf->register_cleanup_before_debug( \
(instance), \
(data), \
(data2), \
(cleanup), \
(xctx), \
(source_z) \
)

Call method register_cleanup_before_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
dataData to pass to the cleanup function.
data2Data2 to pass to the cleanup function.
cleanupCleanup function to call when pool is released..
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4974 of file afw_interface.h.

◆ afw_pool_release

#define afw_pool_release (   instance,
  xctx 
)
Value:
(instance)->inf->release( \
(instance), \
(xctx) \
)

Call method release of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.

Definition at line 4703 of file afw_interface.h.

◆ afw_pool_release_debug

#define afw_pool_release_debug (   instance,
  xctx,
  source_z 
)
Value:
(instance)->inf->release_debug( \
(instance), \
(xctx), \
(source_z) \
)

Call method release_debug of interface afw_pool.

Parameters
instancePointer to this pool instance.
xctxThis is the caller's xctx.
source_zSource file:line where method was called.

Definition at line 4857 of file afw_interface.h.

Typedef Documentation

◆ afw_pool_add_reference_debug_t

typedef void(* afw_pool_add_reference_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_add_reference_debug()

Definition at line 4618 of file afw_interface.h.

◆ afw_pool_add_reference_t

typedef void(* afw_pool_add_reference_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
See also
afw_pool_add_reference()

Definition at line 4554 of file afw_interface.h.

◆ afw_pool_calloc_debug_t

typedef void*(* afw_pool_calloc_debug_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_calloc_debug()

Definition at line 4632 of file afw_interface.h.

◆ afw_pool_calloc_t

typedef void*(* afw_pool_calloc_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
See also
afw_pool_calloc()

Definition at line 4571 of file afw_interface.h.

◆ afw_pool_deregister_cleanup_debug_t

typedef void(* afw_pool_deregister_cleanup_debug_t) (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)
See also
afw_pool_deregister_cleanup_debug()

Definition at line 4667 of file afw_interface.h.

◆ afw_pool_deregister_cleanup_t

typedef void(* afw_pool_deregister_cleanup_t) (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
See also
afw_pool_deregister_cleanup()

Definition at line 4602 of file afw_interface.h.

◆ afw_pool_destroy_debug_t

typedef void(* afw_pool_destroy_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_destroy_debug()

Definition at line 4625 of file afw_interface.h.

◆ afw_pool_destroy_t

typedef void(* afw_pool_destroy_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
See also
afw_pool_destroy()

Definition at line 4560 of file afw_interface.h.

◆ afw_pool_free_debug_t

typedef void(* afw_pool_free_debug_t) (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_free_debug()

Definition at line 4648 of file afw_interface.h.

◆ afw_pool_free_t

typedef void(* afw_pool_free_t) (const afw_pool_t *instance, void *address, afw_size_t size, afw_xctx_t *xctx)
See also
afw_pool_free()

Definition at line 4585 of file afw_interface.h.

◆ afw_pool_get_apr_pool_t

typedef apr_pool_t*(* afw_pool_get_apr_pool_t) (const afw_pool_t *instance)
See also
afw_pool_get_apr_pool()

Definition at line 4566 of file afw_interface.h.

◆ afw_pool_malloc_debug_t

typedef void*(* afw_pool_malloc_debug_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_malloc_debug()

Definition at line 4640 of file afw_interface.h.

◆ afw_pool_malloc_t

typedef void*(* afw_pool_malloc_t) (const afw_pool_t *instance, afw_size_t size, afw_xctx_t *xctx)
See also
afw_pool_malloc()

Definition at line 4578 of file afw_interface.h.

◆ afw_pool_register_cleanup_before_debug_t

typedef void(* afw_pool_register_cleanup_before_debug_t) (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)
See also
afw_pool_register_cleanup_before_debug()

Definition at line 4657 of file afw_interface.h.

◆ afw_pool_register_cleanup_before_t

typedef void(* afw_pool_register_cleanup_before_t) (const afw_pool_t *instance, void *data, void *data2, afw_pool_cleanup_function_p_t cleanup, afw_xctx_t *xctx)
See also
afw_pool_register_cleanup_before()

Definition at line 4593 of file afw_interface.h.

◆ afw_pool_release_debug_t

typedef void(* afw_pool_release_debug_t) (const afw_pool_t *instance, afw_xctx_t *xctx, const afw_utf8_z_t *source_z)
See also
afw_pool_release_debug()

Definition at line 4611 of file afw_interface.h.

◆ afw_pool_release_t

typedef void(* afw_pool_release_t) (const afw_pool_t *instance, afw_xctx_t *xctx)
See also
afw_pool_release()

Definition at line 4548 of file afw_interface.h.