Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/grep/grep.h
Show All 23 Lines | |||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#include <sys/capsicum.h> | |||||
#include <bzlib.h> | #include <bzlib.h> | ||||
#include <limits.h> | #include <limits.h> | ||||
#include <regex.h> | #include <regex.h> | ||||
#include <stdbool.h> | #include <stdbool.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <zlib.h> | #include <zlib.h> | ||||
#ifndef WITHOUT_FASTMATCH | #ifndef WITHOUT_FASTMATCH | ||||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
extern bool dexclude, dinclude, fexclude, finclude, lbflag, nullflag; | extern bool dexclude, dinclude, fexclude, finclude, lbflag, nullflag; | ||||
extern unsigned long long Aflag, Bflag; | extern unsigned long long Aflag, Bflag; | ||||
extern long long mcount; | extern long long mcount; | ||||
extern long long mlimit; | extern long long mlimit; | ||||
extern char fileeol; | extern char fileeol; | ||||
extern char *label; | extern char *label; | ||||
extern const char *color; | extern const char *color; | ||||
extern int binbehave, devbehave, dirbehave, filebehave, grepbehave, linkbehave; | extern int binbehave, devbehave, dirbehave, filebehave, grepbehave, linkbehave; | ||||
extern cap_rights_t ro_rights; | |||||
extern bool do_cap_enter; | |||||
extern bool file_err, matchall; | extern bool file_err, matchall; | ||||
extern unsigned int dpatterns, fpatterns, patterns; | extern unsigned int dpatterns, fpatterns, patterns; | ||||
extern struct pat *pattern; | extern struct pat *pattern; | ||||
extern struct epat *dpattern, *fpattern; | extern struct epat *dpattern, *fpattern; | ||||
extern regex_t *er_pattern, *r_pattern; | extern regex_t *er_pattern, *r_pattern; | ||||
#ifndef WITHOUT_FASTMATCH | #ifndef WITHOUT_FASTMATCH | ||||
extern fastmatch_t *fg_pattern; | extern fastmatch_t *fg_pattern; | ||||
Show All 25 Lines |