howm
howm
stack Struct Reference

Represents a stack. This stack is going to hold linked lists of clients. An example of the stack is below: More...

#include <scratchpad.h>

Data Fields

unsigned int size
 
client_t ** contents
 

Detailed Description

Represents a stack. This stack is going to hold linked lists of clients. An example of the stack is below:

TOP

c1->c2->c3->NULL

c1->NULL

c1->c2->c3->NULL

BOTTOM

Field Documentation

client_t** stack::contents

The contents is an array of linked lists. Storage is malloced later as we don't know the size yet.

unsigned int stack::size

The amount of items in the stack.


The documentation for this struct was generated from the following file: