RegisterTextBufferScanFunctions(3U
W)
NIX SystemRV
egisterTextBufferScanFunctions(3W)
Text Buffer Utilities
NAME
RegisterTextBufferScanFunctions
SYNOPSIS
#include <textbuff.h>
...
extern void RegisterTextBufferScanFunctions(forward, backward)
char * (*forward)();
char * (*backward)();
DESCRIPTION
The RegisterTextBufferScanFunctions procedure provides the capability to
replace the scan functions used by the ForwardScanTextBuffer and
BackwardScanTextBuffer functions. These functions are called as:
(*forward)(string, curp, expression);
(*backward)(string, curp, expression);
and are responsible for returning either a pointer to the begining of a
match for the expression or NULL.
Calling this procedure with NULL function pointers reinstates the default
regular expression facility.
10/89 Page 1