summaryrefslogtreecommitdiff
path: root/usr.bin/grep/grep.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/grep.h')
-rw-r--r--usr.bin/grep/grep.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/grep/grep.h b/usr.bin/grep/grep.h
index 907f6c042d9..d9981e3808b 100644
--- a/usr.bin/grep/grep.h
+++ b/usr.bin/grep/grep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.h,v 1.2 2003/06/22 22:38:50 deraadt Exp $ */
+/* $OpenBSD: grep.h,v 1.3 2003/06/23 00:55:09 tedu Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -35,6 +35,10 @@
#define VER_MAJ 0
#define VER_MIN 9
+#define BIN_FILE_BIN 0
+#define BIN_FILE_SKIP 1
+#define BIN_FILE_TEXT 2
+
typedef struct {
size_t len;
int line_no;
@@ -48,8 +52,9 @@ extern int cflags, eflags;
/* Command line flags */
extern int Aflag, Bflag, Hflag, Lflag, Pflag, Sflag, Rflag, Zflag,
- aflag, bflag, cflag, hflag, lflag, nflag, qflag, sflag,
+ bflag, cflag, hflag, lflag, nflag, qflag, sflag,
vflag, wflag, xflag;
+extern int binbehave;
extern int first, lead, matchall, patterns, tail;
extern char **pattern;