Added iso_volset_ref().

This commit is contained in:
Vreixo Formoso Lopes 2007-10-18 07:32:37 +00:00
parent 485607ce7b
commit b9c4f7ad1d
2 changed files with 8 additions and 0 deletions

View File

@ -442,6 +442,8 @@ struct iso_volume *iso_volume_new_with_root(const char *volume_id,
*/
void iso_volume_free(struct iso_volume *volume);
void iso_volset_ref(struct iso_volset *volset);
/**
* Free a set of data volumes.
*/

View File

@ -25,6 +25,12 @@ iso_volset_new(struct iso_volume *vol, const char *id)
return volset;
}
void
iso_volset_ref(struct iso_volset *volset)
{
++volset->refcount;
}
void
iso_volset_free(struct iso_volset *volset)
{