home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Resources / System / BoingBag1 / Contributions / Workbench / RexxArpLib3p6 / src / ralprotos.h < prev    next >
C/C++ Source or Header  |  1998-06-21  |  6KB  |  174 lines

  1. /*
  2. *   Prototypes for functions defined in util.c
  3. */
  4. int strcmpu(char *, char *);
  5. int strncmpu(char *, char *, int);
  6. char *index(const char *, int);
  7. char *rindex(const char *, int);
  8. char *ltoa(char *, long);
  9. char *strstr(const char *, const char *);
  10. char *CAS(char *);
  11. long checkargs(int, char **);
  12. int DecodeAutoText(char *, char **, char *);
  13. int MakeStem(char *, char *, int);
  14. int MakeStemS(char *, char *, char *);
  15. /*
  16. *   Prototypes for functions defined in dispatch.c
  17. */
  18. long  __stdargs __saveds RALDispatch(struct RexxMsg *, char **);
  19. char *rxf_null(long *, int, char **);
  20. /*
  21. *   Prototypes for functions defined in createhost.c
  22. */
  23. int whf_find(long *, int, char *);
  24. char *rxf_createhost(long *, int, char **);
  25. char *whf_null(struct HostParams *, int, char **);
  26. char *whf_openwindow(struct HostParams *, int, char **);
  27. char *whf_closewindow(struct HostParams *, int, char **);
  28. int ch_makestr(struct HostParams *, char *, ULONG, USHORT, USHORT, char *, char *);
  29. char *ch_classtoascii(ULONG);
  30. char *ch_classtext(int);
  31. int ch_classtoindex(ULONG);
  32. ULONG ch_indextoclass(int);
  33. /*
  34. *   Prototypes for functions defined in simp.c
  35. */
  36. char *rxf_getsimp(long *, int, char **);
  37. char *rxf_postmsg(long *, int, char **);
  38. /*
  39. *   Prototypes for functions defined in env.c
  40. */
  41. char *rxf_getenv(long *, int, char **);
  42. char *rxf_setenv(long *, int, char **);
  43. /*
  44. *   Prototypes for functions defined in screens.c
  45. */
  46. char *rxf_showtitle(long *, int, char **);
  47. char *rxf_stofront(long *, int, char **);
  48. char *rxf_stoback(long *, int, char **);
  49. char *rxf_srows(long *, int, char **);
  50. char *rxf_scols(long *, int, char **);
  51. char *rxf_slace(long *, int, char **);
  52. char *rxf_scolor(long *, int, char **);
  53. char *rxf_sopen(long *, int, char **);
  54. char *rxf_sclose(long *, int, char **);
  55. char *rxf_smove(long *, int, char **);
  56. char *rxf_getlist(long *, int, char **);
  57. struct Screen *LockScreen(char *);
  58. struct Screen *UnlockScreen(char *, struct Screen *);
  59. /*
  60. *   Prototypes for functions defined in message.c
  61. */
  62. int SendPortMsg(char *, int, char **, struct MsgPort *);
  63. char *rxf_sendp(long *, int, char **);
  64. char *whf_sendp(long *, WORD, char **);
  65. int HandlePortReply(struct RexxMsg *);
  66. /*
  67. *   Prototypes for functions defined in filelist.c
  68. */
  69. char *rxf_filelist(long *, int, char **);
  70. /*
  71. *   Prototypes for functions defined in whfunctions.c
  72. */
  73. char *whf_draw(struct HostParams *, int, char **);
  74. char *whf_move(struct HostParams *, int, char **);
  75. char *whf_text(struct HostParams *, int, char **);
  76. char *whf_writepixel(struct HostParams *, int, char **);
  77. char *whf_drawellipse(struct HostParams *, int, char **);
  78. char *whf_drawcircle(struct HostParams *, int, char **);
  79. char *whf_flood(struct HostParams *, int, char **);
  80. char *whf_rectfill(struct HostParams *, int, char **);
  81. char *whf_setrgb4(struct HostParams *, int, char **);
  82. char *whf_setapen(struct HostParams *, int, char **);
  83. char *whf_setbpen(struct HostParams *, int, char **);
  84. char *whf_setopen(struct HostParams *, int, char **);
  85. char *whf_setdrmd(struct HostParams *, int, char **);
  86. char *whf_setdrpt(struct HostParams *, int, char **);
  87. char *whf_areamove(struct HostParams *, int, char **);
  88. char *whf_areadraw(struct HostParams *, int, char **);
  89. char *whf_areaend(struct HostParams *, int, char **);
  90. char *whf_areaellipse(struct HostParams *, int, char **);
  91. char *whf_areacircle(struct HostParams *, int, char **);
  92. char *whf_addgadget(struct HostParams *, int, char **);
  93. APTR MakeGUData(char *, char *);
  94. APTR FreeGUData(struct GUData *);
  95. char *whf_removegadget(struct HostParams *, int, char **);
  96. char *whf_refreshgadgets(struct HostParams *, int, char **);
  97. char *whf_windowtext(struct HostParams *, int, char **);
  98. char *whf_backfill(struct HostParams *, int, char **);
  99. char *whf_modifyhost(struct HostParams *, int, char **);
  100. char *whf_setnotify(struct HostParams *, int, char **);
  101. char *whf_windowtoback(struct HostParams *, int, char **);
  102. char *whf_windowtofront(struct HostParams *, int, char **);
  103. char *whf_activatewindow(struct HostParams *, int, char **);
  104. char *whf_setfont(struct HostParams *, int, char **);
  105. char *whf_activategadget(struct HostParams *, int, char **);
  106. char *whf_setgadget(struct HostParams *, int, char **);
  107. char *whf_readgadget(struct HostParams *, int, char **);
  108. char *whf_readhost(struct HostParams *, int, char **);
  109. char *whf_addmenu(struct HostParams *, int, char **);
  110. char *whf_remmenu(struct HostParams *, int, char **);
  111. int freesmenu(struct Menu *);
  112. char *whf_additem(struct HostParams *, int, char **);
  113. char *whf_addsubitem(struct HostParams *, int, char **);
  114. char *whf_setreqcolor(struct HostParams *, int, char **);
  115. char *whf_setitem(struct HostParams *, int, char **);
  116. char *whf_drawiff(struct HostParams *, int, char **);
  117. /*
  118. *   Prototypes for functions defined in filreq.c
  119. */
  120. void frfunction(ULONG, struct NewWindow *);
  121. char *rxf_getfile(long *, int, char **);
  122. char *rxf_getfont(long *, int, char **);
  123. void MakFilNam(char *, char *, char *);
  124. /*
  125. *   Prototypes for functions defined in drawiff.c
  126. */
  127. int DrawIFF(char *,struct RastPort *, int, int, int, int, struct Screen *);
  128. /*
  129. *   Prototypes for functions defined in allocrastport.c
  130. */
  131. struct RastPort *AllocRastPort(int, int, int);
  132. struct RastPort *FreeRastPort(struct RastPort *);
  133. /*
  134. *   Prototypes for functions defined in syswbscr.c
  135. */
  136. int GetWBRows(void);
  137. int GetWBCols(void);
  138. int GetWBLace(void);
  139. /*
  140. *   Prototypes for functions defined in areapolydraw.c
  141. */
  142. int AreaPolyDraw(struct Window *, struct vtx *, int, int, int);
  143. struct vtx *AddVertex(struct vtx *);
  144. struct vtx *KillVertex(struct vtx *);
  145. long AllocTmpRas(struct RastPort *, int, int);
  146. long FreeTmpRas(struct RastPort *);
  147. /*
  148. *   Prototypes for functions defined in rxhtable.c
  149. */
  150. int rxhtable_index(char *);
  151. /*
  152. *   Prototypes for functions defined in whhtable.c
  153. */
  154. int whhtable_index(char *);
  155. /*
  156. *   Prototypes for functions defined in RexxVars.o
  157. */
  158. //LONG __stdargs SetRexxVar(struct RexxMsg *, char *, char *, long);
  159. //BOOL __stdargs CheckRexxMsg(struct RexxMsg *);
  160.  
  161. /*
  162.  *    Support for changed names in iff.library recent versions.
  163.  */
  164. #include <iff.h>
  165. IFFL_HANDLE IFFL_OldOpenIFF(char *);
  166. #pragma libcall IFFBase IFFL_OldOpenIFF 1E 801
  167. #define BitMapHeader IFFL_BMHD
  168.  
  169. /*
  170.  * Custom malloc and free.
  171.  */
  172. extern void myfree(void *);
  173. extern void *mymalloc(size_t);
  174.