/* Automatically generated header! Do not edit! */

#ifndef __INC_POS_PINLINE_DOS_H
#define __INC_POS_PINLINE_DOS_H

#ifndef __INC_POS_PINLINE_MACROS_H
#include <pInline/macros.h>
#endif /* !__INC_POS_PINLINE_MACROS_H */

#ifndef __DOS_BASE_NAME
#define __DOS_BASE_NAME gb_DosBase
#endif /* !__DOS_BASE_NAME */

#ifndef __DOS_LIB_NAME
#define __DOS_LIB_NAME gb_DosBase
#endif /* !__DOS_LIB_NAME */

#define pOS_AddDosAssign(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7a4, BOOL, pOS_AddDosAssign, \
	const CHAR*, par1, __INLINE_REG_A0, __ARID__ struct pOS_FileLock*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0)

#define pOS_AddDosDefDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2b8, VOID, pOS_AddDosDefDevice, \
	struct pOS_DosDefDevice*, par1, __INLINE_REG_A0)

#define pOS_AddDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2e8, VOID, pOS_AddDosDevice, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0)

#define pOS_AddDosDeviceBuffers(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6e4, dossize_t, pOS_AddDosDeviceBuffers, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0, SLONG, par2, __INLINE_REG_D0)

#define pOS_AddPart(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x420, BOOL, pOS_AddPart, \
	dosname_t*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0)

#define pOS_AddSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x348, BOOL, pOS_AddSegment, \
	struct pOS_SegmentLst*, par1, __INLINE_REG_A0)

#define pOS_AllocDosObject(type, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5dc, __ARID__ APTR, pOS_AllocDosObject, \
	ULONG, type, __INLINE_REG_D0, ULONG, par2, __INLINE_REG_D1)

#define pOS_AllocDosProcessNum(num) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5c4, ULONG, pOS_AllocDosProcessNum, \
	ULONG, num, __INLINE_REG_D0)

#define pOS_ChangeDosFileAccess(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x774, BOOL, pOS_ChangeDosFileAccess, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_ChangeDosObjectAccess(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x714, BOOL, pOS_ChangeDosObjectAccess, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_CloneProcessPath(src, dst) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8dc, BOOL, pOS_CloneProcessPath, \
	const struct pOS_Process*, src, __INLINE_REG_A0, struct pOS_Process*, dst, __INLINE_REG_A1)

#define pOS_CloneVars(par1, par2, par3, flags) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x108, BOOL, pOS_CloneVars, \
	const struct pOS_ExList*, par1, __INLINE_REG_A0, struct pOS_ExList*, par2, __INLINE_REG_A1, struct pOS_MemPool*, par3, __INLINE_REG_A2, ULONG, flags, __INLINE_REG_D0)

#define pOS_CloseDOSVolume(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x270, VOID, pOS_CloseDOSVolume, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0)

#define pOS_CloseDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2c4, VOID, pOS_CloseDosDevice, \
	struct pOS_DosDevPathInfo*, par1, __INLINE_REG_A0)

#define pOS_CloseFHIOStruct(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x948, VOID, pOS_CloseFHIOStruct, \
	struct pOS_IOStruct*, par1, __INLINE_REG_A0)

#define pOS_CloseFile(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x588, VOID, pOS_CloseFile, \
	__ARID__ struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_CloseIOStruct(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x930, VOID, pOS_CloseIOStruct, \
	struct pOS_IOStruct*, par1, __INLINE_REG_A0)

#define pOS_CloseSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x324, VOID, pOS_CloseSegment, \
	__ARID__ struct pOS_SegmentLst*, par1, __INLINE_REG_A0)

#define pOS_CompareDates(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x168, SWORD, pOS_CompareDates, \
	const struct pOS_DateStamp*, par1, __INLINE_REG_A0, const struct pOS_DateStamp*, par2, __INLINE_REG_A1)

#define pOS_ConstructDosFH(par1, par2, mode) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7f8, VOID, pOS_ConstructDosFH, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, struct pOS_DosDevice*, par2, __INLINE_REG_A1, ULONG, mode, __INLINE_REG_D0)

#define pOS_ConstructDosLk(par1, par2, mode) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x810, VOID, pOS_ConstructDosLk, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, struct pOS_DosDevice*, par2, __INLINE_REG_A1, ULONG, mode, __INLINE_REG_D0)

#define pOS_ConstructDosMsgNotify(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6a8, VOID, pOS_ConstructDosMsgNotify, \
	struct pOS_DosNotifyReq*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0, struct pOS_MsgPort*, par4, __INLINE_REG_A2)

#define pOS_ConstructDosSigNotify(par1, par2, par3, par4, par5) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x69c, VOID, pOS_ConstructDosSigNotify, \
	struct pOS_DosNotifyReq*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0, struct pOS_Task*, par4, __INLINE_REG_A2, ULONG, par5, __INLINE_REG_D1)

