Add version field to all structs that will remain public.

This commit is contained in:
Vreixo Formoso
2008-01-26 13:15:15 +01:00
parent 764e99e34b
commit 1a1fcf8362
5 changed files with 15 additions and 0 deletions

View File

@ -683,6 +683,7 @@ void ifs_free(IsoFileSource *src)
}
IsoFileSourceIface ifs_class = {
0, /* version */
ifs_get_path,
ifs_get_name,
ifs_lstat,
@ -1685,6 +1686,7 @@ int iso_image_filesystem_new(IsoDataSource *src, struct iso_read_opts *opts,
strncpy(ifs->type, "iso ", 4);
ifs->data = data;
ifs->refcount = 1;
ifs->version = 0;
ifs->get_root = ifs_get_root;
ifs->get_by_path = ifs_get_by_path;
ifs->get_id = ifs_get_id;