aux_conf.h revision 131711
1/* $FreeBSD: head/usr.sbin/amd/include/aux_conf.h 131711 2004-07-06 14:06:58Z mbr $ */
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
33/*
34 * The next line is a literal inclusion of a file which includes a
35 * definition for the NFS_FH_DREF macro for a particular architecture.
36 * If it defines the wrong entry, check the AC_CHECK_NFS_FH_DREF m4 macro
37 * in $srcdir/m4/macros.
38 */
39
40/* $srcdir/conf/fh_dref/fh_dref_freebsd22.h */
41#define	NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
42/* End of included NFS_FH_DREF macro definition file */
43
44/*
45 * The next line is a literal inclusion of a file which includes a
46 * definition for the NFS_SA_DREF macro for a particular architecture.
47 * If it defines the wrong entry, check the AC_CHECK_NFS_SA_DREF m4 macro
48 * in $srcdir/m4/macros.
49 */
50
51/* $srcdir/conf/sa_dref/sa_dref_bsd44.h */
52#define	NFS_SA_DREF(dst, src) { \
53		(dst)->addr = (struct sockaddr *) (src); \
54		(dst)->addrlen = sizeof(*src); \
55	}
56/* End of included NFS_SA_DREF macro definition file */
57
58/*
59 * The next line is a literal inclusion of a file which includes a
60 * definition for the NFS_HN_DREF macro for a particular architecture.
61 * If it defines the wrong entry, check the AC_CHECK_NFS_HN_DREF m4 macro
62 * in $srcdir/m4/macros.
63 */
64
65/* $srcdir/conf/hn_dref/hn_dref_default.h */
66#define NFS_HN_DREF(dst, src) (dst) = (src)
67/* End of included NFS_HN_DREF macro definition file */
68
69#endif /* not _AUX_CONF_H */
70