12 #ifndef __SAS_SIMPLE_SPACE_H
13 #define __SAS_SIMPLE_SPACE_H
50 SASSimpleSpaceInit (
void *heap_block, block_size_t block_size, block_size_t space_size);
107 extern __C__ block_size_t
__C__ void * SASSimpleSpaceToAddr(SASSimpleSpace_t space)
Obtain the starting byte address of the simple space within the SASSimpleSpace_t block.
__C__ int SASSimpleSpaceDestroy(SASSimpleSpace_t space)
Destroy a SASSimpleSpace_t and free the shared storage block.
__C__ SASSimpleSpace_t SASSimpleSpaceFromAddr(void *space)
Obtain the SASSimpleSpace_t handle from a contained space address.
void * SASSimpleSpace_t
Handle to SAS Simple Space.
Definition: sassimplespace.h:27
__C__ int SASSimpleSpaceDestroyNoLock(SASSimpleSpace_t space)
Destroy a SASSimpleSpace_t and free the shared storage block.
__C__ SASSimpleSpace_t SASSimpleSpaceInit(void *heap_block, block_size_t block_size, block_size_t space_size)
Initialize a shared storage block as a simple space.
#define __C__
ignore this macro behind the curtain
Definition: sassimplespace.h:33
__C__ SASSimpleSpace_t SASSimpleSpaceCreate(block_size_t space_size)
Allocate a SAS block large enough to contain the requested SAS Simple Space.
__C__ block_size_t SASSimpleSpaceFreeSpace(SASSimpleSpace_t space)
Return the block free space not occupied by control blocks and the simple space.