2006-10-30 05:32:33 +00:00
|
|
|
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
|
|
|
|
|
|
|
|
#ifndef BURN__FILE_H
|
|
|
|
#define BURN__FILE_H
|
|
|
|
|
2007-01-25 18:52:50 +00:00
|
|
|
/* ts A70125 :
|
|
|
|
Looks like burn_source_file and burn_source_fd become identical because
|
|
|
|
of the need to set a fixed_size of at least 600 kB.
|
|
|
|
I will try to unify both classes.
|
|
|
|
*/
|
2006-10-30 05:32:33 +00:00
|
|
|
struct burn_source_file
|
|
|
|
{
|
|
|
|
int datafd;
|
|
|
|
int subfd;
|
2007-01-25 18:52:50 +00:00
|
|
|
off_t fixed_size;
|
2006-10-30 05:32:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* ------ provisory location for the new source subclass fd --------- */
|
|
|
|
|
|
|
|
struct burn_source_fd
|
|
|
|
{
|
|
|
|
int datafd;
|
|
|
|
int subfd;
|
|
|
|
off_t fixed_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* LIBBURN__FILE_H */
|