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.
Linker.h
Go to the documentation of this file.
1 
10 #ifndef _LINKER_H_
11 #define _LINKER_H_
12 
13 #include <stdlib.h>
14 #include <string.h>
15 #include <errno.h>
16 #include <dirent.h>
17 #include "Syscall.h"
18 #include "Logger.h"
19 #include "List.h"
20 
27 int makeLink(char* pathToLink, char* destFolder);
28 
35 int removeLink(char* pathOfFile, char* linkFolder);
36 
41 void nextSuffix(char* name);
42 
49 int makeFolder(char* path, List* files);
50 
56 int removeFolder(char* path);
57 
58 #endif /* end of include guard: _LINKER_H_ */
void nextSuffix(char *name)
Definition: Linker.c:38
int removeFolder(char *path)
Definition: Linker.c:77
int removeLink(char *pathOfFile, char *linkFolder)
Definition: Linker.c:23
Definition: List.h:22
Header file that contains the definitions for logging to the console.
int makeLink(char *pathToLink, char *destFolder)
Definition: Linker.c:12
Header file that contains the definitions for system calls wrapper functions used in our program...
int makeFolder(char *path, List *files)
Definition: Linker.c:54
Header file that contains the definitions for a simple linked List data structure containing Strings...