65 char Mon[13][4] = {
"",
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"};
75 for(i = 1; i <= 12; i++)
76 if(!strcmp(s, Mon[i]))
82 pTAPInfo->
Date = TAP_MakeMjd(y, m, d);
89 pTAPInfo->
Author[0] =
'\0';
97 #ifdef MAX_PROGRAM_VERSION
98 pTAPInfo->TAPVersion[0] =
'\0';
100 if(Index)
ELFReadData(Index, pTAPInfo->TAPVersion);
dword ELFGetSectionIndex(const char *SectionName)
bool ELFOpenFile(const char *FileName)
bool ELFReadDWORD(dword SectionIndex, dword *Data)
bool ELFReadData(dword SectionIndex, byte *Data)
bool ELFReadShstrtabSection(void)
bool HDD_TAP_GetInfo(const char *FileName, tTAPInfo *pTAPInfo)
char Author[MAX_AUTHOR_NAME]
char TAPName[MAX_PROGRAM_NAME]
char Description[MAX_DESCRIPTION]