Synopsis

(macro) void ddf_SetFieldPathPtr(DDF_FLD_PATH *fld_path, DBA_PTR db_ptr)

Purpose

Store a database pointer in a field path.

Description

This function provides a simple way of changing the database pointer specified in a field path. The database pointer must be the first level in fld_path (i.e. fld_path should be of the form #db_ptr.field). By using this function an application can setup a field path for a specific entity type and reuse it by just changing the database pointer in it.

Input

fld_path

The field path to set the db_ptr in

db_ptr

Database pointer to be placed in fld_path