|
|
1.1 root 1: /* nami.h 6.1 83/07/29 */
2: /* Documentation Block and Change history :
3: bernie 1/28/85 Add define for AUDITLOG
4:
5: struct namidata {
6: int ni_offset;
7: int ni_count;
8: struct inode *ni_pdir;
9: struct direct ni_dent;
10: };
11:
12: enum nami_op { NAMI_LOOKUP, NAMI_CREATE, NAMI_DELETE };
13:
14: /* this is temporary until the namei interface changes */
15: #define LOOKUP 0 /* perform name lookup only */
16: #define CREATE 1 /* setup for file creation */
17: #define DELETE 2 /* setup for file deletion */
18: #define LOCKPARENT 0x10 /* see the top of namei */
19: #define AUDITLOG 0x20 /* see the top of namei */
20:
21: struct namistat {
22: long ns_namei; /* number of calls to "namei" */
23: long ns_dirblk; /* number of directory blocks read */
24: };
25:
26: #ifdef KERNEL
27: struct namistat namistat;
28: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.