pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJLIB Reference

pj_pool_t Struct Reference
[Memory Pool Object]


Detailed Description

This structure describes the memory pool. Only implementors of pool factory need to care about the contents of this structure.

Public Member Functions

 PJ_DECL_LIST_MEMBER (struct pj_pool_t)

Data Fields

char obj_name [PJ_MAX_OBJ_NAME]
pj_pool_factoryfactory
void * factory_data
pj_size_t capacity
pj_size_t increment_size
pj_pool_block block_list
pj_pool_callbackcallback
struct pj_pool_mem * first_mem
pj_size_t used_size
pj_pool_callbackcb

Member Function Documentation

pj_pool_t::PJ_DECL_LIST_MEMBER ( struct  pj_pool_t  ) 

Standard list elements.


Field Documentation

Pool name

Data put by factory

Current capacity allocated by the pool.

Size of memory block to be allocated when the pool runs out of memory

List of memory blocks allcoated by the pool.

The callback to be called when the pool is unable to allocate memory.


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

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
(C)2001-2008 Benny Prijono