Configuration variables include three subsets:
Cleanup variables, properties for cleanup models.
Cleanup action variables, properties for cleanup actions.
Topology variables, properties for topologies.
To allocate a set of configuration variables, regardless of which subset you will be using, use tpm_varalloc, which returns an ade_id for the set that it creates.
To free a set of configuration variables, use tpm_varfree.
To get the value of a configuration variable, use tpm_varget.
To set the value of a configuration variable, use tpm_varset.
To get the properties of a given cleanup action, first allocate a new set of variables, and then use tpm_cleanactionlistgetat.
To get the properties of a given topology, first allocate a new set of variables, and then use tpm_infobuildvar.
To list all the values of a given set of variables, use tpm_varlist.