home *** CD-ROM | disk | FTP | other *** search
/ World of A1200 / World_Of_A1200.iso / programs / monitors / rsys / source.lha / src / RSysFunc.h < prev    next >
C/C++ Source or Header  |  1995-01-09  |  7KB  |  234 lines

  1. /* rsys.c */
  2. void About(void);
  3. void HandleMainPort(void);
  4. void main(int argc, char **argv);
  5.  
  6. /* rsysbroker.c */
  7. void InstallBroker(void);
  8. void RemoveBroker(void);
  9. struct Screen *FindFrontPubScr(struct Screen *activescr);
  10. void HandleBrokerPort(void);
  11.  
  12. /* rsysdoslists.c */
  13. void MakeAssignList(void);
  14. void MakeVolumeList(void);
  15. void RSysLockList(void);
  16. void SysResidentList(void);
  17. void SysCLIList(void);
  18. void SysResidentProg(void);
  19.  
  20. /* rsysexeclists.c */
  21. void MakeLibList(void);
  22. void MakeResList(void);
  23. void MakeIntrList(void);
  24. void MakePortList(void);
  25. void MakeTaskList(void);
  26. void SysSemaphoreList(void);
  27. void SysVectorList(void);
  28. void SysSoftDeviceList(void);
  29.  
  30. /* rsysextern.c */
  31. int GetFile(struct Window *wind, char *dir, char *file, char *pattern, char *title, char *oktext);
  32. void SaveList(struct Window *wind, char *filename, char *title, struct List *list, int withheader);
  33. int SysStarted(int type);
  34. void RemoveSpeech(void);
  35. int InitSpeech(void);
  36. void Speak(char *text);
  37.  
  38. /* rsysfiletype.c */
  39. int filetype(char *Name);
  40.  
  41. /* rsysgfxintuilists.c */
  42. void MakeFontList(void);
  43. void MakeWindowList(void);
  44. void MakeScreenList(void);
  45. void SysPubScreenList(void);
  46. void RSysGetDisplayModes(void);
  47. void SysTOFWaitList(void);
  48. void SysBlitterWaitList(void);
  49. void RSysGadgetList(void);
  50.  
  51. /* rsyshandlerlist.c */
  52. void MakeHandlerList(void);
  53.  
  54. /* rsysdisplays.c */
  55. int DisplayDiskInfo(char *filename, int with_tree);
  56. int DisplayFileInfo(char *filename);
  57. void DisplayDirectoryInfo(char *filename);
  58. int DisplayTaskInfo(struct objectid *obj);
  59. int DisplayLibraryInfo(struct objectid *obj);
  60. void DisplaySoftDevInfo(struct objectid *obj);
  61. void DisplayResourceInfo(struct objectid *obj);
  62. int DisplayPortInfo(struct objectid *obj);
  63. int DisplayFontInfo(struct objectid *obj);
  64. int DisplayWindowInfo(struct objectid *obj);
  65. int DisplayScreenInfo(struct objectid *obj);
  66.  
  67. /* rsysformatfind.c */
  68. int OpenFindFileWindow(void);
  69. void FindFile(void);
  70. int OpenFormatDiskWindow(void);
  71. void FormatDisk(void);
  72.  
  73. /* rsyscrc.c */
  74. int OpenCRCWindow(void);
  75. void CRCSum(void);
  76.  
  77. /* rsyssavewindow.c */
  78. void SaveWindows(void);
  79.  
  80. /* rsyssignaltrap.c */
  81. void HandleTrap(int signal);
  82. void InstallTrapHandlers(void);
  83. void RemoveTrapHandlers(void);
  84. void _traphandler(long sig);
  85.  
  86. /* rsystextformatter.c */
  87. int RSysFormatOutput(char *format);
  88.  
  89. /* rsysintuictrl.c */
  90. void *LockWindow(struct Window *win);
  91. void UnlockWindow(void *req);
  92. void EnableGadget(struct Window *Wnd, struct Gadget *gad, int on_off);
  93. void makelabelvisible(struct Gadget *gad);
  94. char *gadgetbuff(struct Gadget *gad);
  95. void DisableSysRequest(int disable);
  96. void MakeWindowRefresh(struct Window *window);
  97. void RefreshMainWindowPattern(void);
  98. void InitListView(struct Window *wind, struct Gadget *gad, struct List *list, int top);
  99. void RefreshListView(void);
  100. void EmptyListView(void);
  101. void ClearIntuiMsgPort(struct Window *wnd);
  102. void PrintHeader(enum ListTypes type, char *text);
  103. void PrintInfo(char *text, int speakit, int waitit);
  104. void PrintStatistics(void);
  105. short MyEasyRequest(struct Window *wind, unsigned char *title, unsigned char *Gadgets, unsigned char *Body, ...);
  106. void OpenMainWindow(void);
  107. void CloseASysWindow(struct Window **wind, struct Gadget **windgadlist, struct Menu **windmenus);
  108. int OpenASysWindow(int (*func)(void), int kill);
  109. void CenterWindow(struct Screen *scr, unsigned short *top, unsigned short *left, unsigned short width, unsigned short height);
  110.  
  111. /* rsysgfxctrl.c */
  112. int TextLen(struct TextFont *tf, struct RastPort *RP, char *text);
  113. short compute(unsigned short offset, unsigned short xy, int measure);
  114. unsigned short ComputeX(unsigned short value);
  115. unsigned short ComputeY(unsigned short value);
  116. void ComputeFont(struct Screen *wndscr, unsigned short width, unsigned short height);
  117.  
  118. /* rsyshelp.c */
  119. void Help(void);
  120.  
  121. /* rsysiconify.c */
  122. int LookTypeOfFile(long lock, char *fname, int num, int totalnum);
  123. void Iconify(void);
  124.  
  125. /* rsysinit.c */
  126. void RefreshRastPort(struct Window *wind, struct Gadget **gads, int *gadnum, int cnt);
  127. long SetupScreen(void);
  128. void CloseDownScreen(void);
  129. int OpenSysWindow(void);
  130.  
  131. /* rsyslist.c */
  132. int CountIntuiObjects(int typ);
  133. int CountDevices(long mask);
  134. int CountNodes(struct List *list);
  135. int CountMemory(void);
  136. int NoEntries(void);
  137. void RefreshList(int type);
  138. void SaveCurrentList(void);
  139. void RestoreList(void);
  140. void KillList(void);
  141.  
  142. /* rsysspeciallist.c */
  143. void RSysAmigaGuideRefList(void);
  144. void SysBrokerList(void);
  145. void SysAvailFontsList(void);
  146.  
  147. /* rsyssummarylists.c */
  148. void MakeHardwareList(void);
  149. void MakeMemoryList(void);
  150. void MakeSystemList(void);
  151.  
  152. /* rsysutils.c */
  153. char *strncpy(char *dest, char const *src, unsigned long len);
  154. char *strcpy(char *dest, char const *src);
  155. void *MyAllocVec(unsigned long byteSize, unsigned long requirements, int kill);
  156. void MyFreeVec(void *memptr);
  157. long Command(struct Node *node, char *file);
  158. void ToggleFastMode(void);
  159. void ToggleAskingMode(void);
  160. void ToggleSortMode(void);
  161. void ToggleWorkingBar(void);
  162. void ToggleSpeakMode(void);
  163. void ToggleAutoFront(void);
  164. void ToggleMouseWindow(void);
  165. void ToggleTopazFont(void);
  166. void AddNodeSorted(struct List *list, struct Node *node);
  167. void AddNodeToList(int i, int sort_in);
  168. void CreateEntryList(int sorting);
  169. char *B2CStr(char *ret, long inp);
  170. void savestrcpy(char *str, struct Node *node, int cnt, int type);
  171. struct Node *GetNode(struct List *list, unsigned long offset);
  172. long SizeOfFile(char *Name);
  173. int SizeOfDir(long lock, long *Size, int *Dirs);
  174. struct SE *AllocScrollEntries(int count);
  175. long getdisktype(long lock);
  176. void FreeBytes(char *Vol, long *free, long *used, long *usedpercent, char *state, char *type);
  177. int exist(char *name);
  178. void quit(int askyou);
  179. int Question(struct Window *wind, char *ask, int def);
  180. void OpenLibs(void);
  181. void CloseLibs(void);
  182. void CloseAll(void);
  183.  
  184. /* rsysmodify.c */
  185. void CountAssocObjects(struct Task *task, int *wins, int *scrs, int *ports);
  186. int CheckWindow(struct Window *findwin);
  187. void ModifyObject(int TypeID, unsigned long code);
  188.  
  189. /* rsysaction.c */
  190. void BuildActionList(void);
  191. int StartAction(int ftype, char *file, short last);
  192.  
  193. /* rsyscrypt.c */
  194. int OpenCryptWindow(void);
  195. void CryptFile(void);
  196.  
  197. /* rsyshunks.c */
  198. void PrintHunkStruct(char *file);
  199. void HunkStruct(void);
  200.  
  201. /* rsystreehunks.c */
  202. short ClickedCloseGadget(void);
  203. long OpenTreeWindow(char *name, int hunk);
  204. void PrintTree(struct objectid *obj);
  205.  
  206. /* rsyscheckoffsets.c */
  207. void PrintLibOffsets(struct _liblist *liblist);
  208. void PrintDevOffsets(struct _devlist *devlist);
  209. void SysCheckOffs(void);
  210.  
  211. /* rsysclip.c */
  212. void SaveListToClip(struct List *list, char *text);
  213. void RSysListToClip(void);
  214. void RSysEntryToClip(void);
  215.  
  216. /* rsysflush.c */
  217. void RSysFlushAllLibraries(void);
  218. void RSysFlushAllFonts(void);
  219. void RSysFlushAll(void);
  220.  
  221. /* rsyserror.c */
  222. void ErrorHandleFull(enum err_objects errobj, enum err_actions erract, int kill, char *file, char *func, int line);
  223.  
  224. /* rsyspreferencelists.c */
  225. void MakeHeadEntry(int *num, char *title);
  226. void MakeHexEntry(int *num, char *title, void *entry);
  227. void SysPrefList(void);
  228. void SysEnvList(void);
  229. void SysExtPrinterData(void);
  230.  
  231. /* rsysshowfont.c */
  232. void ShowFont(struct TextFont *tf);
  233.  
  234.