File: files.h

package info (click to toggle)
epic5 3.0.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: ansic: 75,810; makefile: 648; ruby: 227; python: 215; sh: 78; perl: 13
file content (31 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * files.h -- header file for files.c
 * Direct file manipulation for irc?  Unheard of!
 *
 * Copyright 1995, 1997 EPIC Software Labs
 * See the COPYRIGHT file for copyright information
 */

#ifndef __files_h__
#define __files_h__

	int	open_file_for_read 	(const char *);
	int	open_file_for_write 	(const char *, const char *);
	int *	open_exec_for_in_out_err(const char *, char * const *);
	int	target_file_write	(const char *, const char *);
	int	file_writeb 		(int, int, char *);
	char *	file_read 		(int);
	char *	file_readb 		(int, int);
	int	file_eof 		(int);
	int	file_close 		(int);
	int	file_valid		(int);
	int	file_rewind		(int);
	int	file_error		(int);
	int	file_seek		(int, off_t, const char *);
	intmax_t file_tell		(int);
	int	file_skip		(int, int);

	char *	dbmctl			(char *);
	void    close_all_dbms 		(void);

#endif