dcDCPL_Mem.h File Reference

DPWSCore Memory Allocation portability layer. More...


Functions

void * dcpl_malloc (size_t size)
 Memory allocation function provided by the platform.
void dcpl_free (void *ptr)
 Memory liberation function provided by the platform.
char * dcpl_strdup (const char *s)
 Creates a "copy" string buffer.


Detailed Description

DPWSCore Memory Allocation portability layer.


Function Documentation

void* dcpl_malloc ( size_t  size  ) 

Memory allocation function provided by the platform.

Parameters:
size The required memory space.
Returns:
A memory buffer or NULL if no memory is available

void dcpl_free ( void *  ptr  ) 

Memory liberation function provided by the platform.

Parameters:
ptr The buffer to free.

char* dcpl_strdup ( const char *  s  ) 

Creates a "copy" string buffer.

Parameters:
s The original string to copy.
Returns:
The copy.


Generated on Fri Apr 17 15:18:24 2009 for DPWSCore by  doxygen 1.5.8