Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

scans_grind.c File Reference

Implements a scan for matching patterns in two or more buffers. More...

#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "fret.h"
#include "scans_grind.h"
#include "common.h"

Include dependency graph for scans_grind.c:


Data Structures

struct  State
 Describes the internal state of a Scan. More...

Functions

bool scanGrind (const unsigned char *const pBufferA, const size_t lenA, const unsigned char *const pBufferB, const size_t lenB, void *const pState, Gram *const pGramA, Gram *const pGramB)

Detailed Description

Implements a scan for matching patterns in two or more buffers.


Function Documentation

bool scanGrind const unsigned char *const   pBufferA,
const size_t  lenA,
const unsigned char *const   pBufferB,
const size_t  lenB,
void *const   pState,
Gram *const   pGramA,
Gram *const   pGramB
 

Function scans two buffers for matching patterns of bytes within the buffers. It ignores sequences of fill bytes because they provide too many meaningless matches.

See also:
Phase5ScanFunc for parameter description.


Generated on Thu Jan 19 18:59:26 2006 for FRET by  doxygen 1.4.4