ncp_no.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. #ifndef _NCP_NO
  2. #define _NCP_NO
  3. /* these define the attribute byte as seen by NCP */
  4. #define aRONLY (ntohl(0x01000000))
  5. #define aHIDDEN (__constant_ntohl(0x02000000))
  6. #define aSYSTEM (__constant_ntohl(0x04000000))
  7. #define aEXECUTE (ntohl(0x08000000))
  8. #define aDIR (ntohl(0x10000000))
  9. #define aARCH (ntohl(0x20000000))
  10. #define aSHARED (ntohl(0x80000000))
  11. #define aDONTSUBALLOCATE (ntohl(1L<<(11+8)))
  12. #define aTRANSACTIONAL (ntohl(1L<<(12+8)))
  13. #define aPURGE (ntohl(1L<<(16-8)))
  14. #define aRENAMEINHIBIT (ntohl(1L<<(17-8)))
  15. #define aDELETEINHIBIT (ntohl(1L<<(18-8)))
  16. #define aDONTCOMPRESS (nothl(1L<<(27-24)))
  17. #endif /* _NCP_NO */