xref: /netbsd-src/external/bsd/am-utils/dist/conf/trap/trap_hpux.h (revision a53f50b9b44dc9467ccc9c464999b1d1c509cb0c)
1 /*	$NetBSD: trap_hpux.h,v 1.1.1.1 2008/09/19 20:07:19 christos Exp $	*/
2 
3 /* $srcdir/conf/trap/trap_hpux.h */
4 extern int mount_hpux(MTYPE_TYPE type, const char *dir, int flags, caddr_t data);
5 #define MOUNT_TRAP(type, mnt, flags, mnt_data) 	mount_hpux(type, mnt->mnt_dir, flags, mnt_data)
6 
7 /*
8  * HPUX 9.x does is not even consistently inconsistent with itself.
9  * It defines an integer mount type for PCFS, but not a string type as
10  * with all other mount types.
11  *
12  * XXX: remove this ugly hack when HPUX 9.0 is defunct.
13  */
14 #if MOUNT_TYPE_PCFS == MOUNT_PC
15 # undef MOUNT_TYPE_PCFS
16 # define MOUNT_TYPE_PCFS "pcfs"
17 #endif /* MOUNT_TYPE_PCFS == MOUNT_PC */
18