1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
3*7c478bd9Sstevel@tonic-gate  *      All rights reserved.
4*7c478bd9Sstevel@tonic-gate  * Copyright (c) 1990, 1993
5*7c478bd9Sstevel@tonic-gate  *	The Regents of the University of California.  All rights reserved.
6*7c478bd9Sstevel@tonic-gate  *
7*7c478bd9Sstevel@tonic-gate  * This code is derived from software contributed to Berkeley by
8*7c478bd9Sstevel@tonic-gate  * Chris Torek.
9*7c478bd9Sstevel@tonic-gate  *
10*7c478bd9Sstevel@tonic-gate  * By using this file, you agree to the terms and conditions set
11*7c478bd9Sstevel@tonic-gate  * forth in the LICENSE file which can be found at the top level of
12*7c478bd9Sstevel@tonic-gate  * the sendmail distribution.
13*7c478bd9Sstevel@tonic-gate  *
14*7c478bd9Sstevel@tonic-gate  * $Id: fvwrite.h,v 1.7 2001/03/02 00:18:19 ca Exp $
15*7c478bd9Sstevel@tonic-gate  */
16*7c478bd9Sstevel@tonic-gate 
17*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
18*7c478bd9Sstevel@tonic-gate 
19*7c478bd9Sstevel@tonic-gate /* I/O descriptors for sm_fvwrite() */
20*7c478bd9Sstevel@tonic-gate struct sm_iov
21*7c478bd9Sstevel@tonic-gate {
22*7c478bd9Sstevel@tonic-gate 	void	*iov_base;
23*7c478bd9Sstevel@tonic-gate 	size_t	iov_len;
24*7c478bd9Sstevel@tonic-gate };
25*7c478bd9Sstevel@tonic-gate struct sm_uio
26*7c478bd9Sstevel@tonic-gate {
27*7c478bd9Sstevel@tonic-gate 	struct sm_iov	*uio_iov;
28*7c478bd9Sstevel@tonic-gate 	int		uio_iovcnt;
29*7c478bd9Sstevel@tonic-gate 	int		uio_resid;
30*7c478bd9Sstevel@tonic-gate };
31*7c478bd9Sstevel@tonic-gate 
32*7c478bd9Sstevel@tonic-gate extern int sm_fvwrite __P((SM_FILE_T *, int, struct sm_uio *));
33