diff options
author | phk <phk@FreeBSD.org> | 2003-11-05 22:26:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-11-05 22:26:08 +0000 |
commit | 7a3cd410f3a16da94524b5c7e8e18c0f38f820dd (patch) | |
tree | 382104a66bfe97e7e359325b15384857b7b59927 /usr.sbin/mtree/extern.h | |
parent | 5ef31a1b16d94984d9191da253117e79cd0a079b (diff) | |
download | FreeBSD-src-7a3cd410f3a16da94524b5c7e8e18c0f38f820dd.zip FreeBSD-src-7a3cd410f3a16da94524b5c7e8e18c0f38f820dd.tar.gz |
Give mtree(8) the ability to take [two -f spec] arguments and compare
the two specifications to each other.
Diffstat (limited to 'usr.sbin/mtree/extern.h')
-rw-r--r-- | usr.sbin/mtree/extern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/mtree/extern.h b/usr.sbin/mtree/extern.h index a0059b3..8670bb1 100644 --- a/usr.sbin/mtree/extern.h +++ b/usr.sbin/mtree/extern.h @@ -31,7 +31,9 @@ */ extern uint32_t crc_total; +#ifdef _FTS_H_ int compare(char *, NODE *, FTSENT *); +#endif int crc(int, uint32_t *, off_t *); void cwalk(void); char *flags_to_string(u_long); @@ -41,7 +43,9 @@ u_int parsekey(char *, int *); char *rlink(char *); NODE *mtree_readspec(FILE *fi); int mtree_verifyspec(FILE *fi); +int mtree_specspec(FILE *fi, FILE *fj); int check_excludes(const char *, const char *); void init_excludes(void); void read_excludes_file(const char *); +const char * ftype(u_int type); |