#define pOS_ConstructParse(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1f8, VOID, pOS_ConstructParse, \
	struct pOS_Parse*, par1, __INLINE_REG_A0)

#define pOS_ConstructPattern(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1d4, VOID, pOS_ConstructPattern, \
	struct pOS_PatternMatching*, par1, __INLINE_REG_A0)

#define pOS_ConstructProcess(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x384, VOID, pOS_ConstructProcess, \
	struct pOS_Process*, par1, __INLINE_REG_A0)

#define pOS_ConstructShell(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xcc, VOID, pOS_ConstructShell, \
	struct pOS_Shell*, par1, __INLINE_REG_A0)

#define pOS_ConstructShellScript(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xb4, VOID, pOS_ConstructShellScript, \
	struct pOS_ShellScript*, par1, __INLINE_REG_A0)

#define pOS_CopyObjectName(currDir, oldName, newName, mode) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x858, BOOL, pOS_CopyObjectName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, oldName, __INLINE_REG_A1, const dosname_t*, newName, __INLINE_REG_A2, ULONG, mode, __INLINE_REG_D0)

#define pOS_CreateDOSTemplate(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x294, struct pOS_DosDevice*, pOS_CreateDOSTemplate, \
	const CHAR*, par1, __INLINE_REG_A0)

#define pOS_CreateDOSVolumeA(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x288, struct pOS_DosDevice*, pOS_CreateDOSVolumeA, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1, const struct pOS_DateStamp*, par3, __INLINE_REG_A2, const struct pOS_TagItem*, par4, __INLINE_REG_A3)

#ifndef __NO_INLINE_STDARG
#define pOS_CreateDOSVolume(a0, a1, a2, tags...) \
	({ULONG _tags[] = { tags }; pOS_CreateDOSVolumeA((a0), (a1), (a2), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_CreateDirectory(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x498, __ARID__ struct pOS_FileLock*, pOS_CreateDirectory, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1)

#define pOS_CreateDosArgs() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x234, __ARID__ struct pOS_DosArgs*, pOS_CreateDosArgs)

#define pOS_CreateDosAssign(assignName, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2a0, struct pOS_DosDevice*, pOS_CreateDosAssign, \
	const CHAR*, assignName, __INLINE_REG_A0, __ARID__ struct pOS_FileLock*, par2, __INLINE_REG_A1, const dosname_t*, par3, __INLINE_REG_A2, ULONG, par4, __INLINE_REG_D0)

#define pOS_CreateDosDevFromMount(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7bc, struct pOS_DosDevice*, pOS_CreateDosDevFromMount, \
	const struct pOS_DosMountDevice*, par1, __INLINE_REG_A0)

#define pOS_CreateDosMount(type) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x78c, struct pOS_DosMountDevice*, pOS_CreateDosMount, \
	ULONG, type, __INLINE_REG_D0)

#define pOS_CreateDosTokenList(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x24c, SLONG, pOS_CreateDosTokenList, \
	struct pOS_DosArgs*, par1, __INLINE_REG_A0)

#define pOS_CreateDosTokenString(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x258, const CHAR *, pOS_CreateDosTokenString, \
	struct pOS_DosArgs*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1)

#define pOS_CreateParse(stLow, stUpp) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x210, __ARID__ struct pOS_Parse *, pOS_CreateParse, \
	struct pOS_ParseObject**, stLow, __INLINE_REG_A0, struct pOS_ParseObject**, stUpp, __INLINE_REG_A1)

#define pOS_CreatePath(currDir, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8b8, __ARID__ struct pOS_FileLock*, pOS_CreatePath, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1)

#define pOS_CreateProcessA(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x36c, struct pOS_Process *, pOS_CreateProcessA, \
	const struct pOS_TagItem*, par1, __INLINE_REG_A0)

#ifndef __NO_INLINE_STDARG
#define pOS_CreateProcess(tags...) \
	({ULONG _tags[] = { tags }; pOS_CreateProcessA((const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_DateToStr(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x15c, BOOL, pOS_DateToStr, \
	struct pOS_DateTime*, par1, __INLINE_REG_A0)

#define pOS_DeleteDosArgs(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x264, VOID, pOS_DeleteDosArgs, \
	__ARID__ struct pOS_DosArgs*, par1, __INLINE_REG_A0)

#define pOS_DeleteDosAssign(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7b0, BOOL, pOS_DeleteDosAssign, \
	const CHAR*, par1, __INLINE_REG_A0, const struct pOS_FileLock*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0)

#define pOS_DeleteDosMount(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x780, VOID, pOS_DeleteDosMount, \
	struct pOS_DosMountDevice*, par1, __INLINE_REG_A0)

#define pOS_DeleteObjectLk(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x480, BOOL, pOS_DeleteObjectLk, \
	__ARID__ struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_DeleteObjectName(currDir, name) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x468, BOOL, pOS_DeleteObjectName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1)

