diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-01-04 00:22:34 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-01-04 00:22:34 +0000 |
commit | 59d1fa4298584d1670edf26ee475b9b8f6a1c7bc (patch) | |
tree | 8f43d5492b0b0c6dbf3a7b8f98085e8dd6d97a78 /less.h | |
parent | 368ca3013fcfe6e0e9470294fdc2f837025fa519 (diff) |
Diffstat (limited to 'less.h')
-rw-r--r-- | less.h | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2012 Mark Nudelman + * Copyright (C) 1984-2015 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -295,6 +295,15 @@ struct scrpos int ln; }; +/* + * A mark is an ifile (input file) plus a position within the file. + */ +struct mark +{ + IFILE m_ifile; + struct scrpos m_scrpos; +}; + typedef union parg { char *p_string; @@ -310,6 +319,17 @@ struct textlist char *endstring; }; +struct wchar_range +{ + LWCHAR first, last; +}; + +struct wchar_range_table +{ + struct wchar_range *table; + int count; +}; + #define EOI (-1) #define READ_INTR (-2) @@ -445,6 +465,7 @@ struct textlist #define ESC CONTROL('[') #define CSI ((unsigned char)'\233') +#define CHAR_END_COMMAND 0x40000000 #if _OSK_MWC32 #define LSIGNAL(sig,func) os9_signal(sig,func) @@ -498,6 +519,12 @@ struct textlist #define CVT_CRLF 04 /* Remove CR after LF */ #define CVT_ANSI 010 /* Remove ANSI escape sequences */ +#if HAVE_TIME_T +#define time_type time_t +#else +#define time_type long +#endif + #include "funcs.h" /* Functions not included in funcs.h */ |