Deleted Added
full compact
makefs.h (247052) makefs.h (250407)
1/* $NetBSD: makefs.h,v 1.20 2008/12/28 21:51:46 christos Exp $ */
2
3/*
4 * Copyright (c) 2001 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Luke Mewburn for Wasabi Systems, Inc.
8 *

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

29 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
1/* $NetBSD: makefs.h,v 1.20 2008/12/28 21:51:46 christos Exp $ */
2
3/*
4 * Copyright (c) 2001 Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Written by Luke Mewburn for Wasabi Systems, Inc.
8 *

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

29 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 * $FreeBSD: head/usr.sbin/makefs/makefs.h 247052 2013-02-20 19:32:31Z brooks $
37 * $FreeBSD: head/usr.sbin/makefs/makefs.h 250407 2013-05-09 14:43:36Z brooks $
38 */
39
40#ifndef _MAKEFS_H
41#define _MAKEFS_H
42
43#include <sys/stat.h>
44#include <err.h>
45

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

277#define cg_clustersum_swap(cgp, ns) \
278 ((int32_t *)((uintptr_t)(cgp) + ufs_rw32((cgp)->cg_clustersumoff, ns)))
279
280struct fs;
281void ffs_fragacct_swap(struct fs *, int, int32_t [], int, int);
282
283fsinode *link_check(fsinode *);
284
38 */
39
40#ifndef _MAKEFS_H
41#define _MAKEFS_H
42
43#include <sys/stat.h>
44#include <err.h>
45

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

277#define cg_clustersum_swap(cgp, ns) \
278 ((int32_t *)((uintptr_t)(cgp) + ufs_rw32((cgp)->cg_clustersumoff, ns)))
279
280struct fs;
281void ffs_fragacct_swap(struct fs *, int, int32_t [], int, int);
282
283fsinode *link_check(fsinode *);
284
285/*
286 * Declarations for compat routines.
287 */
288long long strsuftoll(const char *, const char *, long long, long long);
289long long strsuftollx(const char *, const char *,
290 long long, long long, char *, size_t);
291
292struct passwd;
293int uid_from_user(const char *, uid_t *);
294int pwcache_userdb(int (*)(int), void (*)(void),
295 struct passwd * (*)(const char *), struct passwd * (*)(uid_t));
296struct group;
297int gid_from_group(const char *, gid_t *);
298int pwcache_groupdb(int (*)(int), void (*)(void),
299 struct group * (*)(const char *), struct group * (*)(gid_t));
300
301int setup_getid(const char *dir);
302
303#endif /* _MAKEFS_H */
285#endif /* _MAKEFS_H */