190792Sgshapiro/*
2261363Sgshapiro * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
390792Sgshapiro *      All rights reserved.
490792Sgshapiro * Copyright (c) 1990, 1993
590792Sgshapiro *	The Regents of the University of California.  All rights reserved.
690792Sgshapiro *
790792Sgshapiro * This code is derived from software contributed to Berkeley by
890792Sgshapiro * Chris Torek.
990792Sgshapiro *
1090792Sgshapiro * By using this file, you agree to the terms and conditions set
1190792Sgshapiro * forth in the LICENSE file which can be found at the top level of
1290792Sgshapiro * the sendmail distribution.
1390792Sgshapiro *
14266692Sgshapiro * $Id: fvwrite.h,v 1.8 2013-11-22 20:51:43 ca Exp $
1590792Sgshapiro */
1690792Sgshapiro
1790792Sgshapiro/* I/O descriptors for sm_fvwrite() */
1890792Sgshapirostruct sm_iov
1990792Sgshapiro{
2090792Sgshapiro	void	*iov_base;
2190792Sgshapiro	size_t	iov_len;
2290792Sgshapiro};
2390792Sgshapirostruct sm_uio
2490792Sgshapiro{
2590792Sgshapiro	struct sm_iov	*uio_iov;
2690792Sgshapiro	int		uio_iovcnt;
2790792Sgshapiro	int		uio_resid;
2890792Sgshapiro};
2990792Sgshapiro
3090792Sgshapiroextern int sm_fvwrite __P((SM_FILE_T *, int, struct sm_uio *));
31