"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/search.h" between
most-5.0.0a.tar.gz and most-5.1.0.tar.gz

About: most is a textfile paging program (supports multiple windows and can scroll left and right).

search.h  (most-5.0.0a):search.h  (most-5.1.0)
#ifndef _DAVIS_SEARCH_H_ #ifndef _DAVIS_SEARCH_H_
# define _DAVIS_SEARCH_H_ # define _DAVIS_SEARCH_H_
/* /*
This file is part of MOST. This file is part of MOST.
Copyright (c) 1991, 1999, 2002, 2005, 2006, 2007 John E. Davis Copyright (c) 1991, 1999, 2002, 2005-2018, 2019 John E. Davis
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) Software Foundation; either version 2 of the License, or (at your option)
any later version. any later version.
This program is distributed in the hope that it will be useful, but WITHOUT This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details. more details.
You should have received a copy of the GNU General Public License along You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc., 675 with this program; if not, write to the Free Software Foundation, Inc., 675
Mass Ave, Cambridge, MA 02139, USA. Mass Ave, Cambridge, MA 02139, USA.
*/ */
# include <stdio.h> # include <stdio.h>
# include <string.h> # include <string.h>
extern int Most_Case_Sensitive; extern int Most_Case_Sensitive;
extern int Most_Do_Regexp_Search;
extern int Most_Search_Dir; extern int Most_Search_Dir;
#define MOST_SEARCH_BUF_LEN 256 #define MOST_SEARCH_BUF_LEN 256
extern char Most_Search_Str[MOST_SEARCH_BUF_LEN]; extern char Most_Search_Str[MOST_SEARCH_BUF_LEN];
extern int most_search(unsigned char *, int, MOST_INT *); extern int most_search(unsigned char *, int, MOST_INT *);
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)