1 /***************************************************************************
2  * LPRng - An Extended Print Spooler System
3  *
4  * Copyright 1988-2003, Patrick Powell, San Diego, CA
5  *     papowell@lprng.com
6  * See LICENSE for conditions of use.
7  * $Id: fileopen.h,v 1.74 2004/09/24 20:19:59 papowell Exp $
8  ***************************************************************************/
9 
10 
11 
12 #ifndef _FILEOPEN_H_
13 #define _FILEOPEN_H_ 1
14 
15 /*****************************************************************
16  * File open functions
17  * These perform extensive checking for permissions and types
18  *  see fileopen.c for details
19  *****************************************************************/
20 
21 /* PROTOTYPES */
22 int Checkread( const char *file, struct stat *statb );
23 int Checkwrite( const char *file, struct stat *statb, int rw, int create,
24 	int nodelay );
25 int Checkwrite_timeout(int timeout,
26 	const char *file, struct stat *statb, int rw, int create, int nodelay );
27 
28 #endif
29