seek: Ceil position to duration - 5s
[cmus.git] / search_mode.h
blobf193968f2e637afee19cafd2e2b8ae377fd14fb2
1 /*
2 * Copyright 2004 Timo Hirvonen
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17 * 02111-1307, USA.
20 #ifndef _SEARCH_MODE_H
21 #define _SEARCH_MODE_H
23 #include "search.h"
24 #include "uchar.h"
26 extern char *search_str;
27 extern enum search_direction search_direction;
29 /* //WORDS or ??WORDS search mode */
30 extern int search_restricted;
32 extern void search_mode_ch(uchar ch);
33 extern void search_mode_key(int key);
34 extern void search_mode_init(void);
35 extern void search_mode_exit(void);
37 #endif