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.
Daemon.c File Reference

Source file that contains the implementation for our background process computation. More...

#include "Daemon.h"
Include dependency graph for Daemon.c:

Functions

void incrementalSearch (const char **expression, int exprLen, char *searchFolder, char *smartFolder, HashSet *files, List *filesList)
 

Detailed Description

Source file that contains the implementation for our background process computation.

Authors
Maxime Lovino, Thomas Ibanez
Date
January 25, 2017
Version
1.0

Function Documentation

void incrementalSearch ( const char **  expression,
int  exprLen,
char *  searchFolder,
char *  smartFolder,
HashSet files,
List filesList 
)

Function that will run in the background and update the SmartFolder

Parameters
expressionThe search expression as an array of terms
exprLenThe number of terms of the expression
searchFolderThe path of the folder that we search in
smartFolderThe path of the SmartFolder
filesAn HashSet of the files that already match our expression
filesListA list of the files already in our SmartFolder