]> git.donarmstrong.com Git - samtools.git/blobdiff - knetfile.h
* samtools-0.1.5-7 (r403)
[samtools.git] / knetfile.h
index 1692b3a2b606bb60f6a81eae6dacab292b447f19..2c55c802a508d2e81266320053af249861bab8d6 100644 (file)
@@ -13,7 +13,7 @@
 typedef struct knetFile_s {
        int type, fd;
        int64_t offset;
-       char *host;
+       char *host, *port;
 
        // the following are for FTP only
        int ctrl_fd, pasv_ip[4], pasv_port, max_response, no_reconnect, is_ready;
@@ -21,7 +21,7 @@ typedef struct knetFile_s {
        int64_t seek_offset; // for lazy seek
 
        // the following are for HTTP only
-       char *path;
+       char *path, *http_host;
 } knetFile;
 
 #define knet_tell(fp) ((fp)->offset)