12 #ifndef __SAS_SIMPLE_STACK_H
13 #define __SAS_SIMPLE_STACK_H
82 extern __C__ block_size_t
133 extern __C__ block_size_t
void * SASSimpleStack_t
Handle to SAS Simple Stack.
Definition: sassimplestack.h:28
__C__ void * SASSimpleStackAllocNoLock(SASSimpleStack_t stack, block_size_t alloc_size)
Allocate a sub range of a SAS Simple Stack as s push down stack.
__C__ int SASSimpleStackDestroyNoLock(SASSimpleStack_t stack)
Destroy a SASSimpleStack_t and free the shared storage block.
__C__ void * SASSimpleStackNearAllocNoLock(void *near_stack, block_size_t alloc_size)
Allocate a sub range of a SAS Simple Stack as a push down stack.
__C__ block_size_t SASSimpleStackFreeSpace(SASSimpleStack_t stack)
Return the block free space not currently allocated to the stack.
#define __C__
ignore this macro behind the curtain
Definition: sassimplestack.h:34
__C__ block_size_t SASSimpleStackFreeSpaceNoLock(SASSimpleStack_t stack)
Return the block free space not currently allocated to the stack.
__C__ void * SASSimpleStackNearAlloc(void *near_stack, block_size_t alloc_size)
Atomically allocate a sub range of a SAS Simple Stack as a push down stack.
__C__ int SASSimpleStackDestroy(SASSimpleStack_t stack)
Destroy a SASSimpleStack_t and free the shared storage block.
__C__ SASSimpleStack_t SASSimpleStackCreate(block_size_t stack_size)
Allocate a SAS block as a simple stack.
__C__ void * SASSimpleStackAlloc(SASSimpleStack_t stack, block_size_t alloc_size)
Atomically allocate a sub range of a SAS Simple Stack as a push down stack.
__C__ int SASSimpleStackDeallocNoLock(SASSimpleStack_t stack, void *stack_pointer)
Deallocate a sub range of a SAS Simple Stack by reseting the stack top.
__C__ SASSimpleStack_t SASSimpleStackInit(void *heap_block, block_size_t block_size)
Initialize a shared storage block as a simple stack.
__C__ int SASSimpleStackDealloc(SASSimpleStack_t stack, void *stack_pointer)
Atomically deallocate a sub range of a SAS Simple Stack by reseting the stack top.