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

scans_fill.c File Reference

Implements scans for series of fill bytes within a Buffer. More...

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

Include dependency graph for scans_fill.c:


Data Structures

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

Functions

bool scanFill (const unsigned char *const pBuffer, const size_t length, void *const pState, Gram *const pGram)
void * newStateFill (void)

Detailed Description

Implements scans for series of fill bytes within a Buffer.

Implements one Scan that looks for series of 1-byte fills within a data Buffer.


Function Documentation

void* newStateFill void   ) 
 

Creates a variable that holds the state of the Scan between calls.

bool scanFill const unsigned char *const   pBuffer,
const size_t  length,
void *const   pState,
Gram *const   pGram
 

Function scans a buffer for a series of repeating bytes.

See also:
Phase2ScanFunc for parameter description.


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