File: iselect_browse.h

package info (click to toggle)
iselect 1.3.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 636 kB
  • ctags: 228
  • sloc: sh: 3,302; ansic: 2,074; perl: 485; makefile: 127
file content (53 lines) | stat: -rw-r--r-- 1,795 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*      _ ____       _           _   
**     (_) ___|  ___| | ___  ___| |_ 
**    / /\___ \ / _ \ |/ _ \/ __| __|
**   / /  ___) |  __/ |  __/ (__| |_ 
**  (_(  |____/ \___|_|\___|\___|\__|
**
**  iSelect -- Interactive Selection Tool
**
**  iSelect is a Curses-based tool for interactive line selection 
**  in an ASCII file via a full-screen terminal session.
**  
**  ======================================================================
**
**  Copyright (c) 1997-2005 Ralf S. Engelschall.
**
**  This program is free software; it may be redistributed and/or
**  modified only under the terms of the GNU General Public License, 
**  which may be found in the iSelect source distribution.  
**  Look at the file COPYING for details. 
**  
**  This program is distributed in the hope that it will be useful, 
**  but WITHOUT ANY WARRANTY; without even the implied warranty of 
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
**  See the the GNU General Public License for more details.
**
**  ======================================================================
**
**  iselect_browse.h -- Curses-based file browser header
*/

/*
 *  The Structure of our screen lines
 */
struct Line { 
    char *cpLine;      /* the input line */
    int   fSelectable; /* whether selectable or not */
    int   fSelected;   /* whether already selected or not */
    char *cpResult;    /* the result string */
} Line;

extern struct Line **spaLines;
extern int          nLines;

/*
 *  Prototypes
 */
extern int iSelect(char *caBuf, int pos, char *title, char *name,
                   char *tagbegin, char *tagend, int stripco, int stripws, 
                   int browsealways, int allselectable,
                   int multiselect, int exitnoselect,
                   char **keystr);

/*EOF*/