Added iso_volset_ref().

master
Vreixo Formoso Lopes 15 years ago
parent 485607ce7b
commit b9c4f7ad1d
  1. 2
      libisofs/libisofs.h
  2. 6
      libisofs/volume.c

@ -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.
*/

@ -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)
{

Loading…
Cancel
Save