Merge pull request #457 from vivien/text-variable
[tig.git] / include / tig / search.h
blobe656e58d9a1e03c45eed4e0afd3c68f50ab998f6
1 /* Copyright (c) 2006-2015 Jonas Fonseca <jonas.fonseca@gmail.com>
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License as
5 * published by the Free Software Foundation; either version 2 of
6 * the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef TIG_SEARCH_H
15 #define TIG_SEARCH_H
17 #include "tig/view.h"
19 void reset_search(struct view *view);
20 void search_view(struct view *view, enum request request);
21 void find_next(struct view *view, enum request request);
22 bool grep_text(struct view *view, const char *text[]);
24 #endif
25 /* vim: set ts=8 sw=8 noexpandtab: */