X-Git-Url: https://git.gag.com/?p=debian%2Fcpmtools;a=blobdiff_plain;f=device.h;h=319604e4ef0623a9ad0141ba36b9dc5dc369cbd2;hp=474dd5956ec6b684674e7efbfb88bcfb7f725276;hb=b1e873c5b2f6376bb39ff0fda1464cbbacbae5f7;hpb=edf600144998d1a1e09898548938cc11b95c10bc diff --git a/device.h b/device.h index 474dd59..319604e 100644 --- a/device.h +++ b/device.h @@ -28,7 +28,7 @@ struct Device }; const char *Device_open(struct Device *self, const char *filename, int mode, const char *deviceOpts); -void Device_setGeometry(struct Device *self, int secLength, int sectrk, int tracks, off_t offset); +const char *Device_setGeometry(struct Device *self, int secLength, int sectrk, int tracks, off_t offset, const char *libdskGeometry); const char *Device_close(struct Device *self); const char *Device_readSector(const struct Device *self, int track, int sector, char *buf); const char *Device_writeSector(const struct Device *self, int track, int sector, const char *buf);