mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-16 01:26:06 -05:00
30 lines
720 B
C
30 lines
720 B
C
#ifndef _FILE_H_
|
|
#define _FILE_H_
|
|
|
|
#include "buffer.h"
|
|
#include "crypt.h"
|
|
#include "retcode.h"
|
|
|
|
#if CRYPT
|
|
void cryptbufferkey( struct buffer *bp) ;
|
|
int set_encryption_key( int f, int n) ;
|
|
#endif
|
|
|
|
extern boolean restflag ; /* restricted use? */
|
|
|
|
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( const char *fname, boolean lockfl) ;
|
|
int readin( const char *fname, boolean lockfl) ;
|
|
void makename( bname_t bname, const char *fname) ;
|
|
void unqname( char *name) ;
|
|
int filewrite( int f, int n) ;
|
|
int filesave( int f, int n) ;
|
|
int writeout( const char *fn) ;
|
|
int filename( int f, int n) ;
|
|
int ifile( const char *fname) ;
|
|
|
|
#endif
|