| 26 | static RETCODE adfReleaseDevice(struct Device*); |
| 27 | |
| 28 | static std::string modeToString(long access) |
| 29 | { |
| 30 | std::stringstream ss; |
| 31 | if (hasH(access)) |
| 32 | ss << 'H'; |
| 33 | if (hasS(access)) |
| 34 | ss << 'S'; |
| 35 | if (hasP(access)) |
| 36 | ss << 'P'; |
| 37 | if (hasA(access)) |
| 38 | ss << 'A'; |
| 39 | if (hasR(access)) |
| 40 | ss << 'R'; |
| 41 | if (hasW(access)) |
| 42 | ss << 'W'; |
| 43 | if (hasE(access)) |
| 44 | ss << 'E'; |
| 45 | if (hasD(access)) |
| 46 | ss << 'D'; |
| 47 | return ss.str(); |
| 48 | } |
| 49 | |
| 50 | class AmigaFfsFilesystem : public Filesystem |
| 51 | { |