diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-24 06:31:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-24 06:31:12 +0000 |
commit | e9a62161121e4d9f0aa46ddcff0a3a0f8879d0ed (patch) | |
tree | f70dac47630b69f5bfa3c5d7afcb1b5fe9133f54 /lib/libcurses/tic.h | |
parent | 4ac175997c3d2ab53080a9546cb1fda25fc147f5 (diff) |
ncurses-4.2-990220; this is a pre-release of 5.0
Diffstat (limited to 'lib/libcurses/tic.h')
-rw-r--r-- | lib/libcurses/tic.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/lib/libcurses/tic.h b/lib/libcurses/tic.h index 25e059eeb63..52d68301197 100644 --- a/lib/libcurses/tic.h +++ b/lib/libcurses/tic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tic.h,v 1.3 1999/01/24 20:06:45 millert Exp $ */ +/* $OpenBSD: tic.h,v 1.4 1999/02/24 06:31:07 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -141,6 +141,27 @@ struct token extern struct token _nc_curr_token; /* + * List of keynames with their corresponding code. + */ +struct kn { + const char *name; + int code; +}; + +extern const struct kn _nc_key_names[]; + + /* + * Offsets to string capabilities, with the corresponding functionkey + * codes. + */ +struct tinfo_fkeys { + unsigned offset; + chtype code; + }; + +extern struct tinfo_fkeys _nc_tinfo_fkeys[]; + + /* * The file comp_captab.c contains an array of these structures, one * per possible capability. These are indexed by a hash table array of * pointers to the same structures for use by the parser. |