00001 #ifndef __SEARCH_H__ 00002 #define __SEARCH_H__ 00003 00004 /* 00005 Copyright (c) 2006-2010 Trevor Williams 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along with this program; 00016 if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00027 #include "defines.h" 00028 00029 00031 void search_init(); 00032 00034 void search_add_include_path( const char* path ); 00035 00037 void search_add_directory_path( const char* path ); 00038 00040 void search_add_file( const char* file ); 00041 00043 void search_add_no_score_funit( const char* funit ); 00044 00046 void search_add_extensions( const char* ext_list ); 00047 00049 void search_free_lists(); 00050 00051 #endif 00052