#define pOS_DeleteParse(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x204, VOID, pOS_DeleteParse, \
	__ARID__ struct pOS_Parse*, par1, __INLINE_REG_A0)

#define pOS_DeleteProcess(par1, sigTask, signalSet) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8d0, VOID, pOS_DeleteProcess, \
	__ARID__ struct pOS_Process*, par1, __INLINE_REG_A0, struct pOS_Task*, sigTask, __INLINE_REG_A1, ULONG, signalSet, __INLINE_REG_D0)

#define pOS_DeleteVar(par1, flags, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x120, BOOL, pOS_DeleteVar, \
	const CHAR*, par1, __INLINE_REG_A0, ULONG, flags, __INLINE_REG_D0, struct pOS_Process*, par3, __INLINE_REG_A1)

#define pOS_DestructDosFH(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7ec, VOID, pOS_DestructDosFH, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_DestructDosLk(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x804, VOID, pOS_DestructDosLk, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_DestructDosNotify(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x690, VOID, pOS_DestructDosNotify, \
	struct pOS_DosNotifyReq*, par1, __INLINE_REG_A0)

#define pOS_DestructParse(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1ec, VOID, pOS_DestructParse, \
	struct pOS_Parse*, par1, __INLINE_REG_A0)

#define pOS_DestructPattern(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1c8, VOID, pOS_DestructPattern, \
	struct pOS_PatternMatching*, par1, __INLINE_REG_A0)

#define pOS_DestructProcess(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x81c, VOID, pOS_DestructProcess, \
	struct pOS_Process*, par1, __INLINE_REG_A0)

#define pOS_DestructShell(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xc0, VOID, pOS_DestructShell, \
	struct pOS_Shell*, par1, __INLINE_REG_A0)

#define pOS_DestructShellScript(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xa8, VOID, pOS_DestructShellScript, \
	struct pOS_Shell*, par1, __INLINE_REG_A0, struct pOS_ShellScript*, par2, __INLINE_REG_A1)

#define pOS_DosCheckSignal(signalMask) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x180, ULONG, pOS_DosCheckSignal, \
	ULONG, signalMask, __INLINE_REG_D0)

#define pOS_DosDelay(ticks) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x378, VOID, pOS_DosDelay, \
	ULONG, ticks, __INLINE_REG_D0)

#define pOS_DosEndNotify(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x678, VOID, pOS_DosEndNotify, \
	struct pOS_DosNotifyReq*, par1, __INLINE_REG_A0)

#define pOS_DosErrorReportA(errCode, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x66c, BOOL, pOS_DosErrorReportA, \
	ULONG, errCode, __INLINE_REG_D0, const struct pOS_TagItem*, par2, __INLINE_REG_A0)

#ifndef __NO_INLINE_STDARG
#define pOS_DosErrorReport(a0, tags...) \
	({ULONG _tags[] = { tags }; pOS_DosErrorReportA((a0), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_DosFindToken(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6c0, const struct pOS_DosToken*, pOS_DosFindToken, \
	const CHAR*, par1, __INLINE_REG_A0)

#define pOS_DosGetAliasComm(par1, buf, bufSize) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x9c, CHAR*, pOS_DosGetAliasComm, \
	const CHAR*, par1, __INLINE_REG_A0, CHAR*, buf, __INLINE_REG_A1, size_t, bufSize, __INLINE_REG_D0)

#define pOS_DosGetResString1(par1, buf, bufSize, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x90, CHAR*, pOS_DosGetResString1, \
	const CHAR*, par1, __INLINE_REG_A0, CHAR*, buf, __INLINE_REG_A1, size_t, bufSize, __INLINE_REG_D0, struct pOS_Shell*, par4, __INLINE_REG_A2)

#define pOS_DosStartNotify(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x684, BOOL, pOS_DosStartNotify, \
	struct pOS_DosNotifyReq*, par1, __INLINE_REG_A0)

#define pOS_DosString(par1, buf, bufSize, mode, escChar) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x900, ULONG, pOS_DosString, \
	const CHAR*, par1, __INLINE_REG_A0, CHAR*, buf, __INLINE_REG_A1, size_t, bufSize, __INLINE_REG_D0, ULONG, mode, __INLINE_REG_D1, ULONG, escChar, __INLINE_REG_D2)

#define pOS_DupFileHandle(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x54c, __ARID__ struct pOS_FileHandle*, pOS_DupFileHandle, \
	const struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_DupObjectLock(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4e0, __ARID__ struct pOS_FileLock*, pOS_DupObjectLock, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_ExNextObject(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4b0, BOOL, pOS_ExNextObject, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, struct pOS_FileInfoBlock*, par2, __INLINE_REG_A1)

#define pOS_ExamineFH(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x63c, BOOL, pOS_ExamineFH, \
	const struct pOS_FileHandle*, par1, __INLINE_REG_A0, struct pOS_FileInfoBlock*, par2, __INLINE_REG_A1)

