diff options
Diffstat (limited to 'usr/src/cmd/fmli/inc/eval.h')
-rw-r--r-- | usr/src/cmd/fmli/inc/eval.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/usr/src/cmd/fmli/inc/eval.h b/usr/src/cmd/fmli/inc/eval.h deleted file mode 100644 index e441cee474..0000000000 --- a/usr/src/cmd/fmli/inc/eval.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ -/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1986 AT&T - * All Rights Reserved - * - */ - -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3 */ - -#define EV_TOKEN 0x20 -#define EV_GROUP 0x40 -#define EV_USE_STRING 0x80 -#define EV_USE_FP 0x100 -#define EV_READONLY 0x200 -#define EV_APPEND 0x400 -#ifndef EV_SQUIG /* must match EV_SQUIG in oh/fm_mn_par.h */ -#define EV_SQUIG 0x8000 /* set when {} are special in a descriptor */ -#endif /* careful.. flag is flipped in eval() */ - -typedef struct io_struct { - int flags; - union { - FILE *fp; - struct { - char *val; - int count; - int pos; - } str; - } mu; - struct io_struct *next; -} IOSTRUCT; - -int eval(); -int io_close(); -IOSTRUCT *io_open(); -char *io_string(); -char *io_ret_string(); - -/* eval TOKENS (see spchars in eval.c) */ -#define ET_EOF 0 -#define ET_WORD 1 -#define ET_DQUOTE 2 -#define ET_SQUOTE 3 -#define ET_BSLASH 4 -#define ET_BQUOTE 5 -#define ET_DOLLAR 6 -#define ET_NEWLINE 7 -#define ET_SPACE 8 -#define ET_TAB 9 -#define ET_OSQUIG 10 -#define ET_CSQUIG 11 -#define ET_PIPE 12 -#define ET_AMPERSAND 13 -#define ET_SEMI 14 -#define ET_LTHAN 15 -#define ET_GTHAN 16 -#define ET_TWO 17 - -#define DOUBLE 32 /* must be a power of 2 > largest TOKEN above */ |