Deleted Added
full compact
fts-compat.h (103726) fts-compat.h (129052)
1/*
2 * Copyright (c) 1989, 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

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)fts.h 8.3 (Berkeley) 8/14/94
1/*
2 * Copyright (c) 1989, 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

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)fts.h 8.3 (Berkeley) 8/14/94
34 * $FreeBSD: head/lib/libc/gen/fts-compat.h 103726 2002-09-21 01:28:41Z wollman $
34 * $FreeBSD: head/lib/libc/gen/fts-compat.h 129052 2004-05-08 15:09:02Z peadar $
35 */
36
37#ifndef _FTS_H_
38#define _FTS_H_
39
35 */
36
37#ifndef _FTS_H_
38#define _FTS_H_
39
40struct _fts_private; /* implementation data */
41
40typedef struct {
41 struct _ftsent *fts_cur; /* current node */
42 struct _ftsent *fts_child; /* linked list of children */
43 struct _ftsent **fts_array; /* sort array */
44 dev_t fts_dev; /* starting device # */
45 char *fts_path; /* path for this descent */
46 int fts_rfd; /* fd for root */
47 int fts_pathlen; /* sizeof(path) */

--- 10 unchanged lines hidden (view full) ---

58#define FTS_XDEV 0x040 /* don't cross devices */
59#define FTS_WHITEOUT 0x080 /* return whiteout information */
60#define FTS_OPTIONMASK 0x0ff /* valid user option mask */
61
62#define FTS_NAMEONLY 0x100 /* (private) child names only */
63#define FTS_STOP 0x200 /* (private) unrecoverable error */
64 int fts_options; /* fts_open options, global flags */
65 void *fts_clientptr; /* thunk for sort function */
42typedef struct {
43 struct _ftsent *fts_cur; /* current node */
44 struct _ftsent *fts_child; /* linked list of children */
45 struct _ftsent **fts_array; /* sort array */
46 dev_t fts_dev; /* starting device # */
47 char *fts_path; /* path for this descent */
48 int fts_rfd; /* fd for root */
49 int fts_pathlen; /* sizeof(path) */

--- 10 unchanged lines hidden (view full) ---

60#define FTS_XDEV 0x040 /* don't cross devices */
61#define FTS_WHITEOUT 0x080 /* return whiteout information */
62#define FTS_OPTIONMASK 0x0ff /* valid user option mask */
63
64#define FTS_NAMEONLY 0x100 /* (private) child names only */
65#define FTS_STOP 0x200 /* (private) unrecoverable error */
66 int fts_options; /* fts_open options, global flags */
67 void *fts_clientptr; /* thunk for sort function */
68 struct _fts_private *fts_priv; /* Implementation data */
66} FTS;
67
68typedef struct _ftsent {
69 struct _ftsent *fts_cycle; /* cycle node */
70 struct _ftsent *fts_parent; /* parent directory */
71 struct _ftsent *fts_link; /* next file in directory */
72 long fts_number; /* local numeric value */
73 void *fts_pointer; /* local address value */

--- 64 unchanged lines hidden ---
69} FTS;
70
71typedef struct _ftsent {
72 struct _ftsent *fts_cycle; /* cycle node */
73 struct _ftsent *fts_parent; /* parent directory */
74 struct _ftsent *fts_link; /* next file in directory */
75 long fts_number; /* local numeric value */
76 void *fts_pointer; /* local address value */

--- 64 unchanged lines hidden ---