| 64 |
#endif |
#endif |
| 65 |
|
|
| 66 |
/* Compiled-in settings */ |
/* Compiled-in settings */ |
| 67 |
#define MAX_STRING 256 |
#define MAX_STRING 1024 |
| 68 |
|
#define MAX_ADD_HEADERS 10 |
| 69 |
#define MAX_REDIR 5 |
#define MAX_REDIR 5 |
| 70 |
#define AXEL_VERSION_STRING "1.0b" |
#define AXEL_VERSION_STRING "2.3" |
| 71 |
#define USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")" |
#define DEFAULT_USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")" |
| 72 |
|
|
| 73 |
typedef struct |
typedef struct |
| 74 |
{ |
{ |
| 96 |
char filename[MAX_STRING]; |
char filename[MAX_STRING]; |
| 97 |
double start_time; |
double start_time; |
| 98 |
int next_state, finish_time; |
int next_state, finish_time; |
| 99 |
int bytes_done, start_byte, size; |
long long bytes_done, start_byte, size; |
| 100 |
int bytes_per_second; |
int bytes_per_second; |
| 101 |
int delay_time; |
int delay_time; |
| 102 |
int outfd; |
int outfd; |