xref: /openbsd/usr.bin/less/position.h (revision 771fbea0)
1 /*
2  * Copyright (C) 1984-2012  Mark Nudelman
3  * Modified for use with illumos by Garrett D'Amore.
4  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
5  *
6  * You may distribute under the terms of either the GNU General Public
7  * License or the Less License, as specified in the README file.
8  *
9  * For more information, see the README file.
10  */
11 
12 /*
13  * Include file for interfacing to position.c modules.
14  */
15 #define	TOP		(0)
16 #define	TOP_PLUS_ONE	(1)
17 #define	BOTTOM		(-1)
18 #define	BOTTOM_PLUS_ONE	(-2)
19 #define	MIDDLE		(-3)
20