extern.h (122135) | extern.h (122141) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)extern.h 8.1 (Berkeley) 6/6/93 | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)extern.h 8.1 (Berkeley) 6/6/93 |
30 * $FreeBSD: head/usr.sbin/mtree/extern.h 122135 2003-11-05 20:07:40Z phk $ | 30 * $FreeBSD: head/usr.sbin/mtree/extern.h 122141 2003-11-05 22:26:08Z phk $ |
31 */ 32extern uint32_t crc_total; 33 | 31 */ 32extern uint32_t crc_total; 33 |
34#ifdef _FTS_H_ |
|
34int compare(char *, NODE *, FTSENT *); | 35int compare(char *, NODE *, FTSENT *); |
36#endif |
|
35int crc(int, uint32_t *, off_t *); 36void cwalk(void); 37char *flags_to_string(u_long); 38 39const char *inotype(u_int); 40u_int parsekey(char *, int *); 41char *rlink(char *); 42NODE *mtree_readspec(FILE *fi); 43int mtree_verifyspec(FILE *fi); | 37int crc(int, uint32_t *, off_t *); 38void cwalk(void); 39char *flags_to_string(u_long); 40 41const char *inotype(u_int); 42u_int parsekey(char *, int *); 43char *rlink(char *); 44NODE *mtree_readspec(FILE *fi); 45int mtree_verifyspec(FILE *fi); |
46int mtree_specspec(FILE *fi, FILE *fj); |
|
44 45int check_excludes(const char *, const char *); 46void init_excludes(void); 47void read_excludes_file(const char *); | 47 48int check_excludes(const char *, const char *); 49void init_excludes(void); 50void read_excludes_file(const char *); |
51const char * ftype(u_int type); |
|