/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1985-2009 AT&T Intellectual Property * * and is licensed under the * * Common Public License, Version 1.0 * * by AT&T Intellectual Property * * * * A copy of the License is available at * * http://www.opensource.org/licenses/cpl1.0.txt * * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * * * * Information and Software Systems Research * * AT&T Research * * Florham Park NJ * * * * Glenn Fowler * * David Korn * * Phong Vo * * * ***********************************************************************/ #pragma prototyped /* * fast find private interface */ #ifndef _FINDLIB_H #define _FINDLIB_H #include #include #include #include #include #include #include #define FF_old 1 /* old format - 7 bit bigram */ #define FF_gnu 2 /* gnu 8 bit no bigram */ #define FF_dir 3 /* FF_gnu, dirs have trailing / */ #define FF_typ 4 /* FF_dir with types */ #define FF_gnu_magic "LOCATE02" #define FF_dir_magic "FIND-DIR-02" #define FF_typ_magic "FIND-DIR-TYPE-03" #define FF_ESC 0036 #define FF_MAX 0200 #define FF_MIN 0040 #define FF_OFF 0016 #define FF_SET_TYPE(p,i) ((p)->decode.bigram1[((i)>>3)&((1<types||((p)->decode.bigram1[((i)>>3)&((1< #endif