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.
Stack.h
Go to the documentation of this file.
1 
11 #ifndef _STACK_H_
12 #define _STACK_H_
13 
14 #include "Logger.h"
15 #include <stdlib.h>
16 
17 typedef struct stackElement_st {
18  struct stackElement_st* next;
19  void* value;
20 } stackElement;
21 
22 typedef struct stack_st {
23  stackElement* top;
24  int size;
25 } Stack;
26 
31 Stack* initStack();
32 
38 void push(Stack* s, void* element);
39 
45 void* pop(Stack* s);
46 
52 int isEmpty(Stack* s);
53 
58 void deleteStack(Stack* s);
59 
60 #endif /* end of include guard: _STACK_H_ */
void push(Stack *s, void *element)
Definition: Stack.c:19
Definition: Stack.h:17
Definition: Stack.h:22
int isEmpty(Stack *s)
Definition: Stack.c:40
Header file that contains the definitions for logging to the console.
Stack * initStack()
Definition: Stack.c:12
void deleteStack(Stack *s)
Definition: Stack.c:44
void * pop(Stack *s)
Definition: Stack.c:27