File: ncp_no.h

package info (click to toggle)
kernel-source-2.6.8 2.6.8-17sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 221,748 kB
  • ctags: 678,840
  • sloc: ansic: 3,793,905; asm: 183,914; sh: 57,062; makefile: 10,502; perl: 2,733; yacc: 2,601; cpp: 1,712; lex: 1,513; lisp: 218; awk: 59; python: 45
file content (19 lines) | stat: -rw-r--r-- 648 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _NCP_NO
#define _NCP_NO

/* these define the attribute byte as seen by NCP */
#define aRONLY			(ntohl(0x01000000))
#define aHIDDEN			(__constant_ntohl(0x02000000))
#define aSYSTEM			(__constant_ntohl(0x04000000))
#define aEXECUTE		(ntohl(0x08000000))
#define aDIR			(ntohl(0x10000000))
#define aARCH			(ntohl(0x20000000))
#define aSHARED			(ntohl(0x80000000))
#define aDONTSUBALLOCATE	(ntohl(1L<<(11+8)))
#define aTRANSACTIONAL		(ntohl(1L<<(12+8)))
#define aPURGE			(ntohl(1L<<(16-8)))
#define aRENAMEINHIBIT		(ntohl(1L<<(17-8)))
#define aDELETEINHIBIT		(ntohl(1L<<(18-8)))
#define aDONTCOMPRESS		(nothl(1L<<(27-24)))

#endif /* _NCP_NO */