]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fastbuf.h
Implemented bfix_tmp_file(), which turns a temporary file fastbuf
[libucw.git] / lib / fastbuf.h
index b8d88116fc3eaf0cd494d806ce1c0cb753a5a760..9878beeb1593580664f27b5be370e8b088bba60c 100644 (file)
@@ -101,7 +101,7 @@ struct fastbuf *bopen_file_try(const char *name, int mode, struct fb_params *par
 struct fastbuf *bopen_tmp_file(struct fb_params *params);
 struct fastbuf *bopen_fd(int fd, struct fb_params *params);
 
-/* FastIO on standard files (specify buffer size 0 to enable mmaping) */
+/* FastIO on standard files */
 
 struct fastbuf *bfdopen_internal(int fd, const char *name, uns buflen);
 struct fastbuf *bopen(const char *name, uns mode, uns buflen);
@@ -113,6 +113,7 @@ void bfilesync(struct fastbuf *b);
 
 #define TEMP_FILE_NAME_LEN 256
 void temp_file_name(char *name);
+void bfix_tmp_file(struct fastbuf *fb, const char *name);
 
 /* Internal functions of some file back-ends */