source: trunk/third/sendmail/sendmail/bf.h @ 19204

Revision 19204, 1014 bytes checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19203, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (c) 1999-2002 Sendmail, Inc. and its suppliers.
3 *      All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 *
9 *      $Id: bf.h,v 1.1.1.1 2003-04-08 15:07:21 zacheiss Exp $
10 *
11 * Contributed by Exactis.com, Inc.
12 *
13 */
14
15#ifndef BF_H
16# define BF_H 1
17
18extern SM_FILE_T        *bfopen __P((char *, MODE_T, size_t, long));
19extern int              bfcommit __P((SM_FILE_T *));
20extern int              bfrewind __P((SM_FILE_T *));
21extern int              bftruncate __P((SM_FILE_T *));
22extern int              bfclose __P((SM_FILE_T *));
23extern bool             bftest __P((SM_FILE_T *));
24
25/* "what" flags for sm_io_setinfo() for the SM_FILE_TYPE file type */
26# define SM_BF_SETBUFSIZE       1000 /* set buffer size */
27# define SM_BF_COMMIT           1001 /* commit file to disk */
28# define SM_BF_TRUNCATE         1002 /* truncate the file */
29# define SM_BF_TEST             1003 /* historical support; temp */
30
31# define BF_FILE_TYPE   "SendmailBufferedFile"
32#endif /* ! BF_H */
Note: See TracBrowser for help on using the repository browser.