tabs->spaces
[AROS.git] / arch / m68k-amiga / setpatch / setpatch_intern.h
blob790e6fd2d9241f22b17d3b3e22bb4400b484ef3d
1 /*
2 * Copyright (C) 2013, The AROS Development Team
3 * All right reserved.
4 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
6 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
7 */
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"
19 struct SetPatch_1 {
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 */
27 CONST_STRPTR se_Name;
30 struct SetPatch_2 {
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"
42 struct SetPatch_3 {
43 struct SignalSemaphore sp_Semaphore;
44 struct MinList sp_PatchList;
45 UWORD sp_Version_Major;
46 UWORD sp_Version_Minor;
49 struct SetPatchBase {
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;
56 #if 0
57 APTR sp_OldFindPort;
58 #endif
61 #endif /* SETPATCH_INTERN_H */