Internal function to get the header and check it. */
| 96 | |
| 97 | /* Internal function to get the header and check it. */ |
| 98 | ILboolean iIsValidSgi() |
| 99 | { |
| 100 | iSgiHeader Head; |
| 101 | |
| 102 | if (!iGetSgiHead(&Head)) |
| 103 | return IL_FALSE; |
| 104 | iseek(-(ILint)sizeof(iSgiHeader), IL_SEEK_CUR); // Go ahead and restore to previous state |
| 105 | |
| 106 | return iCheckSgi(&Head); |
| 107 | } |
| 108 | |
| 109 | /*----------------------------------------------------------------------------*/ |
| 110 |
no test coverage detected