rework ARGS structures as part of ex parser rework
[nvi.git] / ex / tag.h
blob37b4a0ab085bd181a53dcc24a0722deeb9710bf5
1 /*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
5 * %sccs.include.redist.c%
7 * $Id: tag.h,v 8.11 1993/11/22 20:27:02 bostic Exp $ (Berkeley) $Date: 1993/11/22 20:27:02 $
8 */
10 struct _tagf { /* Tag file. */
11 TAILQ_ENTRY(_tagf) q; /* Linked list of tag files. */
12 char *name; /* Tag file name. */
14 #define TAGF_DNE 0x01 /* Didn't exist. */
15 #define TAGF_DNE_WARN 0x02 /* DNE error reported. */
16 u_char flags;
19 struct _tag { /* Tag stack. */
20 TAILQ_ENTRY(_tag) q; /* Linked list of tags. */
21 FREF *frp; /* Saved file name. */
22 recno_t lno; /* Saved line number. */
23 size_t cno; /* Saved column number. */
24 char *search; /* Search string. */
25 size_t slen; /* Search string length. */
28 int ex_tagalloc __P((SCR *, char *));
29 int ex_tagcopy __P((SCR *, SCR *));
30 int ex_tagdisplay __P((SCR *, EXF *));
31 int ex_tagfirst __P((SCR *, char *));
32 int ex_tagfree __P((SCR *));