2013-05-19 05:36:24 -04:00
|
|
|
#ifndef _FILE_H_
|
|
|
|
#define _FILE_H_
|
|
|
|
|
2013-06-10 05:03:32 -04:00
|
|
|
#if CRYPT
|
|
|
|
void cryptbufferkey( struct buffer *bp) ;
|
|
|
|
int set_encryption_key( int f, int n) ;
|
|
|
|
#endif
|
|
|
|
|
2013-05-19 05:36:24 -04:00
|
|
|
int fileread( int f, int n) ;
|
|
|
|
int insfile( int f, int n) ;
|
|
|
|
int filefind( int f, int n) ;
|
|
|
|
int viewfile( int f, int n) ;
|
|
|
|
int getfile( char *fname, int lockfl) ;
|
|
|
|
int readin( char *fname, int lockfl) ;
|
|
|
|
void makename( char *bname, char *fname) ;
|
|
|
|
void unqname( char *name) ;
|
|
|
|
int filewrite( int f, int n) ;
|
|
|
|
int filesave( int f, int n) ;
|
|
|
|
int writeout( char *fn) ;
|
|
|
|
int filename( int f, int n) ;
|
|
|
|
int ifile( char *fname) ;
|
|
|
|
|
|
|
|
#endif
|