# Synopsis

PDX_MSGT mda_FindParentsByTF(long option, MDA_PTR db_ptr, DDF_TF tf, int *num_parents, MDA_PTR **parents)

# Purpose

Find parents by TF.

# Description

Traverse all the parents to find the specified TF. The parents of parents will be traversed until a match is found or there is no parent.

# Input

## option

Options (not used)

## db_ptr

Entity to find parent of

## tf

Typeform of parent to find

# Output

## num_parents

Number of parents that match this TF

## parents

List of parents of the passed in MDA_PTR

# Return

MDA_NOERR