QSAS_2_4/QSAS_dist/src/Utilities/qcdf/cdfmem.c File Reference

#include "cdflib.h"
#include "cdflib64.h"

Classes

struct  memSTRUCT

Defines

#define CDFMEM
#define MEMLOG   0
#define TO_STDOUT   0
#define ALLOCFAILED(type, which, nBytes)
#define ALLOCSUCCESS(type, nBytes, ptr, totalBytes)
#define FREESUCCESS(type, ptr, nBytes)
#define FREEFAILED(ptr)

Typedefs

typedef struct memSTRUCT MEM
typedef MEMMEMp

Functions

VISIBLE_PREFIX void * cdf_AllocateMemory (size_t nBytes, fatalFnc)
VISIBLE_PREFIX void * cdf_ReallocateMemory (void *ptr, size_t nBytes, fatalFnc)
VISIBLE_PREFIX int cdf_FreeMemory (void *ptr, fatalFnc)
VISIBLE_PREFIX void * CallocateMemory (size_t nObjects, size_t objSize, fatalFnc)

Variables

static MEMp memHeadP = NULL

Define Documentation

#define ALLOCFAILED ( type,
which,
nBytes   ) 

#define ALLOCSUCCESS ( type,
nBytes,
ptr,
totalBytes   ) 

#define CDFMEM

#define FREEFAILED ( ptr   ) 

#define FREESUCCESS ( type,
ptr,
nBytes   ) 

#define MEMLOG   0

#define TO_STDOUT   0


Typedef Documentation

typedef struct memSTRUCT MEM

typedef MEM* MEMp


Function Documentation

VISIBLE_PREFIX void* CallocateMemory ( size_t  nObjects,
size_t  objSize,
fatalFnc   
)

VISIBLE_PREFIX void* cdf_AllocateMemory ( size_t  nBytes,
fatalFnc   
)

VISIBLE_PREFIX int cdf_FreeMemory ( void *  ptr,
fatalFnc   
)

VISIBLE_PREFIX void* cdf_ReallocateMemory ( void *  ptr,
size_t  nBytes,
fatalFnc   
)


Variable Documentation

MEMp memHeadP = NULL [static]


Generated on Fri Jan 8 12:51:24 2010 for QSAS by  doxygen 1.5.7