]> git.donarmstrong.com Git - samtools.git/blobdiff - knetfile.h
Introduced LIBPATH variable so this could be overridden to allow samtools to build...
[samtools.git] / knetfile.h
index 85f348c5886910df7b61633080c64064d549800b..bf45f3df809b8f3ebd54b17c711dd188ab3dbb36 100644 (file)
@@ -29,8 +29,22 @@ extern "C" {
 #endif
 
        knetFile *knet_open(const char *fn, const char *mode);
+
+       /* 
+          This only works with local files.
+        */
        knetFile *knet_dopen(int fd, const char *mode);
+
+       /*
+         If ->is_ready==0, this routine updates ->fd; otherwise, it simply
+         reads from ->fd.
+        */
        off_t knet_read(knetFile *fp, void *buf, off_t len);
+
+       /*
+         This routine only sets ->offset and ->is_ready=0. It does not
+         communicate with the FTP server.
+        */
        int knet_seek(knetFile *fp, off_t off, int whence);
        int knet_close(knetFile *fp);