lq-text: LQT_PrintAndAcceptOneMatch

API int LQT_PrintAndAcceptOneMatch (db, Phrase, Match) t_LQTEXT_Database *db; t_Phrase *Phrase; t_Match *Match;

Purpose

This is intended for use as a callback function to be passed as an argument to LQT_Make­Matches­Where. It prints each match to stdout as it is read from disk, and also accepts it so that it is retained in the Phrase data structure.

Returns

LQM_ACCEPT

See Also: