Macros | Functions | Variables
lib1900.c File Reference
#include "test.h"
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
Include dependency graph for lib1900.c:

Go to the source code of this file.

Macros

#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

static int blacklist_num_servers
 
static int blacklist_num_sites
 
static CURLhandles [MAX_URLS]
 
static int num_handles
 
static char * server_blacklist [MAX_BLACKLIST]
 
static char * site_blacklist [MAX_BLACKLIST]
 
static char * urlstring [MAX_URLS]
 
static int urltime [MAX_URLS]
 

Macro Definition Documentation

#define MAX_BLACKLIST   20

Definition at line 30 of file lib1900.c.

#define MAX_URLS   200

Definition at line 29 of file lib1900.c.

#define TEST_HANG_TIMEOUT   60 * 1000

Definition at line 28 of file lib1900.c.

Function Documentation

static int create_handles ( void  )
static

Definition at line 102 of file lib1900.c.

static void free_urls ( void  )
static

Definition at line 88 of file lib1900.c.

static int parse_url_file ( const char *  filename)
static

Definition at line 51 of file lib1900.c.

static void remove_handles ( void  )
static

Definition at line 125 of file lib1900.c.

static void setup_handle ( char *  base_url,
CURLM m,
int  handlenum 
)
static

Definition at line 112 of file lib1900.c.

int test ( char *  URL)

Definition at line 135 of file lib1900.c.

static size_t write_callback ( void *  contents,
size_t  size,
size_t  nmemb,
void *  userp 
)
static

Definition at line 42 of file lib1900.c.

Variable Documentation

int blacklist_num_servers
static

Definition at line 38 of file lib1900.c.

int blacklist_num_sites
static

Definition at line 39 of file lib1900.c.

CURL* handles[MAX_URLS]
static

Definition at line 34 of file lib1900.c.

int num_handles
static

Definition at line 37 of file lib1900.c.

char* server_blacklist[MAX_BLACKLIST]
static

Definition at line 36 of file lib1900.c.

char* site_blacklist[MAX_BLACKLIST]
static

Definition at line 35 of file lib1900.c.

char* urlstring[MAX_URLS]
static

Definition at line 33 of file lib1900.c.

int urltime[MAX_URLS]
static

Definition at line 32 of file lib1900.c.



rc_tagdetect_client
Author(s): Monika Florek-Jasinska , Raphael Schaller
autogenerated on Sat Feb 13 2021 03:42:17