home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 5 / CD_Magazyn_EXEC_nr_5.iso / Programy / Programowanie / FetchRefs2.1.lha / FetchRefs2.1 / Source / GenerateIndex / protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-09  |  2.6 KB  |  77 lines

  1. #ifdef __STDC__
  2. # define    P(s) s
  3. #else
  4. # define P(s) ()
  5. #endif
  6.  
  7.  
  8. /* GUI.c */
  9. void About P((void ));
  10. void OpenRefWindow P((void ));
  11. void OpenScanStatWindow P((void ));
  12. void CloseScanStatWindow P((void ));
  13. void GiveHelp P((LONG id , struct Screen *scr ));
  14. void LockGUI P((void ));
  15. void UnlockGUI P((void ));
  16. void AttachMainList P((struct List *newlist ));
  17. void DetachMainList P((void ));
  18. void AttachRefList P((void ));
  19. void DetachRefList P((void ));
  20. void DeleteSelectedReference P((void ));
  21. void UpdateMain P((void ));
  22. void UpdateRef P((void ));
  23. void UpdateOptions P((void ));
  24. void UpdateOptionsGhost P((void ));
  25. void UpdateSettingsStruct P((void ));
  26. void HandleGUI P((void ));
  27. void HandleListViewClick P((struct TR_Message *m ));
  28. void HandleMenu P((struct TR_Message *m ));
  29. void HandleMainIDCMP P((struct TR_Message *m ));
  30. void HandleRefIDCMP P((struct TR_Message *m ));
  31. void HandleOptionsIDCMP P((struct TR_Message *m ));
  32. void HandleScanStatIDCMP P((struct TR_Message *m ));
  33. ULONG NumOfNodes P((struct List *l ));
  34. struct FileEntry *SelectedMain P((void ));
  35. struct RefsEntry *SelectedRef P((void ));
  36. void GoGUI P((void ));
  37. void CloseGUI P((void ));
  38.  
  39. /* Lists.c */
  40. void StartTimer P((void ));
  41. void StopTimer P((void ));
  42. void *GetHead P((void *lst ));
  43. void *GetTail P((void *lst ));
  44. void *GetSucc P((void *nod ));
  45. void *GetPred P((void *nod ));
  46. void LoadData P((STRPTR name ));
  47. LONG SaveData P((STRPTR name ));
  48. void IndexFileList P((STRPTR path , struct rtFileList *lst ));
  49. void IndexRecursive P((STRPTR path , STRPTR dir ));
  50. void IndexFile P((STRPTR dir , STRPTR filename ));
  51. void StartScanning P((void ));
  52. void StopScanning P((BOOL force ));
  53. LONG FileType P((STRPTR buf , LONG bufsize ));
  54. LONG FileLength P((BPTR lock ));
  55. STRPTR FindKeyword P((STRPTR buf , STRPTR keyword , LONG size ));
  56. STRPTR FullName P((STRPTR path ));
  57. UBYTE *JoinPath P((STRPTR dir , STRPTR name ));
  58. STRPTR FindStructUnion P((STRPTR ptr , STRPTR end , LONG *l ));
  59. STRPTR PickName P((STRPTR buf , STRPTR ptr ));
  60. BOOL __regargs SortCompareFunc P((struct FileEntry *a , struct FileEntry *b , ULONG data ));
  61. struct FileEntry *AddFileToList P((STRPTR name ));
  62. struct RefsEntry *AddRefToList P((struct FileEntry *fileentry , LONG offset , LONG length , WORD gotoline , STRPTR name ));
  63. struct FileEntry *IsFileInList P((BPTR newlock , STRPTR filepart ));
  64. void FreeFile P((struct FileEntry *f ));
  65. void FreeRef P((struct RefsEntry *r ));
  66. void InitializeFileList P((void ));
  67. void FreeFileList P((void ));
  68.  
  69. /* Main.c */
  70. // void __stdargs __main P((char *argv ));
  71. void CloseAll P((LONG error , ...));
  72. void LoadSettings P((STRPTR file ));
  73. void SaveSettings P((STRPTR file ));
  74. void PostMessage P((STRPTR fmt , ...));
  75.  
  76. #undef P
  77.