NVBIO
|
#include <time.h>
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include "htslib/knetfile.h"
Go to the source code of this file.
Macros | |
#define | __err_connect(func) do { perror(func); freeaddrinfo(res); return -1; } while (0) |
Functions | |
int | kftp_connect (knetFile *ftp) |
int | kftp_reconnect (knetFile *ftp) |
knetFile * | kftp_parse_url (const char *fn, const char *mode) |
int | kftp_connect_file (knetFile *fp) |
knetFile * | khttp_parse_url (const char *fn, const char *mode) |
int | khttp_connect_file (knetFile *fp) |
knetFile * | knet_open (const char *fn, const char *mode) |
knetFile * | knet_dopen (int fd, const char *mode) |
ssize_t | knet_read (knetFile *fp, void *buf, size_t len) |
off_t | knet_seek (knetFile *fp, off_t off, int whence) |
int | knet_close (knetFile *fp) |
#define __err_connect | ( | func) | do { perror(func); freeaddrinfo(res); return -1; } while (0) |
int kftp_connect | ( | knetFile * | ftp) |
Definition at line 270 of file knetfile.c.
int kftp_connect_file | ( | knetFile * | fp) |
Definition at line 319 of file knetfile.c.
Definition at line 293 of file knetfile.c.
int kftp_reconnect | ( | knetFile * | ftp) |
Definition at line 281 of file knetfile.c.
int khttp_connect_file | ( | knetFile * | fp) |
Definition at line 406 of file knetfile.c.
Definition at line 371 of file knetfile.c.
int knet_close | ( | knetFile * | fp) |
Definition at line 566 of file knetfile.c.
Definition at line 496 of file knetfile.c.
Definition at line 452 of file knetfile.c.
ssize_t knet_read | ( | knetFile * | fp, |
void * | buf, | ||
size_t | len | ||
) |
Definition at line 504 of file knetfile.c.
off_t knet_seek | ( | knetFile * | fp, |
off_t | off, | ||
int | whence | ||
) |
Definition at line 533 of file knetfile.c.