diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-08-31 22:40:23 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-08-31 22:40:23 +0000 |
commit | a77ba121ed7e4931bff86c87a5c0e54d4eea2c63 (patch) | |
tree | b18515d71c837a284f5eb0322e0aed3cc4462771 /usr.bin/find/find.h | |
parent | 4ba83990908c752d8ef27d97cbcb7b32a4a38edf (diff) |
Add support for -maxdepth option
Diffstat (limited to 'usr.bin/find/find.h')
-rw-r--r-- | usr.bin/find/find.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/find/find.h b/usr.bin/find/find.h index 1a51ebaf898..829e504c68c 100644 --- a/usr.bin/find/find.h +++ b/usr.bin/find/find.h @@ -1,4 +1,4 @@ -/* * $OpenBSD: find.h,v 1.2 1996/06/26 05:33:09 deraadt Exp $*/ +/* * $OpenBSD: find.h,v 1.3 1996/08/31 22:40:20 tholo Exp $*/ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -41,8 +41,8 @@ enum ntype { N_AND = 1, /* must start > 0 */ N_ATIME, N_CLOSEPAREN, N_CTIME, N_DEPTH, N_EXEC, N_EXPR, N_FOLLOW, - N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS, N_MTIME, N_NAME, N_NEWER, - N_NOGROUP, N_NOT, N_NOUSER, N_OK, N_OPENPAREN, N_OR, N_PATH, + N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS, N_MDEPTH, N_MTIME, N_NAME, + N_NEWER, N_NOGROUP, N_NOT, N_NOUSER, N_OK, N_OPENPAREN, N_OR, N_PATH, N_PERM, N_PRINT, N_PRINT0, N_PRUNE, N_SIZE, N_TYPE, N_USER, N_XDEV, }; @@ -77,10 +77,12 @@ typedef struct _plandata { } ex; char *_a_data[2]; /* array of char pointers */ char *_c_data; /* char pointer */ + int _d_data; /* tree depth */ } p_un; } PLAN; #define a_data p_un._a_data #define c_data p_un._c_data +#define d_data p_un._d_data #define i_data p_un._i_data #define g_data p_un._g_data #define l_data p_un._l_data |