HMIXFER.H 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /****************************************************************************
  2. *
  3. * File : hmixfer.h
  4. * Date Created : 1/12/95
  5. * Description : transfer system
  6. *
  7. * Programmer(s) : Nick Skrepetos
  8. * Last Modification : 1/24/95 - 9:51:39 AM
  9. * Additional Notes :
  10. *
  11. *****************************************************************************
  12. * Copyright (c) 1994-5, HMI, Inc. All Rights Reserved *
  13. ****************************************************************************/
  14. #ifndef _HMI_XFER_DEFINED
  15. #define _HMI_XFER_DEFINED
  16. // set structure packing
  17. #pragma pack(1)
  18. // transfer block ID types
  19. enum
  20. {
  21. _XFER_BLOCK_DATA, // block of raw data
  22. _XFER_BLOCK_REQUEST_ID, // request ID direct
  23. _XFER_BLOCK_ID, // contains local target data
  24. _XFER_BLOCK_REQUEST_RESEND, // request resend of block
  25. _XFER_BLOCK_NAME, // user name
  26. _XFER_BLOCK_VOICE, // voice data
  27. _XFER_BLOCK_VOICE_HEADER, // voice header
  28. _XFER_BLOCK_VOICE_END, // end of voice chunk
  29. };
  30. // communication structure
  31. typedef struct _tagXFER_BLOCK_HEADER
  32. {
  33. W32 wSequence; // sequence ID
  34. W32 wType; // block type
  35. W32 wID; // block ID
  36. W32 wLength; // block length
  37. W32 wNode; // which node?
  38. W32 wUser1; // user area
  39. } _XFER_BLOCK_HEADER;
  40. // reset structure packing
  41. #pragma pack()
  42. #endif