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

@ -109,6 +109,9 @@ typedef struct iso_data_source IsoDataSource;
* drive.
*/
struct iso_data_source {
/* reserved for future usage, set to 0 */
int version;
/**
* Reference count for the data source. Should be 1 when a new source
@ -281,6 +284,9 @@ struct iso_filesystem
*/
char type[4];
/* reserved for future usage, set to 0 */
int version;
/**
* Get the root of a filesystem.
*
@ -358,6 +364,9 @@ struct iso_filesystem
*/
struct IsoFileSource_Iface
{
/* reserved for future usage, set to 0 */
int version;
/**
* Get the path, relative to the filesystem this file source belongs to.
*