BSD 4_2 development
[unix-history] / usr / src / sys / h / nami.h
CommitLineData
59703a43
C
1/* nami.h 6.1 83/07/29 */
2
3struct namidata {
4 int ni_offset;
5 int ni_count;
6 struct inode *ni_pdir;
7 struct direct ni_dent;
8};
9
10enum nami_op { NAMI_LOOKUP, NAMI_CREATE, NAMI_DELETE };
11
12/* this is temporary until the namei interface changes */
13#define LOOKUP 0 /* perform name lookup only */
14#define CREATE 1 /* setup for file creation */
15#define DELETE 2 /* setup for file deletion */
16#define LOCKPARENT 0x10 /* see the top of namei */