# Synopsis

(macro) int ddf_GetEntityTFI2(DDF *ddf, DDF_TF tf)

# Purpose

Get entity TFI.

# Description

The TFI for the entity TF tf in the DDF ddf is returned. The TFI can then be used to invoke the ddf_GetTFIXxxx routines. It is more efficient to obtain the TFI for the entity and then call the ddf_GetTFIXxxxx routines than to use the ddf_GetEntityXxxxx functions. See the ddf_intro man page for a discussion of TFs and TFIs.

# Input

## ddf

The DDF which tf is defined in

## tf

Entity TF whose TFI is to be returned

# Return

The entity TFI of tf.