NetBSD/dist/am-utils/conf/trap/trap_hpux.h
dogcow fda6698809 Import of am-utils-6.0.3 virgin source, with the following changes:
"$Id: blah$" => "Id: blah" (as well as for $Header:$) for all files
 "$NetBSD: $" added to the top of all .c and .h files
2000-06-07 00:52:18 +00:00

17 lines
650 B
C

/* $NetBSD: trap_hpux.h,v 1.1.1.1 2000/06/07 00:52:21 dogcow Exp $ */
/* $srcdir/conf/trap/trap_hpux.h */
extern int mount_hpux(MTYPE_TYPE type, const char *dir, int flags, caddr_t data);
#define MOUNT_TRAP(type, mnt, flags, mnt_data) mount_hpux(type, mnt->mnt_dir, flags, mnt_data)
/*
* HPUX 9.x does is not even consistently inconsistent with itself.
* It defines an integer mount type for PCFS, but not a string type as
* with all other mount types.
*
* XXX: remove this ugly hack when HPUX 9.0 is defunct.
*/
#if MOUNT_TYPE_PCFS == MOUNT_PC
# undef MOUNT_TYPE_PCFS
# define MOUNT_TYPE_PCFS "pcfs"
#endif /* MOUNT_TYPE_PCFS == MOUNT_PC */