home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Netzwerk / PRONET30.LHA / ProNET / Developer / include / devices / pronet.h next >
Encoding:
C/C++ Source or Header  |  1996-01-05  |  715 b   |  39 lines

  1. #ifndef DEVICES_PRONET_H
  2. #define DEVICES_PRONET_H 1
  3. /*
  4. **  ProNET Version 3
  5. **
  6. **  C include file.
  7. **
  8. **  (C) Copyright 1994-1996 Michael Krause
  9. **                          <rawstyle@online.fire.dbn.dinet.com>
  10. */
  11.  
  12. #ifndef EXEC_IO_H
  13. #include "exec/io.h"
  14. #endif
  15.  
  16. #define PNDERR_PORTEXISTS -94
  17. #define PNDERR_BADCONFIG -95
  18. #define PNDERR_DRIVERTROUBLE -96
  19. #define PNDERR_UNIT_NOT_DEFINED -97
  20.  
  21. struct PNRequest {
  22.    struct IORequest pnr_Request;
  23.    struct MsgPort *pnr_MsgPort;
  24.    UWORD pnr_NetSourcePort;
  25.  
  26.    UWORD pnr_NetDestPort;
  27.    UBYTE *pnr_Data1;
  28.    ULONG pnr_Length1;
  29.    UBYTE *pnr_Data2;
  30.    ULONG pnr_Length2;
  31. };
  32.  
  33. #define PNP_NAME    -1
  34. #define PNP_NEXTFREE    -2
  35.  
  36. #define PND_WRITE    3
  37.  
  38. #endif    /* DEVICES_PRONET_H */
  39.