Next: Data replication
Up: The DAGDA API
Previous: Data checkpointing with DAGDA
For many applications using large sets of data shared by several
users, to use an automatically generated ID to retrieve a data is
difficult or even impossible. DAGDA allows the user to define data
aliases, using human readable and expressive strings to retrieve a
data ID. Two functions are defined to do it:
dagda_data_alias(const char* id, const char* alias):
to associate ``alias'' to ``id''. If the alias is
already defined, returns a non zero value. A data can have several
aliases but an alias is always associated to only one data.
dagda_id_from_alias(const char* alias, char** id):
function tries to retrieve the data id associated to the alias.
The DIET Team - Ven 18 nov 2011 18:13:39 PST