2006-08-15 20:37:04 +00:00
|
|
|
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
|
|
|
|
/* vim: set noet sts=8 ts=8 sw=8 : */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Extra declarations for use with the iso_volume structure.
|
|
|
|
*/
|
|
|
|
|
2006-08-24 19:23:37 +00:00
|
|
|
#ifndef LIBISO_VOLUME_H
|
|
|
|
#define LIBISO_VOLUME_H
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
#include "libisofs.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Data volume.
|
|
|
|
*/
|
|
|
|
struct iso_volume
|
|
|
|
{
|
2006-08-24 19:23:37 +00:00
|
|
|
int refcount; /**< Number of used references to this
|
2006-08-15 20:37:04 +00:00
|
|
|
volume. */
|
|
|
|
|
2007-05-31 04:25:39 +00:00
|
|
|
struct iso_tree_node_dir *root; /**< Root of the directory tree for the
|
2006-08-15 20:37:04 +00:00
|
|
|
volume. */
|
|
|
|
|
2006-09-19 17:06:40 +00:00
|
|
|
char *volume_id; /**< Volume identifier. */
|
|
|
|
char *publisher_id; /**< Volume publisher. */
|
|
|
|
char *data_preparer_id; /**< Volume data preparer. */
|
2007-05-12 00:30:04 +00:00
|
|
|
|
|
|
|
char *system_id; /**< Volume system identifier. */
|
|
|
|
char *application_id; /**< Volume application id */
|
|
|
|
char *copyright_file_id;
|
|
|
|
char *abstract_file_id;
|
|
|
|
char *biblio_file_id;
|
2007-06-05 22:01:26 +00:00
|
|
|
|
|
|
|
struct el_torito_boot_catalog *bootcat; /**< El-Torito boot catalog */
|
2006-08-15 20:37:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A set of data volumes.
|
|
|
|
*/
|
|
|
|
struct iso_volset
|
|
|
|
{
|
|
|
|
int refcount;
|
|
|
|
|
|
|
|
struct iso_volume **volume; /**< The volumes belonging to this
|
|
|
|
volume set. */
|
|
|
|
int volset_size; /**< The number of volumes in this
|
|
|
|
volume set. */
|
|
|
|
|
2006-09-19 17:06:40 +00:00
|
|
|
char *volset_id; /**< The id of this volume set, encoded
|
2006-08-15 20:37:04 +00:00
|
|
|
in the current locale. */
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __ISO_VOLUME */
|