From 01ec5f031da70bd146f2649cd19666a640e8002e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 3 Oct 2007 08:41:01 +0000 Subject: [PATCH] More documentation for burn_source --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/libburn.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 3d230c3..cb82bc6 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.10.02.180003" +#define Cdrskin_timestamP "2007.10.03.084206" diff --git a/libburn/libburn.h b/libburn/libburn.h index a9f9abd..db59afc 100644 --- a/libburn/libburn.h +++ b/libburn/libburn.h @@ -336,6 +336,9 @@ struct burn_source { /** Read data from the source. Semantics like with read(2), but MUST either deliver the full buffer as defined by size or MUST deliver 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);