1/* $OpenBSD: grep.h,v 1.15 2010/04/05 03:03:55 tedu Exp $ */ |
2/* $FreeBSD: head/usr.bin/grep/grep.h 220421 2011-04-07 13:01:03Z gabor $ */ |
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 bool word; |
106} fastgrep_t; 107 108/* Flags passed to regcomp() and regexec() */ 109extern int cflags, eflags; 110 111/* Command line flags */ 112extern bool Eflag, Fflag, Gflag, Hflag, Lflag, 113 bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag, --- 43 unchanged lines hidden --- |