Implement the three setters declared in the public API but lacking an

implementation. The python bindings generated code complains about them 
being missing, and they seemed simple enough to write.
master
Dave 16 years ago
parent 5a64e11df5
commit bbd286f7e1
  1. 18
      libisofs/volume.c

@ -91,6 +91,24 @@ iso_volume_get_root(const struct iso_volume *volume)
return volume->root;
}
void iso_volume_set_volume_id(struct iso_volume *volume,
const char *volume_id)
{
volume->volume_id = strdup(volume_id);
}
void iso_volume_set_publisher_id(struct iso_volume *volume,
const char *publisher_id)
{
volume->publisher_id = strdup(publisher_id);
}
void iso_volume_set_data_preparer_id(struct iso_volume *volume,
const char *data_preparer_id)
{
volume->data_preparer_id = strdup(data_preparer_id);
}
struct iso_tree_node *
iso_tree_volume_path_to_node(struct iso_volume *volume, const char *path)
{

Loading…
Cancel
Save