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.
|
Source file that contains the implementation for a generic Stack data structure. More...
#include "Stack.h"
Functions | |
Stack * | initStack () |
void | push (Stack *s, void *element) |
void * | pop (Stack *s) |
int | isEmpty (Stack *s) |
void | deleteStack (Stack *s) |
Source file that contains the implementation 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 |