| 1054 | } |
| 1055 | |
| 1056 | stream *openfile(const char *filename, const char *mode) |
| 1057 | { |
| 1058 | const char *found = findfile(filename, mode); |
| 1059 | #ifndef STANDALONE |
| 1060 | if(!strncmp(found, "zip://", 6)) return openzipfile(found + 6, mode); |
| 1061 | #endif |
| 1062 | return openrawfile(found, mode); |
| 1063 | } |
| 1064 | |
| 1065 | int getfilesize(const char *filename) |
| 1066 | { |
no test coverage detected