home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 439.lha / Spy_v1.0 / src / SPY.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-11-13  |  2.6 KB  |  95 lines

  1. /****************************************************************************
  2.  
  3.  
  4.                              File Header di SPY
  5.  
  6.                             by Federico Giannici
  7.  
  8.  
  9.  
  10. -----------------------------------------------------------------------------
  11. This source is provided for you to see the techniques I used to write SPY.
  12. You can, obviously, use it to make your experiments and you can take some
  13. routines to insert in your programs. But you CANNOT modify, recompile and
  14. distribute the modified version to anyone without my permission.
  15. Be a programmer not a copier.
  16. -----------------------------------------------------------------------------
  17.  
  18. ****************************************************************************/
  19.  
  20.  
  21.  
  22. /* #include    "exec/types.h" */
  23. /* #include    "intuition/intuition.h" */
  24. /* #include    "libraries/dos.h" */
  25. /* #include    "string.h" */
  26. /* #include    "clib/macros.h" */
  27. /* #include    "proto/exec.h" */
  28. /* #include    "proto/dos.h" */
  29. /* #include    "proto/graphics.h" */
  30. /* #include    "proto/intuition.h" */
  31.  
  32. #include    "General.h"        /*   Sostituisce i precedenti   */
  33.  
  34. #define    DOSVECTNUM    24        /*   Numero di nuovi vettori DOS   */
  35. #define    EXECVECTNUM    15        /*   Numero di nuovi vettori EXEC   */
  36. #define    VECTNUM        (DOSVECTNUM+EXECVECTNUM)        /*   Numero di nuovi vettori   */
  37. #define    TUTTIV        (-1)        /*   Tutti i nuovi vettori   */
  38.  
  39. #define    OPENV        0        /*   Numeri dei nuovi vettori   */
  40. #define    CLOSEV        1
  41. #define    READV        2
  42. #define    WRITEV        3
  43. #define    INPUTV        4
  44. #define    OUTPUTV        5
  45.  
  46. #define    LOCKV        6
  47. #define    UNLOCKV        7
  48. #define    DUPLOCKV    8
  49. #define    EXAMINEV    9
  50. #define    EXNEXTV        10
  51. #define    INFOV        11
  52.  
  53. #define    DELETEFILEV    12
  54. #define    RENAMEV        13
  55. #define    CREATEDIRV    14
  56. #define    CURRENTDIRV    15
  57. #define    PARENTDIRV    16
  58. #define    SEEKV        17
  59.  
  60. #define    EXECUTEV    18
  61. #define    LOADSEGV    19
  62. #define    UNLOADSEGV    20
  63. #define    CREATEPROCV    21
  64. #define    EXITV        22
  65. #define    IOERRV        23
  66.  
  67. /*****   Inizio funzioni EXEC   *****/
  68.  
  69. #define    ALLOCMEMV        24
  70. #define    OPENDEVICEV        25
  71. #define    CLOSEDEVICEV    26
  72. #define    ADDDEVICEV        27
  73. #define    OPENLIBRARYV    28
  74. #define    OLDOPENLIBRARYV    29
  75. #define    CLOSELIBRARYV    30
  76. #define    ADDLIBRARYV        31
  77. #define    OPENRESOURCEV    32
  78. #define    ADDRESOURCEV    33
  79. #define    FINDPORTV        34
  80. #define    ADDPORTV        35
  81. #define    FINDSEMAPHOREV    36
  82. #define    ADDSEMAPHOREV    37
  83. #define    FINDNAMEV        38
  84.  
  85.  
  86. #define    VERBOSE        (itemverbose.Flags & CHECKED)        /*   Utili negli if   */
  87. #define    EVERYTIME    (itemeverytime.Flags & CHECKED)
  88. #define    WAITGO        (itemwaitforgo.Flags & CHECKED)
  89. #define    SCREENFLASH    (itemflashon.Flags & CHECKED)
  90. #define    ACTIVATED    (itemactivated.Flags & CHECKED)
  91. #define    PRINTER        (itemprinter.Flags & CHECKED)
  92.  
  93. #define    SPYPRIORITY    3            /*   Priorita` di SPY. Per un veloce refresh della finestra   */
  94.  
  95.