125603Skjc/*
225603Skjc * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
325603Skjc *      All rights reserved.
425603Skjc * Copyright (c) 1990, 1993
525603Skjc *	The Regents of the University of California.  All rights reserved.
625603Skjc *
725603Skjc * This code is derived from software contributed to Berkeley by
825603Skjc * Chris Torek.
925603Skjc *
1025603Skjc * By using this file, you agree to the terms and conditions set
1125603Skjc * forth in the LICENSE file which can be found at the top level of
1225603Skjc * the sendmail distribution.
1325603Skjc *
1425603Skjc * $Id: fvwrite.h,v 1.8 2013-11-22 20:51:43 ca Exp $
1525603Skjc */
1625603Skjc
1725603Skjc/* I/O descriptors for sm_fvwrite() */
1825603Skjcstruct sm_iov
1925603Skjc{
2025603Skjc	void	*iov_base;
2125603Skjc	size_t	iov_len;
2225603Skjc};
2325603Skjcstruct sm_uio
2425603Skjc{
2525603Skjc	struct sm_iov	*uio_iov;
2625603Skjc	int		uio_iovcnt;
2725603Skjc	int		uio_resid;
2825603Skjc};
2925603Skjc
3025603Skjcextern int sm_fvwrite __P((SM_FILE_T *, int, struct sm_uio *));
3125603Skjc