1 #ifndef CLIB_REQTOOLS_PROTOS_H
2 #define CLIB_REQTOOLS_PROTOS_H
4 ** $Filename: clib/reqtools_protos.h $
8 ** C prototypes. For use with 32 bit integers only.
10 ** (C) Copyright 1991-1994 Nico François
11 ** 1995-1996 Magnus Holmgren
12 ** All Rights Reserved
15 #ifndef UTILITY_TAGITEM_H
16 #include <utility/tagitem.h>
17 #endif /* UTILITY_TAGITEM_H */
19 APTR
rtAllocRequestA (ULONG
, struct TagItem
*);
20 void rtFreeRequest (APTR
);
21 void rtFreeReqBuffer (APTR
);
22 LONG
rtChangeReqAttrA (APTR
, struct TagItem
*);
23 APTR
rtFileRequestA(struct rtFileRequester
*,char *,char *,struct TagItem
*);
24 void rtFreeFileList (struct rtFileList
*);
25 ULONG
rtEZRequestA (char *,char *,struct rtReqInfo
*,APTR
,struct TagItem
*);
26 ULONG
rtGetStringA (UBYTE
*,ULONG
,char *,struct rtReqInfo
*,struct TagItem
*);
27 ULONG
rtGetLongA (ULONG
*, char *, struct rtReqInfo
*, struct TagItem
*);
28 ULONG
rtFontRequestA (struct rtFontRequester
*, char *, struct TagItem
*);
29 LONG
rtPaletteRequestA (char *, struct rtReqInfo
*, struct TagItem
*);
30 ULONG
rtReqHandlerA (struct rtHandlerInfo
*, ULONG
, struct TagItem
*);
31 void rtSetWaitPointer (struct Window
*);
32 ULONG
rtGetVScreenSize (struct Screen
*, ULONG
*, ULONG
*);
33 void rtSetReqPosition (ULONG
, struct NewWindow
*,
34 struct Screen
*, struct Window
*);
35 void rtSpread (ULONG
*, ULONG
*, ULONG
, ULONG
, ULONG
, ULONG
);
36 void rtScreenToFrontSafely (struct Screen
*);
37 ULONG
rtScreenModeRequestA (struct rtScreenModeRequester
*,
38 char *, struct TagItem
*);
39 void rtCloseWindowSafely (struct Window
*);
40 APTR
rtLockWindow (struct Window
*);
41 void rtUnlockWindow (struct Window
*, APTR
);
43 /* private functions */
45 struct ReqToolsPrefs
*rtLockPrefs (void);
46 void rtUnlockPrefs (void);
48 /* functions with varargs in reqtools.lib and reqtoolsnb.lib */
50 APTR
rtAllocRequest (ULONG
, Tag
,...);
51 LONG
rtChangeReqAttr (APTR
, Tag
,...);
52 APTR
rtFileRequest (struct rtFileRequester
*, char *, char *, Tag
,...);
53 ULONG
rtEZRequest (char *, char *, struct rtReqInfo
*, struct TagItem
*,...);
54 ULONG
rtEZRequestTags (char *, char *, struct rtReqInfo
*, APTR
, Tag
,...);
55 ULONG
rtGetString (UBYTE
*, ULONG
, char *, struct rtReqInfo
*, Tag
,...);
56 ULONG
rtGetLong (ULONG
*, char *, struct rtReqInfo
*, Tag
,...);
57 ULONG
rtFontRequest (struct rtFontRequester
*, char *, Tag
,...);
58 LONG
rtPaletteRequest (char *, struct rtReqInfo
*, Tag
,...);
59 ULONG
rtReqHandler (struct rtHandlerInfo
*, ULONG
, Tag
,...);
60 ULONG
rtScreenModeRequest (struct rtScreenModeRequester
*, char *, Tag
,...);
62 #endif /* CLIB_REQTOOLS_PROTOS_H */