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

@ -247,6 +247,7 @@ libburn_data_source_new(struct burn_drive *d)
IsoDataSource *ret;
ret = malloc(sizeof(IsoDataSource));
ret->version = 0;
ret->refcount = 1;
ret->read_block = libburn_ds_read_block;
ret->open = libburn_ds_open;