]> mj.ucw.cz Git - libucw.git/commitdiff
Export temp_file_name().
authorMartin Mares <mj@ucw.cz>
Mon, 11 Dec 2006 22:44:55 +0000 (23:44 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 11 Dec 2006 22:44:55 +0000 (23:44 +0100)
lib/fastbuf.h

index 922798ff183515a3d102191c6e614569373088e1..283281075561aed591277313a9cb4c329c58f60f 100644 (file)
@@ -88,6 +88,9 @@ struct fastbuf *bfdopen(int fd, uns buflen);
 struct fastbuf *bfdopen_shared(int fd, uns buflen);
 void bfilesync(struct fastbuf *b);
 
+#define TEMP_FILE_NAME_LEN 256
+void temp_file_name(byte *name);
+
 /* FastIO on in-memory streams */
 
 struct fastbuf *fbmem_create(unsigned blocksize);      /* Create stream and return its writing fastbuf */