More documentation for burn_source

This commit is contained in:
Thomas Schmitt 2007-10-03 08:41:01 +00:00
parent ce7678b8f4
commit 01ec5f031d
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.10.02.180003" #define Cdrskin_timestamP "2007.10.03.084206"

View File

@ -336,6 +336,9 @@ struct burn_source {
/** Read data from the source. Semantics like with read(2), but MUST /** Read data from the source. Semantics like with read(2), but MUST
either deliver the full buffer as defined by size or MUST deliver either deliver the full buffer as defined by size or MUST deliver
EOF (return -1) at the following call. EOF (return -1) at the following call.
libburn will read a single sector by each call to (*read).
The size of a sector depends on BURN_MODE_*. The known range is
2048 to 2352.
*/ */
int (*read)(struct burn_source *, unsigned char *buffer, int size); int (*read)(struct burn_source *, unsigned char *buffer, int size);