Category : C Source Code
Archive   : BMG.ZIP
Filename : BMG.H

 
Output of file : BMG.H contained in archive : BMG.ZIP
/*
* bmg.h -> Boyer-Moore-Gosper search definitions
*
* see bmg.c for documentation
*/

#define bmgMAXPAT 64 /* max pattern length */
typedef struct
{
unsigned char delta[256]; /* ASCII only deltas */
unsigned char pat[bmgMAXPAT + 1]; /* the pattern */
unsigned char ignore; /* ignore case flag */
}
bmgARG;

void bmgCompile(char *, bmgARG *, int);
int bmgSearch(char *, int, bmgARG *, int (*)());


/*
* END of bmg.h
*/


  3 Responses to “Category : C Source Code
Archive   : BMG.ZIP
Filename : BMG.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/