From bbd286f7e14e4b6819941067622d0cdef8c8fa35 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/volume.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/libisofs/volume.c b/libisofs/volume.c index 68b2a0c..23f22b4 100755 --- a/libisofs/volume.c +++ b/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) {