From 8f1201f06b47dc4a9345dcb5bbf9072f279afb6c Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 13 Apr 2007 02:59:16 +0000 Subject: [PATCH] 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. --- libisofs/trunk/libisofs/volume.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/libisofs/trunk/libisofs/volume.c b/libisofs/trunk/libisofs/volume.c index 68b2a0ca..23f22b43 100755 --- a/libisofs/trunk/libisofs/volume.c +++ b/libisofs/trunk/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) {