182777Sobrien/* $FreeBSD$ */
282777Sobrien
338581Sobrien/*
438581Sobrien * aux_conf.h:
538581Sobrien * This file gets "filled in" for each architecture.
6131711Smbr * aux_conf.h.  Generated from aux_conf.h.in by configure.
738581Sobrien */
838581Sobrien
938581Sobrien#ifndef _AUX_CONF_H
1038581Sobrien#define _AUX_CONF_H
1138581Sobrien
1238581Sobrien/*
1338581Sobrien * The next line is a literal inclusion of a file which includes a
1438581Sobrien * definition for the MOUNT_TRAP macro for a particular architecture.
1538581Sobrien * If it defines the wrong entry, check the AC_CHECK_MOUNT_TRAP m4 macro
16131711Smbr * in $srcdir/m4/macros.
1738581Sobrien */
1838581Sobrien
1938831Sobrien/* $srcdir/conf/trap/trap_default.h */
2038831Sobrien#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount(type, mnt->mnt_dir, flags, mnt_data)
2138581Sobrien/* End of included MOUNT_TRAP macro definition file */
2238581Sobrien
2338581Sobrien/*
2438581Sobrien * The next line is a literal replacement of a variable which defines the
2538581Sobrien * the UNMOUNT_TRAP macro for a particular architecture.
2638581Sobrien * If it defines the wrong entry, check the AC_CHECK_UNMOUNT_CALL m4 macro
2738581Sobrien * in $srcdir/aclocal.m4.  If the arguments are being defined wrong, check
28131711Smbr * the macro AC_CHECK_UNMOUNT_ARGS in $srcdir/m4/macros.
2938581Sobrien */
3038581Sobrien#define UNMOUNT_TRAP(mnt)	unmount(mnt->mnt_dir)
3138581Sobrien/* End of replaced UNMOUNT_TRAP macro definition */
32174311Sobrien/* umount(8) executable path, for type:=program */
33174311Sobrien#define UNMOUNT_PROGRAM		"/sbin/umount"
3438581Sobrien
3538581Sobrien/*
3638581Sobrien * The next line is a literal inclusion of a file which includes a
3738581Sobrien * definition for the NFS_FH_DREF macro for a particular architecture.
3838581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_FH_DREF m4 macro
39131711Smbr * in $srcdir/m4/macros.
4038581Sobrien */
4138581Sobrien
4238581Sobrien/* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */
4338581Sobrien#define	NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
4438581Sobrien/* End of included NFS_FH_DREF macro definition file */
4538581Sobrien
4638581Sobrien/*
4738581Sobrien * The next line is a literal inclusion of a file which includes a
4838581Sobrien * definition for the NFS_SA_DREF macro for a particular architecture.
4938581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro
50131711Smbr * in $srcdir/m4/macros.
5138581Sobrien */
5238581Sobrien
5338581Sobrien/* $srcdir/conf/sa_dref/sa_dref_bsd44.h */
5438581Sobrien#define	NFS_SA_DREF(dst, src) { \
5538581Sobrien		(dst)->addr = (struct sockaddr *) (src); \
5638581Sobrien		(dst)->addrlen = sizeof(*src); \
5738581Sobrien	}
58174311Sobrien#define NFS_ARGS_T_ADDR_IS_POINTER 1
5938581Sobrien/* End of included NFS_SA_DREF macro definition file */
6038581Sobrien
6138581Sobrien/*
6238581Sobrien * The next line is a literal inclusion of a file which includes a
6338581Sobrien * definition for the NFS_HN_DREF macro for a particular architecture.
6438581Sobrien * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro
65131711Smbr * in $srcdir/m4/macros.
6638581Sobrien */
6738581Sobrien
6838581Sobrien/* $srcdir/conf/hn_dref/hn_dref_default.h */
6938581Sobrien#define NFS_HN_DREF(dst, src) (dst) = (src)
7038581Sobrien/* End of included NFS_HN_DREF macro definition file */
7138581Sobrien
7238581Sobrien#endif /* not _AUX_CONF_H */
73