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.
SysFile.h
Go to the documentation of this file.
1 
10 #ifndef _SYSFILE_H_
11 #define _SYSFILE_H_
12 
15 #define SYSFILE_PATH "/tmp/"
16 
17 #include "Syscall.h"
18 #include <string.h>
19 #include "Logger.h"
20 
27 int createSysFile(int pid, char* smartFolder);
28 
34 int getPID(const char* folderName);
35 
41 char* getFolderPath(int pid);
42 
43 #endif /* end of include guard: _SYSFILE_H_ */
char * getFolderPath(int pid)
Definition: SysFile.c:62
Header file that contains the definitions for logging to the console.
int getPID(const char *folderName)
Definition: SysFile.c:36
Header file that contains the definitions for system calls wrapper functions used in our program...
int createSysFile(int pid, char *smartFolder)
Definition: SysFile.c:12