#define pOS_ExamineObject(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4bc, BOOL, pOS_ExamineObject, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, struct pOS_FileInfoBlock*, par2, __INLINE_REG_A1)

#define pOS_ExamineObjectName(currDir, name, fib) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x864, BOOL, pOS_ExamineObjectName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, struct pOS_FileInfoBlock*, fib, __INLINE_REG_A2)

#define pOS_ExitProcess(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3cc, VOID, pOS_ExitProcess, \
	ULONG, par1, __INLINE_REG_D0)

#define pOS_FileEOF(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x618, ULONG, pOS_FileEOF, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_FileFRead(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x630, ULONG, pOS_FileFRead, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, APTR, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0, ULONG, par4, __INLINE_REG_D1)

#define pOS_FileFWrite(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x624, ULONG, pOS_FileFWrite, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const APTR, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0, ULONG, par4, __INLINE_REG_D1)

#define pOS_FileFlush(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x51c, BOOL, pOS_FileFlush, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_FileGetC(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x510, ULONG, pOS_FileGetC, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_FileGets(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x504, UBYTE*, pOS_FileGets, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, UBYTE*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0)

#define pOS_FilePart(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x408, dosname_t*, pOS_FilePart, \
	const dosname_t*, par1, __INLINE_REG_A0)

#define pOS_FilePutC(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x60c, ULONG, pOS_FilePutC, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_FilePuts(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x600, ULONG, pOS_FilePuts, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const UBYTE*, par2, __INLINE_REG_A1)

#define pOS_FileUnGetC(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x648, ULONG, pOS_FileUnGetC, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_FindVar(par1, flags, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x138, struct pOS_LocalVar*, pOS_FindVar, \
	const CHAR*, par1, __INLINE_REG_A0, ULONG, flags, __INLINE_REG_D0, struct pOS_Process*, par3, __INLINE_REG_A1)

#define pOS_FreeDosObject(type, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5d0, VOID, pOS_FreeDosObject, \
	ULONG, type, __INLINE_REG_D0, __ARID__ APTR, par2, __INLINE_REG_A0)

#define pOS_FreeDosProcessNum(num) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5b8, VOID, pOS_FreeDosProcessNum, \
	ULONG, num, __INLINE_REG_D0)

#define pOS_GetBootLock() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x828, struct pOS_FileLock*, pOS_GetBootLock)

#define pOS_GetCurrentDirName(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6b4, BOOL, pOS_GetCurrentDirName, \
	dosname_t*, par1, __INLINE_REG_A0, size_t, par2, __INLINE_REG_D0)

#define pOS_GetDateStamp(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x174, struct pOS_DateStamp*, pOS_GetDateStamp, \
	struct pOS_DateStamp*, par1, __INLINE_REG_A0)

#define pOS_GetDosDevice(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6fc, struct pOS_DosDevice*, pOS_GetDosDevice, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1)

#define pOS_GetDosDeviceName(name, type) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7d4, struct pOS_DosDevice*, pOS_GetDosDeviceName, \
	const CHAR*, name, __INLINE_REG_A0, ULONG, type, __INLINE_REG_D0)

#define pOS_GetDosErrText(err) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xfc, const CHAR*, pOS_GetDosErrText, \
	SLONG, err, __INLINE_REG_D0)

#define pOS_GetDosHandler(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6f0, struct pOS_DosDevice*, pOS_GetDosHandler, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1)

#define pOS_GetDosInfoData(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x444, BOOL, pOS_GetDosInfoData, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, struct pOS_DosInfoData*, par2, __INLINE_REG_A1)

#define pOS_GetDosInfoDataFH(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x978, BOOL, pOS_GetDosInfoDataFH, \
	const struct pOS_FileHandle*, par1, __INLINE_REG_A0, struct pOS_DosInfoData*, par2, __INLINE_REG_A1)

#define pOS_GetDosInfoDataName(currDir, name, data) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x888, BOOL, pOS_GetDosInfoDataName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, struct pOS_DosInfoData*, data, __INLINE_REG_A2)

#define pOS_GetDosMountName(name) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7c8, struct pOS_DosMountDevice*, pOS_GetDosMountName, \
	const CHAR*, name, __INLINE_REG_A0)

#define pOS_GetIoErr() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3d8, SLONG, pOS_GetIoErr)

#define pOS_GetNextDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x798, BOOL, pOS_GetNextDosDevice, \
	struct pOS_DosDevPathInfo*, par1, __INLINE_REG_A0)

#define pOS_GetProgDir() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x708, struct pOS_FileLock*, pOS_GetProgDir)

#define pOS_GetProgramName(par1, bufSize) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x99c, BOOL, pOS_GetProgramName, \
	CHAR*, par1, __INLINE_REG_A0, size_t, bufSize, __INLINE_REG_D0)

#define pOS_GetPrompt(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x654, BOOL, pOS_GetPrompt, \
	CHAR*, par1, __INLINE_REG_A0, size_t, par2, __INLINE_REG_D0)

