⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 verifyicb.c

📁 存取UDF格式的DVD光盘的驱动程序
💻 C
字号:
#include "../nsrHdrs/nsr.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <ctype.h>#include "chkudf.h"#include "protos.h"/* *  Read a File Entry and extract the basics. */int checkICB(struct FileEntry *fe, struct long_ad FE, int dir){  if (fe) {    if (!CheckTag((struct tag *)fe, U_endian32(FE.Location_LBN), TAGID_FILE_ENTRY, 16, blocksize)) {      printf("(%10d) ", U_endian32(fe->InfoLengthL));    }    if (dir && fe->sICBTag.FileType != FILE_TYPE_DIRECTORY) {       printf("[Type: %d] ", fe->sICBTag.FileType);    }    if (!dir && fe->sICBTag.FileType != FILE_TYPE_RAW) {       printf("[Type: %d] ", fe->sICBTag.FileType);    }  } else {    Error.Code = ERR_READ;    Error.Sector = U_endian32(FE.Location_LBN);  }/* Verify that the information length is consistent with the descriptors.   Verify the recorded sectors field. */  DumpError();  return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -