Synopsis

MDA_PTR mda_IsTFInList(DDF_TF tf, MDA_COUNT ptr_count, MDA_PTR *ptr_list)

Purpose

Check for a TF in a pointer list.

Description

The TF of each pointer in ptr_list will be compared against tf. The first pointer in ptr_list with a matching TF will be returned. If no match is found, a value of MDA_NULL_PTR will be returned.

Input

tf

TF to search for in ptr_list

ptr_count

Number of pointers in ptr_list

ptr_list

List of pointers to search for tf in

Return

First pointer ptr_list with a TF matching tf or MDA_NULL_PTR if no matching TF was found.