1/* $FreeBSD$ */
2
3/*
4 * aux_conf.h:
5 * This file gets "filled in" for each architecture.
6 * aux_conf.h.  Generated from aux_conf.h.in by configure.
7 */
8
9#ifndef _AUX_CONF_H
10#define _AUX_CONF_H
11
12/*
13 * The next line is a literal inclusion of a file which includes a
14 * definition for the MOUNT_TRAP macro for a particular architecture.
15 * If it defines the wrong entry, check the AC_CHECK_MOUNT_TRAP m4 macro
16 * in $srcdir/m4/macros.
17 */
18
19/* $srcdir/conf/trap/trap_default.h */
20#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data)
21/* End of included MOUNT_TRAP macro definition file */
22
23/*
24 * The next line is a literal replacement of a variable which defines the
25 * the UNMOUNT_TRAP macro for a particular architecture.
26 * If it defines the wrong entry, check the AC_CHECK_UNMOUNT_CALL m4 macro
27 * in $srcdir/aclocal.m4.  If the arguments are being defined wrong, check
28 * the macro AC_CHECK_UNMOUNT_ARGS in $srcdir/m4/macros.
29 */
30#define UNMOUNT_TRAP(mnt)	unmount(mnt->mnt_dir)
31/* End of replaced UNMOUNT_TRAP macro definition */
32/* umount(8) executable path, for type:=program */
33#define UNMOUNT_PROGRAM		"/sbin/umount"
34
35/*
36 * The next line is a literal inclusion of a file which includes a
37 * definition for the NFS_FH_DREF macro for a particular architecture.
38 * If it defines the wrong entry, check the AC_CHECK_NFS_FH_DREF m4 macro
39 * in $srcdir/m4/macros.
40 */
41
42/* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */
43#define	NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
44/* End of included NFS_FH_DREF macro definition file */
45
46/*
47 * The next line is a literal inclusion of a file which includes a
48 * definition for the NFS_SA_DREF macro for a particular architecture.
49 * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro
50 * in $srcdir/m4/macros.
51 */
52
53/* $srcdir/conf/sa_dref/sa_dref_bsd44.h */
54#define	NFS_SA_DREF(dst, src) { \
55		(dst)->addr = (struct sockaddr *) (src); \
56		(dst)->addrlen = sizeof(*src); \
57	}
58#define NFS_ARGS_T_ADDR_IS_POINTER 1
59/* End of included NFS_SA_DREF macro definition file */
60
61/*
62 * The next line is a literal inclusion of a file which includes a
63 * definition for the NFS_HN_DREF macro for a particular architecture.
64 * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro
65 * in $srcdir/m4/macros.
66 */
67
68/* $srcdir/conf/hn_dref/hn_dref_default.h */
69#define NFS_HN_DREF(dst, src) (dst) = (src)
70/* End of included NFS_HN_DREF macro definition file */
71
72#endif /* not _AUX_CONF_H */
73