home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 171.lha / SupLib / typedefs.h1 < prev    next >
Text File  |  1988-04-28  |  4KB  |  150 lines

  1.  
  2. /*
  3.  * TYPEDEFS.H
  4.  */
  5.  
  6. #ifndef LOCAL_TYPEDEFS_H
  7. #define LOCAL_TYPEDEFS_H
  8.  
  9. typedef unsigned char    ubyte;
  10. typedef unsigned short    uword;
  11. typedef unsigned long    ulong;
  12.  
  13. typedef struct MsgPort        PORT;
  14. typedef struct Message        MSG;
  15. typedef struct List        LIST;
  16. typedef struct Node        NODE;
  17. typedef struct MinList        MLIST;
  18. typedef struct MinNode        MNODE;
  19. typedef struct Device        DEV;
  20. typedef struct Library        LIB;
  21. typedef struct ExecBase     EXECBASE;
  22. typedef struct SignalSemaphore    SIGSEM;
  23. typedef struct Semaphore    SEM;
  24. typedef struct Mementry     MEMENTRY;
  25. typedef struct Memlist        MEMLIST;
  26. typedef struct MemHeader    MEMHEADER;
  27. typedef struct Interrupt    INTERRUPT;
  28. typedef struct Custom        CUST;
  29.  
  30. #define WINSTD    (WINDOWSIZING|WINDOWDRAG|WINDOWDEPTH|WINDOWCLOSE)
  31.  
  32. typedef struct BoolInfo     BOOLINFO;
  33. typedef struct Border        BORDER;
  34. typedef struct Gadget        GADGET;
  35. typedef struct Image        IMAGE;
  36. typedef struct IntuiMessage    IMESS;
  37. typedef struct IntuiText    ITEXT;
  38. typedef struct Menu        MENU;
  39. typedef struct MenuItem     ITEM;
  40. typedef struct NewScreen    NS;
  41. typedef struct NewWindow    NW;
  42. typedef struct Preferences    PREFS;
  43. typedef struct PropInfo     PROPINFO;
  44. typedef struct Remember     REMEMBER;
  45. typedef struct Requester    REQUESTER;
  46. typedef struct Screen        SCR;
  47. typedef struct StringInfo    STRINGINFO;
  48. typedef struct Window        WIN;
  49.  
  50. typedef struct copinit        COPINIT;
  51.  
  52. typedef struct GListEnv     GLISTENV;
  53. typedef struct GadgetInfo    GADGETINFO;
  54. typedef struct IBox        IBOX;
  55. typedef struct IntuitionBase    IBASE;
  56. typedef struct PenPair        PENPAIR;
  57. typedef struct Point        POINT;
  58.  
  59. typedef struct IOAudio        IOAUD;
  60.  
  61. typedef struct BootBlock    BOOTBLOCK;
  62.  
  63. typedef struct IOClipReq        IOCLIPREQ;
  64. typedef struct ClipboardUnitPartial CLIPUNIT;
  65. typedef struct SatisfyMsg        SATISFYMSG;
  66.  
  67. typedef struct ConUnit        CONUNIT;
  68. typedef struct IOStdReq     IOCON;
  69. typedef struct IOExtSer     IOSER;
  70.  
  71. typedef struct InputEvent    IE;
  72.  
  73. typedef struct TextAttr     TA;
  74. typedef struct TextFont     FONT;
  75. typedef struct Layer        LAYER;
  76. typedef struct Layer_Info    LAYERINFO;
  77. typedef struct Region        REGION;
  78. typedef struct ClipRect     CLIPRECT;
  79. typedef struct BitMap        BM;
  80. typedef struct RastPort     RP;
  81. typedef struct TmpRas        TMPRAS;
  82. typedef struct AreaInfo     AREAINFO;
  83. typedef struct View        VIEW;
  84. typedef struct ViewPort     VP;
  85. typedef struct ColorMap     CM;
  86. typedef struct GfxBase        GFXBASE;
  87.  
  88. typedef struct Process        PROC;
  89. typedef struct Task        TASK;
  90. typedef struct FileInfoBlock    FIB;
  91. typedef struct FileLock     LOCK;
  92. typedef struct DateStamp    DATESTAMP;
  93.  
  94. typedef struct timeval        TV;
  95. typedef struct timerequest    IOT;
  96.  
  97. typedef struct PrinterData    PD;
  98. typedef struct PrinterExtendedData PED;
  99.  
  100.  
  101. /*
  102.  *  Intuition
  103.  */
  104.  
  105. extern WIN    *OpenWindow();
  106. extern SCR    *OpenScreen();
  107. extern void    *AllocRemember();
  108. extern void    *ItemAddress();
  109. extern PREFS    *GetPrefs();
  110. extern PREFS    *GetDefPrefs();
  111. extern VIEW    *ViewAddress();
  112. extern VP    *ViewPortAddress();
  113.  
  114. /*
  115.  *  Graphics
  116.  */
  117.  
  118. extern void    *AllocRaster();
  119. extern TMPRAS    *InitTmpRas();
  120. extern AREAINFO *InitArea();
  121.  
  122. /*
  123.  *  Exec / Exec-Support
  124.  */
  125.  
  126. extern void    *GetMsg(), *RemHead(), *RemTail();
  127. extern void    *GetHead(), *GetTail(), *GetSucc(), *GetPred();
  128. extern void    *GetHeadOff(), *GetTailOff(), *GetSuccOff(), *GetPredOff();
  129. extern void    *OpenLibrary();
  130.  
  131. extern SIGSEM    *FindSemaphore();
  132. extern void    *AllocMem();
  133. extern PORT    *FindPort();
  134. extern PORT    *CreatePort();
  135. extern TASK    *CreateTask();
  136. extern INTERRUPT *SetIntVector();
  137. extern PROC    *CreateProc();
  138. extern void    *FindTask();    /*  task or proc    */
  139. extern LIB    *MakeLibrary();
  140.  
  141. extern FONT    *OpenFont();
  142. extern FONT    *OpenDiskFont();
  143.  
  144. extern void    *malloc();
  145.  
  146.  
  147. #endif
  148.  
  149.  
  150.