home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
200-299
/
ff201.lzh
/
Draco
/
drinc
/
libraries
/
dosextens.g
< prev
next >
Wrap
Text File
|
1989-04-03
|
3KB
|
166 lines
type
Task_t=unknown92,
MsgPort_t=unknown34,
Message_t=unknown20,
Library_t=unknown34,
BPTR=unknown4,
Handle_t=unknown4,
Lock_t=unknown4,
Segment_t=unknown4,
BSTR=ulong,
Process_t=struct{
Task_tpr_Task;
MsgPort_tpr_MsgPort;
uintpr_Pad;
Segment_tpr_SegList;
ulongpr_StackSize;
*bytepr_GlobVec;
ulongpr_TaskNum;
BPTRpr_StackBase;
ulongpr_Result2;
Lock_tpr_CurrentDir;
Handle_tpr_CIS;
Handle_tpr_COS;
*Process_tpr_ConsoleTask;
*Process_tpr_FileSystemTask;
Segment_tpr_CLI;
*bytepr_ReturnAddr;
*bytepr_PktWait;
*Window_tpr_WindowPtr;
},
FileHandle_t=struct{
*Message_tfh_Link;
*MsgPort_tfh_Port;
*MsgPort_tfh_Type;
BPTRfh_Buf;
ulongfh_Pos;
ulongfh_End;
ulongfh_Func1,fh_Func2,fh_Func3;
ulongfh_Arg1,fh_Arg2;
},
DosPacket_t=struct{
*Message_tdp_Link;
*MsgPort_tdp_Port;
ulongdp_Type;
ulongdp_Res1,dp_Res2;
ulongdp_Arg1,dp_Arg2,dp_Arg3,dp_Arg4,dp_Arg5,dp_Arg6,dp_Arg7;
},
StandardPacket_t=struct{
Message_tsp_Msg;
DosPacket_tsp_Pkt;
};
ulong
ACTION_NIL=0,
ACTION_GET_BLOCK=2,
ACTION_SET_MAP=4,
ACTION_DIE=5,
ACTION_EVENT=6,
ACTION_CURRENT_VOLUME=7,
ACTION_LOCATE_OBJECT=8,
ACTION_RENAME_DISK=9,
ACTION_WRITE='W'-'\e',
ACTION_READ='R'-'\e',
ACTION_FREE_LOCK=15,
ACTION_DELETE_OBJECT=16,
ACTION_RENAME_OBJECT=17,
ACTION_MORE_CACHE=18,
ACTION_COPY_DIR=19,
ACTION_WAIT_CHAR=20,
ACTION_SET_PROTECT=21,
ACTION_CREATE_DIR=22,
ACTION_EXAMINE_OBJECT=23,
ACTION_EXAMINE_NEXT=24,
ACTION_DISK_INFO=25,
ACTION_INFO=26,
ACTION_FLUSH=27,
ACTION_SET_COMMENT=28,
ACTION_PARENT=29,
ACTION_TIMER=30,
ACTION_INHIBIT=31,
ACTION_DISK_TYPE=32,
ACTION_DISK_CHANGE=33,
ACTION_SET_DATE=34,
ACTION_SCREEN_MODE=994;
type
DosLibrary_t=struct{
Library_tdl_lib;
*RootNode_tdl_Root;
*bytedl_GV;
ulongdl_A2,dl_A5,dl_A6;
},
RootNode_t=struct{
BPTRrn_TaskArray;
Segment_trn_ConsoleSegment;
DateStamp_trn_Time;
Segment_trn_RestartSeg;
BPTRrn_Info;
Segment_trn_FileHandlerSegment;
},
DosInfo_t=struct{
BPTRdi_McName;
BPTRdi_DevInfo;
BPTRdi_Devices;
BPTRdi_Handlers;
*Process_tdi_NetHand;
},
CommandLineInterface_t=struct{
ulongcli_Result2;
BSTRcli_SetName;
Lock_tcli_CommandDir;
ulongcli_ReturnCode;
BSTRcli_CommandName;
ulongcli_FailLevel;
BSTRcli_Prompt;
Handle_tcli_StandardInput;
Handle_tcli_CurrentInput;
BSTRcli_CommandFile;
ulongcli_Interactive;
ulongcli_Background;
Handle_tcli_CurrentOutput;
ulongcli_DefaultStack;
Handle_tcli_StandardOutput;
Segment_tcli_Module;
},
DeviceList_t=struct{
BPTRdl_Next;
ulongdl_Type;
*MsgPort_tdl_Task;
Lock_tdl_Lock;
DateStamp_tdl_VolumeDate;
BPTRdl_LockList;
ulongdl_DiskType;
ulongdl_unused;
BSTRdl_Name;
};
ulong
DLT_DEVICE=0,
DLT_DIRECTORY=1,
DLT_VOLUME=2;
type
FileLock_t=struct{
BPTRfl_Link;
ulongfl_Key;
longfl_Access;
*MsgPort_tfl_Task;
BPTRfl_Volume;
};