stack.h

socketmud/src/stack.h · 352 B

From the archive MySQLMud.tar.gz

Download the archive   « Back to the archive contents

/* file: stack.h
 *
 * A stack, for pushing and popping
 */

#ifndef _STACK_HEADER
#define _STACK_HEADER

typedef struct BBGStack     STACK;

STACK *AllocStack   ( void );
void   FreeStack    ( STACK *pStack );
void  *PopStack     ( STACK *pStack );
void   PushStack    ( void *pContent, STACK *pStack );
int    StackSize    ( STACK *pStack );

#endif

Site Stats

Snippets: 1791
Codebases: 571