Main Page   Compound List   File List   Compound Members   File Members  

HC_Stack.c File Reference

#include <malloc.h>
#include "checkpoint_int.h"

Functions

int HCI_PushNode (HC_Sequence_t *sequence, long node)
long HCI_PopNode (HC_Sequence_t *sequence)

Detailed Description

Collection of functions relating to the node index stack.


Function Documentation

long HCI_PopNode HC_Sequence_t   sequence
 

Pops a node from the stack.

Parameters:
sequence  The sequence object.
Returns:
The node popped from the stack or an error code (<0)

int HCI_PushNode HC_Sequence_t   sequence,
long    node
 

Pushes a node onto the stack.

Parameters:
sequence  The sequence object.
node  The node to be pushed.
Returns:
An error code.


Copyright ©2003. Astra Network Inc. All Rights Reserved.