#define pOS_GetSegmentPtrInfo(par1, par2, ptr, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x9b4, BOOL, pOS_GetSegmentPtrInfo, \
	const struct pOS_SegmentLst*, par1, __INLINE_REG_A0, const struct pOS_Segment*, par2, __INLINE_REG_A1, const VOID*, ptr, __INLINE_REG_A2, struct pOS_SegmentInfo*, par4, __INLINE_REG_A3)

#define pOS_GetStdErrOutput() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3a8, struct pOS_FileHandle*, pOS_GetStdErrOutput)

#define pOS_GetStdInput() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3c0, struct pOS_FileHandle*, pOS_GetStdInput)

#define pOS_GetStdOutput() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3b4, struct pOS_FileHandle*, pOS_GetStdOutput)

#define pOS_GetVar(par1, par2, par3, flags, par5) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x144, ULONG, pOS_GetVar, \
	const CHAR*, par1, __INLINE_REG_A0, UBYTE*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0, ULONG, flags, __INLINE_REG_D1, struct pOS_Process*, par5, __INLINE_REG_A2)

#define pOS_InhibitDosDevice(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6d8, BOOL, pOS_InhibitDosDevice, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_InitDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2f4, VOID, pOS_InitDosDevice, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0)

#define pOS_InitDosIOReq(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x300, struct pOS_Process*, pOS_InitDosIOReq, \
	const struct pOS_DosDevice*, par1, __INLINE_REG_A0, struct pOS_DosIOReq*, par2, __INLINE_REG_A1)

#define pOS_InternalLoadSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5f4, BOOL, pOS_InternalLoadSegment, \
	struct pOS_ISegmentData*, par1, __INLINE_REG_A0)

#define pOS_InternalUnloadSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5e8, BOOL, pOS_InternalUnloadSegment, \
	struct pOS_ISegmentData*, par1, __INLINE_REG_A0)

#define pOS_InterpretDosTokenList(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x240, SLONG, pOS_InterpretDosTokenList, \
	struct pOS_DosArgs*, par1, __INLINE_REG_A0)

#define pOS_IsFileInteractive(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x540, BOOL, pOS_IsFileInteractive, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_IsFileSystem(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4a4, BOOL, pOS_IsFileSystem, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_IsFileSystemName(currDir, name) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x474, BOOL, pOS_IsFileSystemName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1)

#define pOS_IsInfinite(lk1, name1, lk2, name2) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8e8, SLONG, pOS_IsInfinite, \
	const struct pOS_FileLock*, lk1, __INLINE_REG_A0, const dosname_t*, name1, __INLINE_REG_A1, const struct pOS_FileLock*, lk2, __INLINE_REG_A2, const dosname_t*, name2, __INLINE_REG_A3)

#define pOS_LoadSegmentA(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x318, __ARID__ struct pOS_SegmentLst *, pOS_LoadSegmentA, \
	const dosname_t*, par1, __INLINE_REG_A0, const struct pOS_TagItem*, par2, __INLINE_REG_A1)

#ifndef __NO_INLINE_STDARG
#define pOS_LoadSegment(a0, tags...) \
	({ULONG _tags[] = { tags }; pOS_LoadSegmentA((a0), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_LockDosDevList() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x840, VOID, pOS_LockDosDevList)

#define pOS_LockDosProcess(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x96c, VOID, pOS_LockDosProcess, \
	struct pOS_Process*, par1, __INLINE_REG_A0)

#define pOS_LockObject(par1, par2, mode) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4f8, __ARID__ struct pOS_FileLock*, pOS_LockObject, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, ULONG, mode, __INLINE_REG_D0)

#define pOS_LockProcessList() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5ac, VOID, pOS_LockProcessList)

#define pOS_LockShellPathList() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x990, __ARID__ const struct pOS_ExList*, pOS_LockShellPathList)

#define pOS_MatchPattern(area, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1b0, BOOL, pOS_MatchPattern, \
	__CONST__ struct pOS_PatternObj*, area, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1)

#define pOS_MountDosDevice(devName, fileName, args) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x7e0, UWORD, pOS_MountDosDevice, \
	const CHAR*, devName, __INLINE_REG_A0, const dosname_t*, fileName, __INLINE_REG_A1, const CHAR*, args, __INLINE_REG_A2)

#define pOS_MoveObjectName(currDir, oldName, newName, mode) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x84c, BOOL, pOS_MoveObjectName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, oldName, __INLINE_REG_A1, const dosname_t*, newName, __INLINE_REG_A2, ULONG, mode, __INLINE_REG_D0)

#define pOS_NameFromFH(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x744, BOOL, pOS_NameFromFH, \
	const struct pOS_FileHandle*, par1, __INLINE_REG_A0, dosname_t*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0)

#define pOS_NameFromObjectLock(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4c8, BOOL, pOS_NameFromObjectLock, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, dosname_t*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0)

