/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* fast find private interface
*/
#ifndef _FINDLIB_H
#define _FINDLIB_H
#include <ast.h>
#include <cdt.h>
#include <ctype.h>
#include <error.h>
#include <ls.h>
#include <regex.h>
#include <vmalloc.h>
#define FF_OK_TYPE(p,i) (!(p)->types||((p)->decode.bigram1[((i)>>3)&((1<<CHAR_BIT)-1)]&(1<<((i)&07))))
typedef struct
{
char* end;
char* type;
char* restore;
int count;
int found;
int ignorecase;
int match;
int peek;
int swap;
} Decode_t;
typedef struct
{
int prefix;
} Encode_t;
typedef union
{
} Code_t;
typedef struct
{
unsigned long index;
} Type_t;
#define _FIND_PRIVATE_ \
Finddisc_t* disc; \
char** dirs; \
int* lens; \
int generate; \
int method; \
int secure; \
int types; \
int verify; \
#include <find.h>
#endif