diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2002-02-17 21:56:45 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2002-02-17 21:56:45 +0000 |
commit | 8449595fe97f4474b9b9a7e4edee1ef35dcff393 (patch) | |
tree | e7a33b132264d449a512ddf4a8685df097669c1d /contrib/sendmail/src/bf.h | |
parent | 289b381b31415647269c7520d881017e2dcb27f1 (diff) | |
download | FreeBSD-src-8449595fe97f4474b9b9a7e4edee1ef35dcff393.zip FreeBSD-src-8449595fe97f4474b9b9a7e4edee1ef35dcff393.tar.gz |
Import sendmail 8.12.2
Diffstat (limited to 'contrib/sendmail/src/bf.h')
-rw-r--r-- | contrib/sendmail/src/bf.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/contrib/sendmail/src/bf.h b/contrib/sendmail/src/bf.h index 8fc86ae..030a6f8 100644 --- a/contrib/sendmail/src/bf.h +++ b/contrib/sendmail/src/bf.h @@ -1,27 +1,33 @@ /* - * Copyright (c) 1999, 2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * $Id: bf.h,v 8.5.16.2 2001/02/14 04:07:27 gshapiro Exp $ + * $Id: bf.h,v 8.15 2001/05/31 21:02:53 ca Exp $ * * Contributed by Exactis.com, Inc. * */ #ifndef BF_H -#define BF_H 1 +# define BF_H 1 -extern FILE *bfopen __P((char *, int, size_t, long)); -extern FILE *bfdup __P((FILE *)); -extern int bfcommit __P((FILE *)); -extern int bfrewind __P((FILE *)); -extern int bftruncate __P((FILE *)); -extern int bffsync __P((FILE *)); -extern int bfclose __P((FILE *)); -extern bool bftest __P((FILE *)); +extern SM_FILE_T *bfopen __P((char *, MODE_T, size_t, long)); +extern SM_FILE_T *bfdup __P((SM_FILE_T *)); +extern int bfcommit __P((SM_FILE_T *)); +extern int bfrewind __P((SM_FILE_T *)); +extern int bftruncate __P((SM_FILE_T *)); +extern int bfclose __P((SM_FILE_T *)); +extern bool bftest __P((SM_FILE_T *)); -#endif /* BF_H */ +/* "what" flags for sm_io_setinfo() for the SM_FILE_TYPE file type */ +# define SM_BF_SETBUFSIZE 1000 /* set buffer size */ +# define SM_BF_COMMIT 1001 /* commit file to disk */ +# define SM_BF_TRUNCATE 1002 /* truncate the file */ +# define SM_BF_TEST 1003 /* historical support; temp */ + +# define BF_FILE_TYPE "SendmailBufferedFile" +#endif /* ! BF_H */ |