#define pOS_OpenDOSVolumeA(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x27c, struct pOS_DosDevice*, pOS_OpenDOSVolumeA, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1, const struct pOS_DateStamp*, par3, __INLINE_REG_A2, const struct pOS_TagItem*, par4, __INLINE_REG_A3)

#ifndef __NO_INLINE_STDARG
#define pOS_OpenDOSVolume(a0, a1, a2, tags...) \
	({ULONG _tags[] = { tags }; pOS_OpenDOSVolumeA((a0), (a1), (a2), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_OpenDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2d0, BOOL, pOS_OpenDosDevice, \
	struct pOS_DosDevPathInfo*, par1, __INLINE_REG_A0)

#define pOS_OpenFHIOStruct(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x954, struct pOS_IOStruct*, pOS_OpenFHIOStruct, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_OpenFile(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x594, __ARID__ struct pOS_FileHandle*, pOS_OpenFile, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0)

#define pOS_OpenFileFromLock(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x750, __ARID__ struct pOS_FileHandle*, pOS_OpenFileFromLock, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_OpenIOStruct(par1, par2, mode) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x93c, struct pOS_IOStruct*, pOS_OpenIOStruct, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, ULONG, mode, __INLINE_REG_D0)

#define pOS_OpenSegment(par1, mode) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x330, __ARID__ struct pOS_SegmentLst *, pOS_OpenSegment, \
	const CHAR*, par1, __INLINE_REG_A0, ULONG, mode, __INLINE_REG_D0)

#define pOS_ParentObjectDir(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4d4, struct pOS_FileLock*, pOS_ParentObjectDir, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_ParsePatternA(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1bc, BOOL, pOS_ParsePatternA, \
	struct pOS_PatternMatching*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1, const struct pOS_TagItem*, par3, __INLINE_REG_A2)

#ifndef __NO_INLINE_STDARG
#define pOS_ParsePattern(a0, a1, tags...) \
	({ULONG _tags[] = { tags }; pOS_ParsePatternA((a0), (a1), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_Parsing(par1, priLevel) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1e0, struct pOS_ParseObject *, pOS_Parsing, \
	struct pOS_Parse*, par1, __INLINE_REG_A0, ULONG, priLevel, __INLINE_REG_D0)

#define pOS_PathMatchEnd(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x198, VOID, pOS_PathMatchEnd, \
	struct pOS_AnchorPath*, par1, __INLINE_REG_A0)

#define pOS_PathMatchFirst(par1, par2, ap, par4, par5) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x1a4, SLONG, pOS_PathMatchFirst, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const dosname_t*, par2, __INLINE_REG_A1, struct pOS_AnchorPath*, ap, __INLINE_REG_A2, const CHAR*, par4, __INLINE_REG_A3, ULONG, par5, __INLINE_REG_D0)

#define pOS_PathMatchNext(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x18c, SLONG, pOS_PathMatchNext, \
	struct pOS_AnchorPath*, par1, __INLINE_REG_A0)

#define pOS_PathPart(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x414, dosname_t*, pOS_PathPart, \
	const dosname_t*, par1, __INLINE_REG_A0)

#define pOS_PrintDosArgList(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x21c, VOID, pOS_PrintDosArgList, \
	struct pOS_DosArgs*, par1, __INLINE_REG_A0)

#define pOS_PrintDosErr(par1, str, error) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xf0, BOOL, pOS_PrintDosErr, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const CHAR*, str, __INLINE_REG_A1, ULONG, error, __INLINE_REG_D0)

#define pOS_ReadDosArgsA(par1, par2, areaNum, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x228, __ARID__ struct pOS_DosArgs*, pOS_ReadDosArgsA, \
	const CHAR*, par1, __INLINE_REG_A0, ULONG*, par2, __INLINE_REG_A1, size_t, areaNum, __INLINE_REG_D0, const struct pOS_TagItem*, par4, __INLINE_REG_A2)

#ifndef __NO_INLINE_STDARG
#define pOS_ReadDosArgs(a0, a1, a2, tags...) \
	({ULONG _tags[] = { tags }; pOS_ReadDosArgsA((a0), (a1), (a2), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_ReadFile(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x57c, dossize_t, pOS_ReadFile, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, APTR, par2, __INLINE_REG_A1, dossize_t, par3, __INLINE_REG_D0)

#define pOS_RelabelDosDevice(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x6cc, BOOL, pOS_RelabelDosDevice, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1)

#define pOS_RemDosDefDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2ac, VOID, pOS_RemDosDefDevice, \
	struct pOS_DosDefDevice*, par1, __INLINE_REG_A0)

#define pOS_RemDosDevice(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x2dc, VOID, pOS_RemDosDevice, \
	struct pOS_DosDevice*, par1, __INLINE_REG_A0)

#define pOS_RemSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x33c, BOOL, pOS_RemSegment, \
	struct pOS_SegmentLst*, par1, __INLINE_REG_A0)

