]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/term_entry.h
ncurses 5.1
[ncurses.git] / include / term_entry.h
index a19b6010af767de1e941587fe4e7b550fd68bfe7..7d9f77b4befc321d73728169f66f8928279b2469 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc.                        *
+ * Copyright (c) 1998,1999,2000 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -31,6 +31,7 @@
  *     and: Eric S. Raymond <esr@snark.thyrsus.com>                         *
  ****************************************************************************/
 
+/* $Id: term_entry.h,v 1.29 2000/03/19 02:04:15 tom Exp $ */
 
 /*
  *     term_entry.h -- interface to entry-manipulation code
@@ -46,16 +47,20 @@ extern "C" {
 #include <term.h>
 
 #define MAX_USES       32
+#define MAX_CROSSLINKS 16
 
 typedef struct entry {
        TERMTYPE        tterm;
        int             nuses;
        struct
         {
-           void        *parent;        /* (char *) or (ENTRY *) */
+           char                *name;
+           struct entry        *link;
            long        line;
         }
        uses[MAX_USES];
+       int             ncrosslinks;
+       struct entry    *crosslinks[MAX_CROSSLINKS];
        long            cstart, cend;
        long            startline;
        struct entry    *next;
@@ -130,6 +135,7 @@ extern void _nc_init_acs(void);     /* corresponds to traditional 'init_acs()' */
 /* parse_entry.c: entry-parsing code */
 #if NCURSES_XNAMES
 extern bool _nc_user_definable;
+extern bool _nc_disable_period;
 #endif
 extern int _nc_parse_entry(ENTRY *, int, bool);
 extern int _nc_capcmp(const char *, const char *);
@@ -141,7 +147,7 @@ extern void _nc_write_entry(TERMTYPE *const);
 /* comp_parse.c: entry list handling */
 extern void _nc_read_entry_source(FILE*, char*, int, bool, bool (*)(ENTRY*));
 extern bool _nc_entry_match(char *, char *);
-extern int _nc_resolve_uses(void);
+extern int _nc_resolve_uses(bool);
 extern void _nc_free_entries(ENTRY *);
 extern void (*_nc_check_termtype)(TERMTYPE *);