mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Reformat code.
This commit is contained in:
@@ -45,13 +45,13 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void FileAttributes(const char* path)
|
||||
{
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
HParamBlockRec fpb;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
@@ -44,12 +44,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void DeleteFiles(const char* path)
|
||||
{
|
||||
OSErr rc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
OSErr rc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
int pos;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
|
||||
@@ -40,12 +40,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void DirectoryDepth(const char* path)
|
||||
{
|
||||
OSErr rc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
OSErr rc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
int pos = 0;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
|
||||
@@ -45,15 +45,15 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void Filenames(const char* path)
|
||||
{
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
char message[300];
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
char message[300];
|
||||
int pos = 0;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
|
||||
@@ -45,15 +45,15 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void MillionFiles(const char* path)
|
||||
{
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
char filename[9];
|
||||
OSErr rc, wRc, cRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
char filename[9];
|
||||
int pos = 0;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
|
||||
@@ -85,16 +85,16 @@ static pascal OSErr CreateAliasFile(FSSpec* targetFile, FSSpec* aliasFile, OSTyp
|
||||
|
||||
void Links(const char* path)
|
||||
{
|
||||
int32_t gestaltResponse;
|
||||
OSErr rc, wRc, cRc, oRc, aRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
int pos;
|
||||
FSSpec targetSpec, aliasSpec;
|
||||
int32_t gestaltResponse;
|
||||
OSErr rc, wRc, cRc, oRc, aRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
char filename[9];
|
||||
int pos;
|
||||
FSSpec targetSpec, aliasSpec;
|
||||
int32_t count;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
|
||||
@@ -5,12 +5,6 @@
|
||||
#ifndef SETTER_SRC_MACOS_RETRO68_H_
|
||||
#define SETTER_SRC_MACOS_RETRO68_H_
|
||||
|
||||
enum
|
||||
{
|
||||
fsRtParID = 1,
|
||||
fsRtDirID = 2
|
||||
};
|
||||
|
||||
#define FOUR_CHAR_CODE(x) (x)
|
||||
|
||||
/************** PC-DOS applications and FileTypes **************/
|
||||
|
||||
@@ -84,13 +84,13 @@ static OSErr SaveResourceToNewFile(int16_t vRefNum,
|
||||
|
||||
void ResourceFork(const char* path)
|
||||
{
|
||||
OSErr rc, wRc, cRc, rRc, rRc2, rRc3;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
OSErr rc, wRc, cRc, rRc, rRc2, rRc3;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
FInfo finderInfo;
|
||||
int32_t count;
|
||||
HParamBlockRec fpb;
|
||||
HParamBlockRec dirPB;
|
||||
|
||||
@@ -44,15 +44,15 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
void Timestamps(const char* path)
|
||||
{
|
||||
OSErr rc, wRc, cRc, tRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
int32_t count;
|
||||
HFileInfo* fpb;
|
||||
CInfoPBRec cipbr;
|
||||
OSErr rc, wRc, cRc, tRc;
|
||||
Str255 str255;
|
||||
HVolumeParam hpb;
|
||||
int16_t refNum;
|
||||
int16_t refFile;
|
||||
int32_t dirId;
|
||||
int32_t count;
|
||||
HFileInfo* fpb;
|
||||
CInfoPBRec cipbr;
|
||||
char message[300];
|
||||
HParamBlockRec dirPB;
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user