#define pOS_RenameObject(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x48c, BOOL, pOS_RenameObject, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, struct pOS_FileLock*, par2, __INLINE_REG_A1, const dosname_t*, par3, __INLINE_REG_A2)

#define pOS_RenameObjectName(currDir, oldname, newName) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8ac, BOOL, pOS_RenameObjectName, \
	const struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, oldname, __INLINE_REG_A1, const dosname_t*, newName, __INLINE_REG_A2)

#define pOS_RunCommand(par1, stackSize, cin, cout, cerr, line) \
	__INLINE_FUN_6(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x360, SLONG, pOS_RunCommand, \
	struct pOS_SegmentLst*, par1, __INLINE_REG_A0, size_t, stackSize, __INLINE_REG_D0, struct pOS_FileHandle*, cin, __INLINE_REG_A1, struct pOS_FileHandle*, cout, __INLINE_REG_A2, struct pOS_FileHandle*, cerr, __INLINE_REG_A3, const CHAR*, line, __INLINE_REG_A4)

#define pOS_SameDosDevice(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x72c, BOOL, pOS_SameDosDevice, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const struct pOS_FileLock*, par2, __INLINE_REG_A1)

#define pOS_SameDosObject(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x720, ULONG, pOS_SameDosObject, \
	const struct pOS_FileLock*, par1, __INLINE_REG_A0, const struct pOS_FileLock*, par2, __INLINE_REG_A1)

#define pOS_SeekFile(par1, par2, mode) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x564, dossize_t, pOS_SeekFile, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, dospos_t, par2, __INLINE_REG_D0, SLONG, mode, __INLINE_REG_D1)

#define pOS_SetConsoleFH(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x39c, __ARID__ struct pOS_FileHandle*, pOS_SetConsoleFH, \
	__ARID__ struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_SetCurrentDirLock(lk) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xe4, __ARID__ struct pOS_FileLock*, pOS_SetCurrentDirLock, \
	__ARID__ struct pOS_FileLock*, lk, __INLINE_REG_A0)

#define pOS_SetCurrentDirName(name) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0xd8, BOOL, pOS_SetCurrentDirName, \
	const dosname_t*, name, __INLINE_REG_A0)

#define pOS_SetDosScreenMode(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x738, BOOL, pOS_SetDosScreenMode, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_A1)

#define pOS_SetFileDate(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x768, BOOL, pOS_SetFileDate, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const struct pOS_DateStamp*, par2, __INLINE_REG_A1)

#define pOS_SetFileHandleBuf(par1, par2, par3, par4) \
	__INLINE_FUN_4(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x528, BOOL, pOS_SetFileHandleBuf, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, UBYTE*, par2, __INLINE_REG_A1, ULONG, par3, __INLINE_REG_D0, dossize_t, par4, __INLINE_REG_D1)

#define pOS_SetFileSize(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x75c, BOOL, pOS_SetFileSize, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, dossize_t, par2, __INLINE_REG_A1)

#define pOS_SetIoErr(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3e4, SLONG, pOS_SetIoErr, \
	SLONG, par1, __INLINE_REG_D0)

#define pOS_SetObjectComment(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x438, BOOL, pOS_SetObjectComment, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, const CHAR*, par2, __INLINE_REG_A1)

#define pOS_SetObjectCommentName(currDir, name, string) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x87c, BOOL, pOS_SetObjectCommentName, \
	struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, const CHAR*, string, __INLINE_REG_A2)

#define pOS_SetObjectDate(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x45c, BOOL, pOS_SetObjectDate, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, const struct pOS_DateStamp*, par2, __INLINE_REG_A1)

#define pOS_SetObjectDateName(currDir, name, date) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8a0, BOOL, pOS_SetObjectDateName, \
	struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, const struct pOS_DateStamp*, date, __INLINE_REG_A2)

#define pOS_SetObjectProtection(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x42c, BOOL, pOS_SetObjectProtection, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0)

#define pOS_SetObjectProtectionName(currDir, name, bits) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x870, BOOL, pOS_SetObjectProtectionName, \
	struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, ULONG, bits, __INLINE_REG_D0)

#define pOS_SetObjectSize(par1, size) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x450, BOOL, pOS_SetObjectSize, \
	struct pOS_FileLock*, par1, __INLINE_REG_A0, dossize_t, size, __INLINE_REG_D0)

#define pOS_SetObjectSizeName(currDir, name, size) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x894, BOOL, pOS_SetObjectSizeName, \
	struct pOS_FileLock*, currDir, __INLINE_REG_A0, const dosname_t*, name, __INLINE_REG_A1, dossize_t, size, __INLINE_REG_D0)

#define pOS_SetProgDir(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x390, __ARID__ struct pOS_FileLock*, pOS_SetProgDir, \
	__ARID__ struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_SetProgramName(name) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x9a8, BOOL, pOS_SetProgramName, \
	const CHAR*, name, __INLINE_REG_A0)

