2 * Copyright (C) 2013, The AROS Development Team
4 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
6 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
9 #ifndef SETPATCH_INTERN_H
10 #define SETPATCH_INTERN_H
12 #include <exec/types.h>
13 #include <exec/ports.h>
14 #include <exec/semaphores.h>
15 #include <exec/libraries.h>
17 #define SETPATCH_1_NAME "SetPatch-01"
20 struct MsgPort sp_MsgPort
;
23 #define SETPATCH_2_NAME "SetPatch Port"
25 struct SetPatch_2_Entry
{
26 ULONG se_Valid
; /* 0 terminates the list */
31 struct MsgPort sp_MsgPort
;
32 UWORD sp_Version_Major
;
33 UWORD sp_Version_Minor
;
34 struct SetPatch_2_Entry
*sp_PatchTable
;
35 ULONG sp_PatchEntrySize
;
36 ULONG sp_ThisIsTheValue2
;
40 #define SETPATCH_3_NAME "\253 SetPatch \273"
43 struct SignalSemaphore sp_Semaphore
;
44 struct MinList sp_PatchList
;
45 UWORD sp_Version_Major
;
46 UWORD sp_Version_Minor
;
50 struct Library sp_Library
;
51 struct SetPatch_1 sp_Patch1
;
52 struct SetPatch_2 sp_Patch2
;
53 struct SetPatch_2_Entry sp_Entry2
[2]; /* Fake list */
54 struct SetPatch_3 sp_Patch3
; /* Actual list */
55 APTR sp_OldFindSemaphore
;
61 #endif /* SETPATCH_INTERN_H */