|
SmartFolder
1.0
SmartFolder is a way to search files on your system and group the results. The program will interpret search queries and create a folder with symbolic links to all the found matches.
|
Header file that contains the definitions for a generic Stack data structure. More...


Go to the source code of this file.
Data Structures | |
| struct | stackElement_st |
| struct | stack_st |
Typedefs | |
| typedef struct stackElement_st | stackElement |
| typedef struct stack_st | Stack |
Functions | |
| Stack * | initStack () |
| void | push (Stack *s, void *element) |
| void * | pop (Stack *s) |
| int | isEmpty (Stack *s) |
| void | deleteStack (Stack *s) |
Header file that contains the definitions for a generic Stack data structure.
| void deleteStack | ( | Stack * | s | ) |
Function to delete a Stack and free its memory
| s | A pointer to the Stack |
| Stack* initStack | ( | ) |
Function to initialize an empty Stack
| int isEmpty | ( | Stack * | s | ) |
Function to check if a Stack is empty
| s | A pointer to the Stack |
| void* pop | ( | Stack * | s | ) |
Function to pop the first element of the Stack
| s | A pointer to the Stack |
| void push | ( | Stack * | s, |
| void * | element | ||
| ) |
Function to insert an element (push) in the Stack
| s | A pointer to the Stack |
| element | The element we want to insert |