#define pOS_SetPrompt(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x660, BOOL, pOS_SetPrompt, \
	const CHAR*, par1, __INLINE_REG_A0)

#define pOS_SetShellFail(err) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8c4, ULONG, pOS_SetShellFail, \
	ULONG, err, __INLINE_REG_D0)

#define pOS_SetStdErrOutput(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x90c, struct pOS_FileHandle*, pOS_SetStdErrOutput, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_SetStdInput(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x924, struct pOS_FileHandle*, pOS_SetStdInput, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_SetStdOutput(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x918, struct pOS_FileHandle*, pOS_SetStdOutput, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0)

#define pOS_SetVar(par1, par2, par3, flags, par5) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x12c, BOOL, pOS_SetVar, \
	const CHAR*, par1, __INLINE_REG_A0, const UBYTE*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0, ULONG, flags, __INLINE_REG_D1, struct pOS_Process*, par5, __INLINE_REG_A2)

#define pOS_SetVarLoc(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x114, BOOL, pOS_SetVarLoc, \
	struct pOS_LocalVar*, par1, __INLINE_REG_A0, const UBYTE*, par2, __INLINE_REG_A1, size_t, par3, __INLINE_REG_D0)

#define pOS_SplitName(par1, par2, par3, par4, size) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x3fc, size_t, pOS_SplitName, \
	const dosname_t*, par1, __INLINE_REG_A0, ULONG, par2, __INLINE_REG_D0, dosname_t*, par3, __INLINE_REG_A1, size_t, par4, __INLINE_REG_D1, size_t, size, __INLINE_REG_D2)

#define pOS_StrToDate(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x150, BOOL, pOS_StrToDate, \
	struct pOS_DateTime*, par1, __INLINE_REG_A0)

#define pOS_SystemA(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x354, SLONG, pOS_SystemA, \
	const CHAR*, par1, __INLINE_REG_A0, const struct pOS_TagItem*, par2, __INLINE_REG_A1)

#ifndef __NO_INLINE_STDARG
#define pOS_System(a0, tags...) \
	({ULONG _tags[] = { tags }; pOS_SystemA((a0), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_UnloadSegment(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x30c, VOID, pOS_UnloadSegment, \
	__ARID__ struct pOS_SegmentLst*, par1, __INLINE_REG_A0)

#define pOS_UnlockDosDevList() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x834, VOID, pOS_UnlockDosDevList)

#define pOS_UnlockDosProcess(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x960, VOID, pOS_UnlockDosProcess, \
	struct pOS_Process*, par1, __INLINE_REG_A0)

#define pOS_UnlockObject(par1) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x4ec, VOID, pOS_UnlockObject, \
	__ARID__ struct pOS_FileLock*, par1, __INLINE_REG_A0)

#define pOS_UnlockProcessList() \
	__INLINE_FUN_0(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x5a0, VOID, pOS_UnlockProcessList)

#define pOS_UnlockShellPathList(pathList) \
	__INLINE_FUN_1(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x984, VOID, pOS_UnlockShellPathList, \
	__ARID__ const struct pOS_ExList*, pathList, __INLINE_REG_A0)

#define pOS_VFWritef(par1, format, argv) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x558, dossize_t, pOS_VFWritef, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const CHAR*, format, __INLINE_REG_A1, const ULONG*, argv, __INLINE_REG_A2)

#define pOS_WaitForChar(par1, par2) \
	__INLINE_FUN_2(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x534, dossize_t, pOS_WaitForChar, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const struct pOS_TimeVal*, par2, __INLINE_REG_A1)

#define pOS_WriteDosArgsA(temp, area, areaNum, par4, par5) \
	__INLINE_FUN_5(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x8f4, BOOL, pOS_WriteDosArgsA, \
	const CHAR*, temp, __INLINE_REG_A0, ULONG*, area, __INLINE_REG_A1, size_t, areaNum, __INLINE_REG_D0, const struct pOS_DosArgs*, par4, __INLINE_REG_A2, const struct pOS_TagItem*, par5, __INLINE_REG_A3)

#ifndef __NO_INLINE_STDARG
#define pOS_WriteDosArgs(a0, a1, a2, a3, tags...) \
	({ULONG _tags[] = { tags }; pOS_WriteDosArgsA((a0), (a1), (a2), (a3), (const struct pOS_TagItem*)_tags);})
#endif /* !__NO_INLINE_STDARG */

#define pOS_WriteFile(par1, par2, par3) \
	__INLINE_FUN_3(__DOS_BASE_NAME, __DOS_LIB_NAME, 0x570, dossize_t, pOS_WriteFile, \
	struct pOS_FileHandle*, par1, __INLINE_REG_A0, const VOID*, par2, __INLINE_REG_A1, dossize_t, par3, __INLINE_REG_D0)

#endif /* !__INC_POS_PINLINE_DOS_H */
