SAF_StateTmpl *
saf_declare_state_tmpl(SAF_ParMode pmode, /* The parallel mode. */
SAF_Db *database,
const char *name, /* The name of the state template. */
int num_ftmpls,/* Number of field templates that will comprise this state template. */
SAF_FieldTmpl *ftmpls, /* Array of field template handles. */
SAF_StateTmpl *stmpl /* The returned state template handle. */
)
{
SAF_ENTER(saf_declare_state_tmpl, NULL);
stmpl = saf_declare_field_tmpl(pmode, database, name, SAF_ALGTYPE_FIELD, SAF_ANY_BASIS, SAF_NOT_APPLICABLE_QUANTITY, num_ftmpls,
ftmpls, stmpl);
SAF_LEAVE(stmpl);
}