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.
This commit is contained in:
Dave 2007-04-13 02:59:16 +00:00
parent 2030e73f84
commit 8f1201f06b

View File

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