8dword
HDD_TAP_Start(
const char *TAPFileName,
bool BatchMode,
void* ParameterBlock, dword *TAPID)
16 int shmidBatch = 0, shmidParameterBlock = 0;
17 char *segptrBatch = NULL;
27 if(TAPID != NULL) *TAPID = TAPInfo.
TAPID;
34 segptrBatch = (
char*)shmat(shmidBatch, 0, 0);
42 if(shmidParameterBlock != -1)
59 if(CurrentDir[strlen(CurrentDir) - 1] ==
'/') CurrentDir[strlen(CurrentDir) - 1] =
'\0';
62 memset(&_TempWorkFolder, 0,
sizeof(_TempWorkFolder));
63 _TempWorkFolder.
Magic = 0xbacaed31;
69 memcpy((
void*)_hddTapFolder[0], &_TempWorkFolder,
sizeof(_TempWorkFolder));
76 if(BatchMode && segptrBatch)
79 shmctl(shmidBatch, IPC_RMID, 0);
85 shmctl(shmidParameterBlock, IPC_RMID, 0);
void ApplHdd_RestoreWorkFolder(void)
void ApplHdd_SaveWorkFolder(void)
dword ApplHdd_SelectFolder(tDirEntry *FolderStruct, char *FolderPath)
void ApplHdd_SetWorkFolder(tDirEntry *FolderStruct)
void Appl_ExecProgram(char *FileName)
void ConvertPathType(const char *Source, char *Dest, tPathFormat DestFormat)
dword FIS_vHddTapFolder(void)
dword HDD_TAP_Start(const char *TAPFileName, bool BatchMode, void *ParameterBlock, dword *TAPID)
TYPE_Parametered_Tap * fbl_parametered_tap
bool HDD_TAP_GetInfo(const char *FileName, tTAPInfo *pTAPInfo)