11 #define hasRC(rc,c) ((rc)&(c))
20 #define RC_FOPEN 1<<10
21 #define RC_NULLPTR 1<<12
25 #define RC_BLOCKTYPE 1
26 #define RC_BLOCKSTYPE 1<<1
27 #define RC_BLOCKSUM 1<<2
28 #define RC_HEADERKEY 1<<3
29 #define RC_BLOCKREAD 1<<4
32 #define RC_BLOCKWRITE 1<<4
36 #define RC_BLOCKOUTOFRANGE 1
37 #define RC_BLOCKNATREAD 1<<1
40 /* RC_BLOCKOUTOFRANGE */
41 #define RC_BLOCKNATWRITE 1<<1
42 #define RC_BLOCKREADONLY 1<<2
44 /* adfInitDumpDevice() */
48 /* adfNativeReadBlock(), adfReadDumpSector() */
50 #define RC_BLOCKSHORTREAD 1
51 #define RC_BLOCKFSEEK 1<<1
53 /* adfNativeWriteBlock(), adfWriteDumpSector() */
55 #define RC_BLOCKSHORTWRITE 1
59 /*-- adfReadRDSKblock --*/
60 #define RC_BLOCKID 1<<5
62 /*-- adfWriteRDSKblock() --*/
65 #endif /* ADF_ERR_H */
67 /*############################################################################*/