Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pstack.h File Reference
#include <stdbool.h>

Go to the source code of this file.

Functions

struct pstackpstack__new (unsigned short max_nr_entries)
 
void pstack__delete (struct pstack *self)
 
bool pstack__empty (const struct pstack *self)
 
void pstack__remove (struct pstack *self, void *key)
 
void pstack__push (struct pstack *self, void *key)
 
voidpstack__pop (struct pstack *self)
 

Function Documentation

void pstack__delete ( struct pstack self)

Definition at line 27 of file pstack.c.

bool pstack__empty ( const struct pstack self)

Definition at line 32 of file pstack.c.

struct pstack* pstack__new ( unsigned short  max_nr_entries)
read

Definition at line 18 of file pstack.c.

void* pstack__pop ( struct pstack self)

Definition at line 63 of file pstack.c.

void pstack__push ( struct pstack self,
void key 
)

Definition at line 54 of file pstack.c.

void pstack__remove ( struct pstack self,
void key 
)

Definition at line 37 of file pstack.c.