Go to the source code of this file.
Defines | |
#define | MAX_BLACKLIST 20 |
#define | MAX_URLS 200 |
#define | TEST_HANG_TIMEOUT 60 * 1000 |
Functions | |
static int | create_handles (void) |
static void | free_urls (void) |
static int | parse_url_file (const char *filename) |
static void | remove_handles (void) |
static void | setup_handle (char *base_url, CURLM *m, int handlenum) |
int | test (char *URL) |
static size_t | write_callback (void *contents, size_t size, size_t nmemb, void *userp) |
Variables | |
int | blacklist_num_servers |
int | blacklist_num_sites |
CURL * | handles [MAX_URLS] |
int | num_handles |
char * | server_blacklist [MAX_BLACKLIST] |
char * | site_blacklist [MAX_BLACKLIST] |
char * | urlstring [MAX_URLS] |
int | urltime [MAX_URLS] |
#define MAX_BLACKLIST 20 |
#define TEST_HANG_TIMEOUT 60 * 1000 |
static int create_handles | ( | void | ) | [static] |
static int parse_url_file | ( | const char * | filename | ) | [static] |
static void remove_handles | ( | void | ) | [static] |
static void setup_handle | ( | char * | base_url, |
CURLM * | m, | ||
int | handlenum | ||
) | [static] |
static size_t write_callback | ( | void * | contents, |
size_t | size, | ||
size_t | nmemb, | ||
void * | userp | ||
) | [static] |
int num_handles |
char* server_blacklist[MAX_BLACKLIST] |
char* site_blacklist[MAX_BLACKLIST] |