1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_REQTOOLS_H
    4 #define _PPCINLINE_REQTOOLS_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef REQTOOLS_BASE_NAME
   11 #define REQTOOLS_BASE_NAME ReqToolsBase
   12 #endif /* !REQTOOLS_BASE_NAME */
   13 
   14 #define rtSpread(__p0, __p1, __p2, __p3, __p4, __p5) \
   15 	LP6NR(132, rtSpread, \
   16 		ULONG *, __p0, a0, \
   17 		ULONG *, __p1, a1, \
   18 		ULONG , __p2, d0, \
   19 		ULONG , __p3, d1, \
   20 		ULONG , __p4, d2, \
   21 		ULONG , __p5, d3, \
   22 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   23 
   24 #define rtLockWindow(__p0) \
   25 	LP1(156, APTR , rtLockWindow, \
   26 		struct Window *, __p0, a0, \
   27 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   28 
   29 #define rtPaletteRequestA(__p0, __p1, __p2) \
   30 	LP3(102, LONG , rtPaletteRequestA, \
   31 		char *, __p0, a2, \
   32 		struct rtReqInfo *, __p1, a3, \
   33 		struct TagItem *, __p2, a0, \
   34 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   35 
   36 #define rtReqHandlerA(__p0, __p1, __p2) \
   37 	LP3(108, ULONG , rtReqHandlerA, \
   38 		struct rtHandlerInfo *, __p0, a1, \
   39 		ULONG , __p1, d0, \
   40 		struct TagItem *, __p2, a0, \
   41 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   42 
   43 #define rtCloseWindowSafely(__p0) \
   44 	LP1NR(150, rtCloseWindowSafely, \
   45 		struct Window *, __p0, a0, \
   46 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   47 
   48 #define rtFreeFileList(__p0) \
   49 	LP1NR(60, rtFreeFileList, \
   50 		struct rtFileList *, __p0, a0, \
   51 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   52 
   53 #define rtSetWaitPointer(__p0) \
   54 	LP1NR(114, rtSetWaitPointer, \
   55 		struct Window *, __p0, a0, \
   56 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   57 
   58 #define rtGetStringA(__p0, __p1, __p2, __p3, __p4) \
   59 	LP5(72, ULONG , rtGetStringA, \
   60 		UBYTE *, __p0, a1, \
   61 		ULONG , __p1, d0, \
   62 		char *, __p2, a2, \
   63 		struct rtReqInfo *, __p3, a3, \
   64 		struct TagItem *, __p4, a0, \
   65 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   66 
   67 #define rtFontRequestA(__p0, __p1, __p2) \
   68 	LP3(96, ULONG , rtFontRequestA, \
   69 		struct rtFontRequester *, __p0, a1, \
   70 		char *, __p1, a3, \
   71 		struct TagItem *, __p2, a0, \
   72 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   73 
   74 
   75 #define rtGetLongA(__p0, __p1, __p2, __p3) \
   76 	LP4(78, ULONG , rtGetLongA, \
   77 		ULONG *, __p0, a1, \
   78 		char *, __p1, a2, \
   79 		struct rtReqInfo *, __p2, a3, \
   80 		struct TagItem *, __p3, a0, \
   81 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   82 
   83 #define rtSetReqPosition(__p0, __p1, __p2, __p3) \
   84 	LP4NR(126, rtSetReqPosition, \
   85 		ULONG , __p0, d0, \
   86 		struct NewWindow *, __p1, a0, \
   87 		struct Screen *, __p2, a1, \
   88 		struct Window *, __p3, a2, \
   89 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   90 
   91 #define rtFileRequestA(__p0, __p1, __p2, __p3) \
   92 	LP4(54, APTR , rtFileRequestA, \
   93 		struct rtFileRequester *, __p0, a1, \
   94 		char *, __p1, a2, \
   95 		char *, __p2, a3, \
   96 		struct TagItem *, __p3, a0, \
   97 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
   98 
   99 #define rtFreeRequest(__p0) \
  100 	LP1NR(36, rtFreeRequest, \
  101 		APTR , __p0, a1, \
  102 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  103 
  104 #define rtScreenModeRequestA(__p0, __p1, __p2) \
  105 	LP3(144, ULONG , rtScreenModeRequestA, \
  106 		struct rtScreenModeRequester *, __p0, a1, \
  107 		char *, __p1, a3, \
  108 		struct TagItem *, __p2, a0, \
  109 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  110 
  111 #define rtGetVScreenSize(__p0, __p1, __p2) \
  112 	LP3(120, ULONG , rtGetVScreenSize, \
  113 		struct Screen *, __p0, a0, \
  114 		ULONG *, __p1, a1, \
  115 		ULONG *, __p2, a2, \
  116 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  117 
  118 #define rtAllocRequestA(__p0, __p1) \
  119 	LP2(30, APTR , rtAllocRequestA, \
  120 		ULONG , __p0, d0, \
  121 		struct TagItem *, __p1, a0, \
  122 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  123 
  124 #define rtFreeReqBuffer(__p0) \
  125 	LP1NR(42, rtFreeReqBuffer, \
  126 		APTR , __p0, a1, \
  127 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  128 
  129 #define rtUnlockWindow(__p0, __p1) \
  130 	LP2NR(162, rtUnlockWindow, \
  131 		struct Window *, __p0, a0, \
  132 		APTR , __p1, a1, \
  133 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  134 
  135 #define rtEZRequestA(__p0, __p1, __p2, __p3, __p4) \
  136 	LP5(66, ULONG , rtEZRequestA, \
  137 		char *, __p0, a1, \
  138 		char *, __p1, a2, \
  139 		struct rtReqInfo *, __p2, a3, \
  140 		APTR , __p3, a4, \
  141 		struct TagItem *, __p4, a0, \
  142 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  143 
  144 
  145 #define rtChangeReqAttrA(__p0, __p1) \
  146 	LP2(48, LONG , rtChangeReqAttrA, \
  147 		APTR , __p0, a1, \
  148 		struct TagItem *, __p1, a0, \
  149 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  150 
  151 #define rtScreenToFrontSafely(__p0) \
  152 	LP1NR(138, rtScreenToFrontSafely, \
  153 		struct Screen *, __p0, a0, \
  154 		, REQTOOLS_BASE_NAME, 0, 0, 0, 0, 0, 0)
  155 
  156 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
  157 
  158 #include <stdarg.h>
  159 
  160 #define rtAllocRequest(__p0, ...) \
  161 	({ULONG _tags[] = { __VA_ARGS__ }; \
  162 	rtAllocRequestA(__p0, (struct TagItem *)_tags);})
  163 
  164 #define rtPaletteRequest(__p0, __p1, ...) \
  165 	({ULONG _tags[] = { __VA_ARGS__ }; \
  166 	rtPaletteRequestA(__p0, __p1, (struct TagItem *)_tags);})
  167 
  168 #define rtFontRequest(__p0, __p1, ...) \
  169 	({ULONG _tags[] = { __VA_ARGS__ }; \
  170 	rtFontRequestA(__p0, __p1, (struct TagItem *)_tags);})
  171 
  172 #define rtReqHandler(__p0, __p1, ...) \
  173 	({ULONG _tags[] = { __VA_ARGS__ }; \
  174 	rtReqHandlerA(__p0, __p1, (struct TagItem *)_tags);})
  175 
  176 #define rtFileRequest(__p0, __p1, __p2, ...) \
  177 	({ULONG _tags[] = { __VA_ARGS__ }; \
  178 	rtFileRequestA(__p0, __p1, __p2, (struct TagItem *)_tags);})
  179 
  180 #define rtGetLong(__p0, __p1, __p2, ...) \
  181 	({ULONG _tags[] = { __VA_ARGS__ }; \
  182 	rtGetLongA(__p0, __p1, __p2, (struct TagItem *)_tags);})
  183 
  184 #define rtGetString(__p0, __p1, __p2, __p3, ...) \
  185 	({ULONG _tags[] = { __VA_ARGS__ }; \
  186 	rtGetStringA(__p0, __p1, __p2, __p3, (struct TagItem *)_tags);})
  187 
  188 #define rtEZRequest(__p0, __p1, __p2, __p3, ...) \
  189 	({ULONG _tags[] = { __VA_ARGS__ }; \
  190 	rtEZRequestA(__p0, __p1, __p2, __p3, (struct TagItem *)_tags);})
  191 
  192 #define rtChangeReqAttr(__p0, ...) \
  193 	({ULONG _tags[] = { __VA_ARGS__ }; \
  194 	rtChangeReqAttrA(__p0, (struct TagItem *)_tags);})
  195 
  196 #define rtScreenModeRequest(__p0, __p1, ...) \
  197 	({ULONG _tags[] = { __VA_ARGS__ }; \
  198 	rtScreenModeRequestA(__p0, __p1, (struct TagItem *)_tags);})
  199 
  200 #define rtEZRequestTags(__p0, __p1, __p2, __p3, ...) \
  201 	({ULONG _tags[] = { __VA_ARGS__ }; \
  202 	rtEZRequestA(__p0, __p1, __p2, __p3, (struct TagItem *)_tags);})
  203 
  204 #endif
  205 
  206 #endif /* !_PPCINLINE_REQTOOLS_H */