5 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
8 Desc: Utility functions for exec.
12 #include <aros/asmcall.h>
13 #include <exec/types.h>
29 APTR
Exec_AllocTaskMem (struct Task
* task
, ULONG size
, ULONG flags
, struct ExecBase
*SysBase
);
30 void Exec_FreeTaskMem (struct Task
* task
, APTR mem
, struct ExecBase
*SysBase
);
32 void Exec_InitETask(struct Task
*task
, struct ETask
*etask
, struct ExecBase
*SysBase
);
33 void Exec_CleanupETask(struct Task
*task
, struct ETask
*et
, struct ExecBase
*SysBase
);
34 struct Task
*Exec_FindTaskByID(ULONG id
, struct ExecBase
*SysBase
);
35 struct ETask
*Exec_FindChild(ULONG id
, struct ExecBase
*SysBase
);
36 struct IntETask
*FindETask(struct List
*, ULONG id
, struct ExecBase
*SysBase
);
38 APTR
InternalRawDoFmt(CONST_STRPTR FormatString
, APTR DataStream
, VOID_FUNC PutChProc
,
39 APTR PutChData
, va_list VaListStream
);
42 * Pseudo-functions, including SysBase for nicer calling...
44 #define AllocTaskMem(t,s,f) Exec_AllocTaskMem(t,s,f,SysBase)
45 #define FreeTaskMem(t,m) Exec_FreeTaskMem(t,m,SysBase)
46 #define FindTaskByID(i) Exec_FindTaskByID(i,SysBase)
47 #define FindChild(i) Exec_FindChild(i,SysBase)
48 #define FindETask(l,i) Exec_FindETask(l,i,SysBase)
49 #define InitETask(t,e) Exec_InitETask(t,e,SysBase)
50 #define CleanupETask(t,e) Exec_CleanupETask(t,e,SysBase)
52 #endif /* _EXEC_UTIL_H */