|
|
Power 6/32 Unix version 1.2b
/* nami.h 6.1 83/07/29 */
/* Documentation Block and Change history :
bernie 1/28/85 Add define for AUDITLOG
struct namidata {
int ni_offset;
int ni_count;
struct inode *ni_pdir;
struct direct ni_dent;
};
enum nami_op { NAMI_LOOKUP, NAMI_CREATE, NAMI_DELETE };
/* this is temporary until the namei interface changes */
#define LOOKUP 0 /* perform name lookup only */
#define CREATE 1 /* setup for file creation */
#define DELETE 2 /* setup for file deletion */
#define LOCKPARENT 0x10 /* see the top of namei */
#define AUDITLOG 0x20 /* see the top of namei */
struct namistat {
long ns_namei; /* number of calls to "namei" */
long ns_dirblk; /* number of directory blocks read */
};
#ifdef KERNEL
struct namistat namistat;
#endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.