home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d105 / pere-et-fils.lha / Pere-et-Fils / proc.h < prev    next >
C/C++ Source or Header  |  1987-10-25  |  928b  |  55 lines

  1. /********************************************************************
  2.  *
  3.  *       proc.h     include general pour process
  4.  *
  5.  */
  6.  
  7. #ifndef  EXEC_TYPES_H
  8. #include <exec/types.h>
  9. #endif
  10.  
  11. #ifndef  EXEC_NODES_H
  12. #include <exec/nodes.h>
  13. #endif
  14.  
  15. #ifndef  EXEC_MEMORY_H
  16. #include <exec/memory.h>
  17. #endif
  18.  
  19. #ifndef  EXEC_IO_H
  20. #include <exec/io.h>
  21. #endif
  22.  
  23. #ifndef  EXEC_PORTS_H
  24. #include <exec/ports.h>
  25. #endif
  26.  
  27. #ifndef  LIBRARIES_DOS_H
  28. #include <libraries/dos.h>
  29. #endif
  30.  
  31. #ifndef  LIBRARIES_DOSEXTENS_H
  32. #include <libraries/dosextens.h>
  33. #endif
  34.  
  35.  
  36. /*--------------codes erreurs--------------*/
  37.  
  38. #define  NO_ERROR     0
  39. #define  NO_MEMORY   -1
  40. #define  NO_FILE     -2
  41.  
  42. /*---------------structures----------------*/
  43.  
  44. struct Pack {
  45.    struct Message msg;
  46.    struct MsgPort *FilsPort;
  47.    int    cmd;
  48.    int    id;
  49.    UBYTE  bufread[258], *bufwrite;
  50.    int    lenread,      lenwrite;
  51.    int    result;
  52.    int    reserv1, reserv2, reserv3, reserv4;
  53. };
  54.  
  55.