[paranoia-dev] size32?

Monty xiphmont at xiph.org
Thu Dec 23 11:49:27 PST 1999



> Monty, et al, I was just read through cdda_interface.h (in the
> RPM-ification project), and I'm wondering -- Do you really mean to have
> non-POSIX types in cdda_interface.h ?  It seems to have 
> 
> typedef struct TOC {    /* structure of table of contents */
>   unsigned char bFlags;
>   unsigned char bTrack;
>   size32 dwStartSector;
> } TOC;

This is a packed struct coming straight off the hardware.  It's gotta be there.
We can additionally munge the Makefile to use int32_t, but not all platforms
have that either and whatever happens, I have to have the actual word size.
Note that the makefile provides size32 by way of autoconf. (In other places, I
use also use 16 bit ints, which are also absolutely necessary.)

But I think you meant something slightly different than I just addressed...

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send mail to 'paranoia-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia-dev mailing list