.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "TEXTSEARCH_FIND_CONTINUOUS" "9" "09 October 2005" "" ""
.SH NAME
textsearch_find_continuous \- search a pattern in continuous/linear data
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
unsigned int textsearch_find_continuous (struct ts_config * \fIconf\fB, struct ts_state * \fIstate\fB, const void * \fIdata\fB, unsigned int \fIlen\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIconf\fB\fR
search configuration
.TP
\fB\fIstate\fB\fR
search state
.TP
\fB\fIdata\fB\fR
data to search in
.TP
\fB\fIlen\fB\fR
length of data
.SH "DESCRIPTION"
.PP
A simplified version of \fBtextsearch_find\fR for continuous/linear data.
Call \fBtextsearch_next\fR to retrieve subsequent matches.
.PP
Returns the position of first occurrence of the pattern or
UINT_MAX if no occurrence was found.