search_engine_search_in_disk
Searchs items in a disk.
gulong search_engine_search_in_disk ( GtkWindow *w, struct user_quick_search *uqs);
This function searchs items in a disk.
Parameters
w | the main window |
uqs | the user quick search to search |
Result: the number of matched items..
search_engine_search_in_dir
Searchs items in a directory.
gulong search_engine_search_in_dir ( GtkCTree *ctree, GtkCTreeNode *node, struct engine_quick_search *eqs);
This function searchs items in a directory.
Parameters
w | the main window |
eqs | the engine quick search to search |
Result: the number of matched items..
search_engine_check_disk_match
Checks if specified disk matched with search.
gint search_engine_check_disk_match ( struct disk_info *disk, struct engine_quick_search *eqs);
This function checks if specified disk matched with search.
Parameters
disk | the disk information to check |
eqs | the search properties |
Result: Returns 0 if the disk matches. Returns -1 otherwise or if an error occured..
search_engine_check_file_match
Checks if specified file matched with search.
gint search_engine_check_file_match ( struct file_info *file, struct engine_quick_search *eqs);
This function checks if specified file matched with search.
Parameters
file | the file information to check |
eqs | the search properties |
Result: Returns 0 if the file matches. Returns -1 otherwise or if an error occured..
search_engine_add_item
Adds a file in the search result list.
gint search_engine_add_item ( GtkCList *clist, GtkCTree *ctree, GtkCTreeNode *node, struct file_info *file_info);
This function adds a file in the search result list.
Parameters
clist | the search result list |
ctree | the tree where is the file to add |
node | the node where is the file to add |
file | the file information to add |
Result: an error code. Returns -1 if an error occured..
search_engine_add_disk
Adds a disk in the search result list.
gint search_engine_add_disk ( GtkCList *clist, GtkCTree *ctree, GtkCTreeNode *node, struct disk_info *disk_info);
This function adds a disk in the search result list.
Parameters
clist | the search result list |
ctree | the tree where is the file to add |
node | the node where is the file to add |
disk | the disk information to add |
Result: an error code. Returns -1 if an error occured..
|