DiskDevice API v2.4

Tyler Dauwalder <tyler-cyCl/[email protected]>
Newsgroups gmane.os.openbeos.storage
Message-ID <[email protected]>
> Yep, just go ahead. I'm looking forward to seeing an updated version. 
> :-P

Done. :-)

http://www.dauwalder.net/DiskDeviceAPI_v2.4.zip

A few notes:

- I discovered and thus added in DiskDevicePrivate.h from 
headers/private/storage after updating it.

- I changed all int32s to uint32s, since, as Axel mentioned, Amiga can 
have some 4 billion partitions technically speaking, I figured there was 
no reason to skimp on bits due to laziness (which I assume is why all 
the int32s showed up so far; they didn't appear to be needed anywhere to 
allow for negative return values).

- Is your intent to populate a given BPartioningInfo object with data 
once and only once upon the call to BPartition::GetPartitioningInfo(), 
forcing a refresh by getting a new object via another call to 
BPartition::GetPartitioningInfo()? I assumed so thus far in making 
BPartitioningInfo.

- I added in all the iterations of the DiskDevice API headers to our 
cvs, just for good measure.

-Tyler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.