added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / exec / resident.h
blobc5c551babb3fb3f33b2a8f83ab65bd115cc021d5
1 #ifndef EXEC_RESIDENT_H
2 #define EXEC_RESIDENT_H
4 /*
5 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
6 $Id$
8 Resident modules.
9 */
11 #ifndef EXEC_TYPES_H
12 # include <exec/types.h>
13 #endif
15 #ifndef UTILITY_TAGITEM_H
16 # include <utility/tagitem.h>
17 #endif
19 struct Resident
21 UWORD rt_MatchWord; /* equal to RTC_MATCHWORD (see below) */
22 const struct Resident *rt_MatchTag; /* Pointer to this struct */
23 APTR rt_EndSkip;
24 UBYTE rt_Flags; /* see below */
25 UBYTE rt_Version;
26 UBYTE rt_Type;
27 BYTE rt_Pri;
28 CONST_STRPTR rt_Name;
29 CONST_STRPTR rt_IdString;
30 APTR rt_Init;
32 /* Extension taken over from MorphOS. Only valid
33 if RTF_EXTENDED is set */
35 UWORD rt_Revision;
36 struct TagItem *rt_Tags;
39 #define RTC_MATCHWORD (0x4AFC)
41 #define RTF_COLDSTART (1<<0)
42 #define RTF_SINGLETASK (1<<1)
43 #define RTF_AFTERDOS (1<<2)
44 #define RTF_AUTOINIT (1<<7)
46 #define RTF_EXTENDED (1<<6) /* MorphOS extension: extended
47 structure fields are valid */
49 #define RTW_NEVER (0)
50 #define RTW_COLDSTART (1)
52 #endif /* EXEC_RESIDENT_H */