1 /*
2  * files.h -- header file for files.c
3  * Direct file manipulation for irc?  Unheard of!
4  *
5  * Copyright 1995 Jeremy Nelson
6  * Copyright 1997 EPIC Software Labs
7  * See the COPYRIGHT file for copyright information
8  */
9 
10 #ifndef __files_h__
11 #define __files_h__
12 
13 	int	open_file_for_read 	(const char *);
14 	int	open_file_for_write 	(const char *, const char *);
15 	int *	open_exec_for_in_out_err(const char *, char * const *);
16 	int	target_file_write	(const char *, const char *);
17 	int	file_write 		(int, int, const char *);
18 	int	file_writeb 		(int, int, char *);
19 	char *	file_read 		(int);
20 	char *	file_readb 		(int, int);
21 	int	file_eof 		(int);
22 	int	file_close 		(int);
23 	int	file_valid		(int);
24 	int	file_rewind		(int);
25 	int	file_error		(int);
26 	int	file_seek		(int, long, const char *);
27 	int	file_tell		(int);
28 	int	file_skip		(int, int);
29 
30 #endif
31