int
saf_find_suites(SAF_ParMode pmode, /* The parallel mode. */
SAF_Db *database, /* The database in which to search. */
const char *name, /* The name to limit the search to. The constant SAF_ANY_NAME can be passed if
* the client does not want to limit the search by name. */
int *num_suites,/* [OUT] The returned number of suites. */
SAF_Suite **suites /* [OUT] The returned suites. */
)
{
SAF_ENTER(saf_find_suites, SAF_PRECONDITION_ERROR);
/* find suites of type SAF_SUITE */
saf_find_matching_sets(pmode, database, name, SAF_SUITE, 1, SAF_EXTENDIBLE_TORF, SAF_TOP_TRUE,
num_suites, suites);
SAF_LEAVE(SAF_SUCCESS);
}