File: art.h

package info (click to toggle)
trn4 4.0-test77-12
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 3,644 kB
  • sloc: ansic: 48,331; sh: 6,817; tcl: 1,696; yacc: 660; perl: 108; makefile: 24
file content (32 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (12)
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
/* art.h
 */
/* This software is copyrighted as detailed in the LICENSE file. */


/* do_article() return values */

#define DA_NORM 0
#define DA_RAISE 1
#define DA_CLEAN 2
#define DA_TOEND 3

EXT ART_LINE highlight INIT(-1);/* next line to be highlighted */
EXT ART_LINE first_view;
EXT ART_POS raw_artsize;	/* size in bytes of raw article */
EXT ART_POS artsize;		/* size in bytes of article */
EXT char art_line[LBUFLEN];	/* place for article lines */

EXT int gline INIT(0);
EXT ART_POS innersearch INIT(0); /* artpos of end of line we want to visit */
EXT ART_LINE innerlight INIT(0); /* highlight position for innersearch or 0 */
EXT char hide_everything INIT(0);/* if set, do not write page now, */
				 /* ...but execute char when done with page */

/* DON'T EDIT BELOW THIS LINE OR YOUR CHANGES WILL BE LOST! */

void art_init _((void));
int do_article _((void));
int maybe_set_color _((char*,bool_int));
int page_switch _((void));
bool innermore _((void));
void pager_mouse _((int,int,int,int,int,int));