ipmsgdef.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef _IPMSGDEF_H
  2. #define _IPMSGDEF_H
  3. /* command */
  4. #define IPMSG_NOOPERATION 0x00000000UL
  5. #define IPMSG_BR_ENTRY 0x00000001UL
  6. #define IPMSG_BR_EXIT 0x00000002UL
  7. #define IPMSG_ANSENTRY 0x00000003UL
  8. #define IPMSG_BR_ABSENCE 0x00000004UL
  9. #define IPMSG_SENDMSG 0x00000020UL
  10. #define IPMSG_RECVMSG 0x00000021UL
  11. #define IPMSG_READMSG 0x00000030UL
  12. #define IPMSG_DELMSG 0x00000031UL
  13. #define IPMSG_ANSREADMSG 0x00000032UL
  14. #define IPMSG_GETFILEDATA 0x00000060UL
  15. #define IPMSG_RELEASEFILES 0x00000061UL
  16. #define IPMSG_GETDIRFILES 0x00000062UL
  17. /* option for all command */
  18. #define IPMSG_ABSENCEOPT 0x00000100UL
  19. #define IPMSG_SERVEROPT 0x00000200UL
  20. #define IPMSG_DIALUPOPT 0x00010000UL
  21. #define IPMSG_FILEATTACHOPT 0x00200000UL
  22. #define IPMSG_ENCRYPTOPT 0x00400000UL
  23. #define IPMSG_UTF8OPT 0x00800000UL
  24. #define IPMSG_CAPUTF8OPT 0x01000000UL
  25. #define IPMSG_ENCEXTMSGOPT 0x04000000UL
  26. #define IPMSG_CLIPBOARDOPT 0x08000000UL
  27. /* option for send command */
  28. #define IPMSG_SENDCHECKOPT 0x00000100UL
  29. #define IPMSG_SECRETOPT 0x00000200UL
  30. #define IPMSG_BROADCASTOPT 0x00000400UL
  31. #define IPMSG_MULTICASTOPT 0x00000800UL
  32. #define IPMSG_AUTORETOPT 0x00002000UL
  33. #define IPMSG_RETRYOPT 0x00004000UL
  34. #define IPMSG_PASSWORDOPT 0x00008000UL
  35. #define IPMSG_NOLOGOPT 0x00020000UL
  36. #define IPMSG_NOADDLISTOPT 0x00080000UL
  37. #define IPMSG_READCHECKOPT 0x00100000UL
  38. #define IPMSG_SECRETEXOPT (IPMSG_READCHECKOPT|IPMSG_SECRETOPT)
  39. /* file types for fileattach command */
  40. #define IPMSG_FILE_REGULAR 0x00000001UL
  41. #define IPMSG_FILE_DIR 0x00000002UL
  42. #define IPMSG_FILE_RETPARENT 0x00000003UL // return parent directory
  43. #define IPMSG_FILE_SYMLINK 0x00000004UL
  44. #define IPMSG_FILE_CDEV 0x00000005UL // for UNIX
  45. #define IPMSG_FILE_BDEV 0x00000006UL // for UNIX
  46. #define IPMSG_FILE_FIFO 0x00000007UL // for UNIX
  47. #define IPMSG_FILE_RESFORK 0x00000010UL // for Mac
  48. #endif