1 /* Automatically generated header! Do not edit! */ 2 3 #ifndef _PPCINLINE_XADMASTER_H 4 #define _PPCINLINE_XADMASTER_H 5 6 #ifndef __PPCINLINE_MACROS_H 7 #include <ppcinline/macros.h> 8 #endif /* !__PPCINLINE_MACROS_H */ 9 10 #ifndef XADMASTER_BASE_NAME 11 #define XADMASTER_BASE_NAME xadMasterBase 12 #endif /* !XADMASTER_BASE_NAME */ 13 14 #define xadGetClientInfo() \ 15 LP0(78, struct xadClient *, xadGetClientInfo, \ 16 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 17 18 #define xadAllocVec(__p0, __p1) \ 19 LP2(108, xadPTR , xadAllocVec, \ 20 xadSize , __p0, d0, \ 21 xadUINT32 , __p1, d1, \ 22 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 23 24 #define xadFileUnArcA(__p0, __p1) \ 25 LP2(60, xadERROR , xadFileUnArcA, \ 26 struct xadArchiveInfo *, __p0, a0, \ 27 const struct TagItem *, __p1, a1, \ 28 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 29 30 #define xadAllocObjectA(__p0, __p1) \ 31 LP2(30, xadPTR , xadAllocObjectA, \ 32 xadUINT32 , __p0, d0, \ 33 const struct TagItem *, __p1, a0, \ 34 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 35 36 #define xadAddFileEntryA(__p0, __p1, __p2) \ 37 LP3(156, xadERROR , xadAddFileEntryA, \ 38 struct xadFileInfo *, __p0, a0, \ 39 struct xadArchiveInfo *, __p1, a1, \ 40 const struct TagItem *, __p2, a2, \ 41 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 42 43 #define xadConvertNameA(__p0, __p1) \ 44 LP2(174, xadSTRPTR , xadConvertNameA, \ 45 xadUINT32 , __p0, d0, \ 46 const struct TagItem *, __p1, a0, \ 47 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 48 49 #define xadGetHookAccessA(__p0, __p1) \ 50 LP2(144, xadERROR , xadGetHookAccessA, \ 51 struct xadArchiveInfo *, __p0, a0, \ 52 const struct TagItem *, __p1, a1, \ 53 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 54 55 #define xadRecogFileA(__p0, __p1, __p2) \ 56 LP3(42, struct xadClient *, xadRecogFileA, \ 57 xadSize , __p0, d0, \ 58 const void *, __p1, a0, \ 59 const struct TagItem *, __p2, a1, \ 60 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 61 62 #define xadConvertDatesA(__p0) \ 63 LP1(90, xadERROR , xadConvertDatesA, \ 64 const struct TagItem *, __p0, a0, \ 65 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 66 67 #define xadDiskUnArcA(__p0, __p1) \ 68 LP2(66, xadERROR , xadDiskUnArcA, \ 69 struct xadArchiveInfo *, __p0, a0, \ 70 const struct TagItem *, __p1, a1, \ 71 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 72 73 #define xadHookTagAccessA(__p0, __p1, __p2, __p3, __p4) \ 74 LP5(120, xadERROR , xadHookTagAccessA, \ 75 xadUINT32 , __p0, d0, \ 76 xadSignSize , __p1, d1, \ 77 xadPTR , __p2, a0, \ 78 struct xadArchiveInfo *, __p3, a1, \ 79 const struct TagItem *, __p4, a2, \ 80 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 81 82 #define xadAddDiskEntryA(__p0, __p1, __p2) \ 83 LP3(162, xadERROR , xadAddDiskEntryA, \ 84 struct xadDiskInfo *, __p0, a0, \ 85 struct xadArchiveInfo *, __p1, a1, \ 86 const struct TagItem *, __p2, a2, \ 87 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 88 89 #define xadGetErrorText(__p0) \ 90 LP1(72, xadSTRPTR , xadGetErrorText, \ 91 xadERROR , __p0, d0, \ 92 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 93 94 #define xadGetInfoA(__p0, __p1) \ 95 LP2(48, xadERROR , xadGetInfoA, \ 96 struct xadArchiveInfo *, __p0, a0, \ 97 const struct TagItem *, __p1, a1, \ 98 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 99 100 #define xadFreeInfo(__p0) \ 101 LP1NR(54, xadFreeInfo, \ 102 struct xadArchiveInfo *, __p0, a0, \ 103 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 104 105 #define xadGetDefaultNameA(__p0) \ 106 LP1(180, xadSTRPTR , xadGetDefaultNameA, \ 107 const struct TagItem *, __p0, a0, \ 108 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 109 110 #define xadConvertProtectionA(__p0) \ 111 LP1(126, xadERROR , xadConvertProtectionA, \ 112 const struct TagItem *, __p0, a0, \ 113 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 114 115 #define xadFreeObjectA(__p0, __p1) \ 116 LP2NR(36, xadFreeObjectA, \ 117 xadPTR , __p0, a0, \ 118 const struct TagItem *, __p1, a1, \ 119 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 120 121 #define xadGetDiskInfoA(__p0, __p1) \ 122 LP2(132, xadERROR , xadGetDiskInfoA, \ 123 struct xadArchiveInfo *, __p0, a0, \ 124 const struct TagItem *, __p1, a1, \ 125 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 126 127 #define xadCalcCRC32(__p0, __p1, __p2, __p3) \ 128 LP4(102, xadUINT32 , xadCalcCRC32, \ 129 xadUINT32 , __p0, d0, \ 130 xadUINT32 , __p1, d1, \ 131 xadSize , __p2, d2, \ 132 const xadUINT8 *, __p3, a0, \ 133 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 134 135 #define xadCalcCRC16(__p0, __p1, __p2, __p3) \ 136 LP4(96, xadUINT16 , xadCalcCRC16, \ 137 xadUINT32 , __p0, d0, \ 138 xadUINT32 , __p1, d1, \ 139 xadSize , __p2, d2, \ 140 const xadUINT8 *, __p3, a0, \ 141 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 142 143 #define xadFreeHookAccessA(__p0, __p1) \ 144 LP2NR(150, xadFreeHookAccessA, \ 145 struct xadArchiveInfo *, __p0, a0, \ 146 const struct TagItem *, __p1, a1, \ 147 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 148 149 #define xadGetFilenameA(__p0, __p1, __p2, __p3, __p4) \ 150 LP5(168, xadERROR , xadGetFilenameA, \ 151 xadUINT32 , __p0, d0, \ 152 xadSTRPTR , __p1, a0, \ 153 const xadSTRING *, __p2, a1, \ 154 const xadSTRING *, __p3, a2, \ 155 const struct TagItem *, __p4, a3, \ 156 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 157 158 #define xadGetSystemInfo() \ 159 LP0(186, const struct xadSystemInfo *, xadGetSystemInfo, \ 160 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 161 162 #define xadCopyMem(__p0, __p1, __p2) \ 163 LP3NR(114, xadCopyMem, \ 164 const void *, __p0, a0, \ 165 xadPTR , __p1, a1, \ 166 xadSize , __p2, d0, \ 167 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 168 169 #define xadHookAccess(__p0, __p1, __p2, __p3) \ 170 LP4(84, xadERROR , xadHookAccess, \ 171 xadUINT32 , __p0, d0, \ 172 xadSignSize , __p1, d1, \ 173 xadPTR , __p2, a0, \ 174 struct xadArchiveInfo *, __p3, a1, \ 175 , XADMASTER_BASE_NAME, 0, 0, 0, 0, 0, 0) 176 177 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__) 178 179 #include <stdarg.h> 180 181 #define xadGetDefaultName(...) \ 182 ({ULONG _tags[] = { __VA_ARGS__ }; \ 183 xadGetDefaultNameA((const struct TagItem *)_tags);}) 184 185 #define xadRecogFile(__p0, __p1, ...) \ 186 ({ULONG _tags[] = { __VA_ARGS__ }; \ 187 xadRecogFileA(__p0, __p1, (const struct TagItem *)_tags);}) 188 189 #define xadConvertDates(...) \ 190 ({ULONG _tags[] = { __VA_ARGS__ }; \ 191 xadConvertDatesA((const struct TagItem *)_tags);}) 192 193 #define xadConvertProtection(...) \ 194 ({ULONG _tags[] = { __VA_ARGS__ }; \ 195 xadConvertProtectionA((const struct TagItem *)_tags);}) 196 197 #define xadAllocObject(__p0, ...) \ 198 ({ULONG _tags[] = { __VA_ARGS__ }; \ 199 xadAllocObjectA(__p0, (const struct TagItem *)_tags);}) 200 201 #define xadConvertName(__p0, ...) \ 202 ({ULONG _tags[] = { __VA_ARGS__ }; \ 203 xadConvertNameA(__p0, (const struct TagItem *)_tags);}) 204 205 #define xadFreeHookAccess(__p0, ...) \ 206 ({ULONG _tags[] = { __VA_ARGS__ }; \ 207 xadFreeHookAccessA(__p0, (const struct TagItem *)_tags);}) 208 209 #define xadGetInfo(__p0, ...) \ 210 ({ULONG _tags[] = { __VA_ARGS__ }; \ 211 xadGetInfoA(__p0, (const struct TagItem *)_tags);}) 212 213 #define xadDiskUnArc(__p0, ...) \ 214 ({ULONG _tags[] = { __VA_ARGS__ }; \ 215 xadDiskUnArcA(__p0, (const struct TagItem *)_tags);}) 216 217 #define xadFreeObject(__p0, ...) \ 218 ({ULONG _tags[] = { __VA_ARGS__ }; \ 219 xadFreeObjectA(__p0, (const struct TagItem *)_tags);}) 220 221 #define xadAddDiskEntry(__p0, __p1, ...) \ 222 ({ULONG _tags[] = { __VA_ARGS__ }; \ 223 xadAddDiskEntryA(__p0, __p1, (const struct TagItem *)_tags);}) 224 225 #define xadGetDiskInfo(__p0, ...) \ 226 ({ULONG _tags[] = { __VA_ARGS__ }; \ 227 xadGetDiskInfoA(__p0, (const struct TagItem *)_tags);}) 228 229 #define xadHookTagAccess(__p0, __p1, __p2, __p3, ...) \ 230 ({ULONG _tags[] = { __VA_ARGS__ }; \ 231 xadHookTagAccessA(__p0, __p1, __p2, __p3, (const struct TagItem *)_tags);}) 232 233 #define xadGetHookAccess(__p0, ...) \ 234 ({ULONG _tags[] = { __VA_ARGS__ }; \ 235 xadGetHookAccessA(__p0, (const struct TagItem *)_tags);}) 236 237 #define xadAddFileEntry(__p0, __p1, ...) \ 238 ({ULONG _tags[] = { __VA_ARGS__ }; \ 239 xadAddFileEntryA(__p0, __p1, (const struct TagItem *)_tags);}) 240 241 #define xadFileUnArc(__p0, ...) \ 242 ({ULONG _tags[] = { __VA_ARGS__ }; \ 243 xadFileUnArcA(__p0, (const struct TagItem *)_tags);}) 244 245 #define xadGetFilename(__p0, __p1, __p2, __p3, ...) \ 246 ({ULONG _tags[] = { __VA_ARGS__ }; \ 247 xadGetFilenameA(__p0, __p1, __p2, __p3, (const struct TagItem *)_tags);}) 248 249 #endif 250 251 #endif /* !_PPCINLINE_XADMASTER_H */