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.
Main Page
Data Structures
Files
File List
Globals
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_ */
push
void push(Stack *s, void *element)
Definition:
Stack.c:19
stackElement_st
Definition:
Stack.h:17
stack_st
Definition:
Stack.h:22
isEmpty
int isEmpty(Stack *s)
Definition:
Stack.c:40
Logger.h
Header file that contains the definitions for logging to the console.
initStack
Stack * initStack()
Definition:
Stack.c:12
deleteStack
void deleteStack(Stack *s)
Definition:
Stack.c:44
pop
void * pop(Stack *s)
Definition:
Stack.c:27
src
Stack.h
Generated by
1.8.11