Synopsis

int ddf_FindTF(DDF_TF *tflist, int count, DDF_TF tf)

Purpose

Locate an entry in a TF list.

Description

The TF list tflist will be searched for tf. If found the TFI of the entry will be returned, otherwise a value of -1 will be returned. The number of TFs in tflist is specified in count.

Input

tflist

TF list to be searched

count

Number of entries in tflist

tf

TF to be located in tflist

Return

If >= 0, TFI of the entity, otherwise the TF was not found.