Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsDataSource::rewind Data Member
dtsDataSource Structure | dtsDataSource Structure | Send Feedback

Pointer to a function that will initialize the dtsDataSource so the next getNextDoc call will return the first document.

int (* rewind)(void *pData);
Parameters
Parameters 
Description 
pData 
The value of dtsDataSource.pData 
Returns

0 if the data source was succesfully initialized, or -1 if initialization failed.

Description

The rewind function should return 0 if the data source was succesfully initialized, or -1 if initialization failed. If rewind returns -1, nothing will be indexed from the data source.

Structure
Links
You are here: C++ API > Classes > dtsDataSource Structure > dtsDataSource::rewind Data Member
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.