1/* $OpenBSD: grep.h,v 1.15 2010/04/05 03:03:55 tedu Exp $ */
2/* $FreeBSD: head/usr.bin/grep/grep.h 211496 2010-08-19 09:28:59Z des $ */
3
4/*-
5 * Copyright (c) 1999 James Howard and Dag-Erling Co��dan Sm��rgrav
6 * Copyright (c) 2008-2009 Gabor Kovesdan <gabor@FreeBSD.org>
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
--- 86 unchanged lines hidden (view full) ---
97typedef struct {
98 size_t len;
99 unsigned char *pattern;
100 int qsBc[UCHAR_MAX + 1];
101 /* flags */
102 bool bol;
103 bool eol;
104 bool reversed;
105} fastgrep_t;
106
107/* Flags passed to regcomp() and regexec() */
108extern int cflags, eflags;
109
110/* Command line flags */
111extern bool Eflag, Fflag, Gflag, Hflag, Lflag,
112 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
--- 43 unchanged lines hidden ---
2/* $FreeBSD: head/usr.bin/grep/grep.h 211496 2010-08-19 09:28:59Z des $ */
3
4/*-
5 * Copyright (c) 1999 James Howard and Dag-Erling Co��dan Sm��rgrav
6 * Copyright (c) 2008-2009 Gabor Kovesdan <gabor@FreeBSD.org>
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
--- 86 unchanged lines hidden (view full) ---
97typedef struct {
98 size_t len;
99 unsigned char *pattern;
100 int qsBc[UCHAR_MAX + 1];
101 /* flags */
102 bool bol;
103 bool eol;
104 bool reversed;
105} fastgrep_t;
106
107/* Flags passed to regcomp() and regexec() */
108extern int cflags, eflags;
109
110/* Command line flags */
111extern bool Eflag, Fflag, Gflag, Hflag, Lflag,
112 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
--- 43 unchanged lines hidden ---