140266059SGregory Neil Shapiro /* 25dd76dd0SGregory Neil Shapiro * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers. 340266059SGregory Neil Shapiro * All rights reserved. 440266059SGregory Neil Shapiro * Copyright (c) 1990, 1993 540266059SGregory Neil Shapiro * The Regents of the University of California. All rights reserved. 640266059SGregory Neil Shapiro * 740266059SGregory Neil Shapiro * This code is derived from software contributed to Berkeley by 840266059SGregory Neil Shapiro * Chris Torek. 940266059SGregory Neil Shapiro * 1040266059SGregory Neil Shapiro * By using this file, you agree to the terms and conditions set 1140266059SGregory Neil Shapiro * forth in the LICENSE file which can be found at the top level of 1240266059SGregory Neil Shapiro * the sendmail distribution. 1340266059SGregory Neil Shapiro * 14*4313cc83SGregory Neil Shapiro * $Id: fvwrite.h,v 1.8 2013-11-22 20:51:43 ca Exp $ 1540266059SGregory Neil Shapiro */ 1640266059SGregory Neil Shapiro 1740266059SGregory Neil Shapiro /* I/O descriptors for sm_fvwrite() */ 1840266059SGregory Neil Shapiro struct sm_iov 1940266059SGregory Neil Shapiro { 2040266059SGregory Neil Shapiro void *iov_base; 2140266059SGregory Neil Shapiro size_t iov_len; 2240266059SGregory Neil Shapiro }; 2340266059SGregory Neil Shapiro struct sm_uio 2440266059SGregory Neil Shapiro { 2540266059SGregory Neil Shapiro struct sm_iov *uio_iov; 2640266059SGregory Neil Shapiro int uio_iovcnt; 2740266059SGregory Neil Shapiro int uio_resid; 2840266059SGregory Neil Shapiro }; 2940266059SGregory Neil Shapiro 3040266059SGregory Neil Shapiro extern int sm_fvwrite __P((SM_FILE_T *, int, struct sm_uio *)); 31