gopherfs

A FUSE gopher file system.
git clone git://r-36.net/gopherfs
Log | Files | Refs | README | LICENSE

download.h (336B)


      1 /*
      2  * Copy me if you can.
      3  * by 20h
      4  */
      5 
      6 #ifndef DOWNLOAD_H
      7 #define DOWNLOAD_H
      8 
      9 void mkrecpathfile(char *path);
     10 char *mkcachestr(char *descr, char *path);
     11 int checkqueue(sdb *db, char *path);
     12 int downloadfile(sdb *db, char *path);
     13 int getbytes(sdb *db, char *path, char *buf, int size, int offset);
     14 void *downloadthr(void *q);
     15 
     16 #endif
     17