Internal function to get the header and check it.
| 140 | |
| 141 | // Internal function to get the header and check it. |
| 142 | ILboolean iIsValidSun() |
| 143 | { |
| 144 | SUNHEAD Head; |
| 145 | |
| 146 | if (!iGetSunHead(&Head)) |
| 147 | return IL_FALSE; |
| 148 | iseek(-(ILint)sizeof(SUNHEAD), IL_SEEK_CUR); |
| 149 | |
| 150 | return iCheckSun(&Head); |
| 151 | } |
| 152 | |
| 153 | |
| 154 | // Reads a Sun file |
no test coverage detected