00001 /* 00002 * This file is part of contentLister. 00003 * 00004 * contentLister is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * contentLister is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00024 /* contentLister - A GTK based content lister (read only) application on the eReader platform 00025 * Copyright (C) 2006-2008 iRex Technologies 00026 * 00027 */ 00028 00029 #ifndef __SEARCH_FILES_H_ 00030 #define __SEARCH_FILES_H_ 00031 00032 #ifdef __cplusplus 00033 extern "C" 00034 { 00035 #endif /* __cplusplus */ 00036 00037 00038 #define MAX_TOKENS_IN_SEARCHSTRING (20) 00039 00040 #define SEARCH_MAX_RECURSE (25) 00041 #define SEARCH_MAX_SYMLINKS (100) 00042 00043 00044 //execute the search and create the symbolic for the results. 00045 int execSearch(const char* sPath, const char* sTarget); 00046 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif /* __cplusplus */ 00051 00052 #endif