From: Martin Mares Date: Mon, 11 Dec 2006 22:44:55 +0000 (+0100) Subject: Export temp_file_name(). X-Git-Tag: holmes-import~507^2~15 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6f0e4304d572ac09475e25327b01a8ac326bf6d8;p=libucw.git Export temp_file_name(). --- diff --git a/lib/fastbuf.h b/lib/fastbuf.h index 922798ff..28328107 100644 --- a/lib/fastbuf.h +++ b/lib/fastbuf.h @@ -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 */