summaryrefslogtreecommitdiffstats
path: root/usr.bin/find/extern.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
committerphk <phk@FreeBSD.org>2001-05-03 18:05:35 +0000
commite51263b8a6769bca310145953de7cb2a93696e64 (patch)
tree9eec6ef5730dc41824c3e49c7f3642ecef218180 /usr.bin/find/extern.h
parentd7b11c99fc99c4b8a79d95f29ec61a701a8956f2 (diff)
downloadFreeBSD-src-e51263b8a6769bca310145953de7cb2a93696e64.zip
FreeBSD-src-e51263b8a6769bca310145953de7cb2a93696e64.tar.gz
They add the following commands:
-anewer -cnewer -mnewer -okdir -newer[acm][acmt] With it, you can form queries like find . -newerct '1 minute ago' -print As an extra bonus, the program is ANSI-fied - the original version relies on some obscure features of K&R C. (This PR was submitted in 1999, and the submittor has kept the patch updated ever since, hats off for him guys, and how about you close a PR ??) PR: 9374 Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
Diffstat (limited to 'usr.bin/find/extern.h')
-rw-r--r--usr.bin/find/extern.h100
1 files changed, 59 insertions, 41 deletions
diff --git a/usr.bin/find/extern.h b/usr.bin/find/extern.h
index 442a950..f200786 100644
--- a/usr.bin/find/extern.h
+++ b/usr.bin/find/extern.h
@@ -47,50 +47,68 @@ PLAN *paren_squish __P((PLAN *));
struct stat;
void printlong __P((char *, char *, struct stat *));
int queryuser __P((char **));
+OPTION *option __P((char *));
-PLAN *c_amin __P((char *));
-PLAN *c_atime __P((char *));
-PLAN *c_cmin __P((char *));
-PLAN *c_ctime __P((char *));
-PLAN *c_delete __P((void));
-PLAN *c_depth __P((void));
-PLAN *c_empty __P((void));
-PLAN *c_exec __P((char ***, int));
-PLAN *c_flags __P((char *));
-PLAN *c_execdir __P((char ***));
-PLAN *c_follow __P((void));
+creat_f c_Xmin;
+creat_f c_Xtime;
+creat_f c_and;
+creat_f c_delete;
+creat_f c_depth;
+creat_f c_empty;
+creat_f c_exec;
+creat_f c_flags;
+creat_f c_follow;
#if !defined(__NetBSD__)
-PLAN *c_fstype __P((char *));
+creat_f c_fstype;
#endif
-PLAN *c_group __P((char *));
-PLAN *c_iname __P((char *));
-PLAN *c_inum __P((char *));
-PLAN *c_ipath __P((char *));
-PLAN *c_iregex __P((char *));
-PLAN *c_links __P((char *));
-PLAN *c_ls __P((void));
-PLAN *c_name __P((char *));
-PLAN *c_newer __P((char *));
-PLAN *c_nogroup __P((void));
-PLAN *c_nouser __P((void));
-PLAN *c_path __P((char *));
-PLAN *c_perm __P((char *));
-PLAN *c_print __P((void));
-PLAN *c_print0 __P((void));
-PLAN *c_prune __P((void));
-PLAN *c_regex __P((char *));
-PLAN *c_size __P((char *));
-PLAN *c_type __P((char *));
-PLAN *c_user __P((char *));
-PLAN *c_xdev __P((void));
-PLAN *c_openparen __P((void));
-PLAN *c_closeparen __P((void));
-PLAN *c_maxdepth __P((char *));
-PLAN *c_mindepth __P((char *));
-PLAN *c_mmin __P((char *));
-PLAN *c_mtime __P((char *));
-PLAN *c_not __P((void));
-PLAN *c_or __P((void));
+creat_f c_group;
+creat_f c_inum;
+creat_f c_links;
+creat_f c_ls;
+creat_f c_mXXdepth;
+creat_f c_name;
+creat_f c_newer;
+creat_f c_nogroup;
+creat_f c_nouser;
+creat_f c_perm;
+creat_f c_print;
+creat_f c_regex;
+creat_f c_simple;
+creat_f c_size;
+creat_f c_type;
+creat_f c_user;
+creat_f c_xdev;
+
+exec_f f_Xmin;
+exec_f f_Xtime;
+exec_f f_always_true;
+exec_f f_closeparen;
+exec_f f_delete;
+exec_f f_empty;
+exec_f f_exec;
+exec_f f_expr;
+exec_f f_flags;
+exec_f f_fstype;
+exec_f f_group;
+exec_f f_inum;
+exec_f f_links;
+exec_f f_ls;
+exec_f f_name;
+exec_f f_newer;
+exec_f f_nogroup;
+exec_f f_not;
+exec_f f_nouser;
+exec_f f_openparen;
+exec_f f_or;
+exec_f f_path;
+exec_f f_perm;
+exec_f f_print;
+exec_f f_print0;
+exec_f f_prune;
+exec_f f_regex;
+exec_f f_size;
+exec_f f_type;
+exec_f f_user;
extern int ftsoptions, isdeprecated, isdepth, isoutput, issort, isxargs;
extern int mindepth, maxdepth;
OpenPOWER on IntegriCloud