1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 15:26:23 -05:00
uemacs/file.h

30 lines
746 B
C
Raw Normal View History

2013-05-19 05:36:24 -04:00
#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
2013-10-09 02:03:56 -04:00
extern boolean restflag ; /* restricted use? */
boolean resterr( void) ; /* restricted error message */
2013-10-09 02:03:56 -04:00
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( const char *fname, boolean lockfl) ;
int readin( const char *fname, boolean lockfl) ;
void makename( bname_t bname, const char *fname) ;
2013-05-19 05:36:24 -04:00
void unqname( char *name) ;
int filewrite( int f, int n) ;
int filesave( int f, int n) ;
int writeout( const char *fn) ;
2013-05-19 05:36:24 -04:00
int filename( int f, int n) ;
#endif