summaryrefslogtreecommitdiff
path: root/lib/libcurses/term_entry.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-22 04:50:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-22 04:50:44 +0000
commit601bfeea925568f590de34e52cd200b7a54bade5 (patch)
treef25252642fc1bd405b81d705ee3492e99f801b8f /lib/libcurses/term_entry.h
parent26f1dd8e47a445048bf6363de09616d595fade95 (diff)
Move call to _nc_read_bsd_terminfo_entry() to _nc_read_entry() so reading
terminfo.db is transparent. This requires us to be able to tell which of the entries in pathvec held the terminfo entry. To make that work we only pass one pathname to cgetent(3) at a time. This might be a slight performance hit but should not be noticable in normal use.
Diffstat (limited to 'lib/libcurses/term_entry.h')
-rw-r--r--lib/libcurses/term_entry.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcurses/term_entry.h b/lib/libcurses/term_entry.h
index 69be127a0ff..cd3f5060b6c 100644
--- a/lib/libcurses/term_entry.h
+++ b/lib/libcurses/term_entry.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: term_entry.h,v 1.2 1999/01/18 19:09:16 millert Exp $ */
+/* $OpenBSD: term_entry.h,v 1.3 1999/01/22 04:50:43 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -90,6 +90,9 @@ extern bool _nc_entry_match(char *, char *);
extern int _nc_resolve_uses(void);
extern void _nc_free_entries(ENTRY *);
+/* read_bsd_terminfo.c: terminfo.db reading */
+extern int _nc_read_bsd_terminfo_entry(const char * const, char * const, TERMTYPE *const);
+
#ifdef __cplusplus
}
#endif