Skip to content

Conversation

@vklachkov
Copy link
Contributor

Blocked by #16.

After PR #14, the image gained metadata: sector size, superblock, and bitmap numbers. This is because images can vary greatly depending on their source: from a hard drive, bubble memory, or floppy disks (which also differ).

The next logical step would be to combine the metadata and the disk image into a single structure. This significantly simplifies the API and reduces the chance of mixing up metadata and the images from different sources.

This PR removes ccos_context_t and migrates the entire API to the ccos_disk_t structure, updating the doxygen comments for the changed functions. Nothing else changes. Function names remain the same, and there are no functional changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant