#include "test.h"
#include <assert.h>
#include "testutil.h"
#include "warnless.h"
#include "memdebug.h"
Go to the source code of this file.
Defines | |
#define | MAX_EASY_HANDLES 3 |
#define | TEST_HANG_TIMEOUT 5 * 1000 |
Enumerations | |
enum | HandleState { ReadyForNewHandle, NeedSocketForNewHandle, NoMoreHandles } |
Functions | |
static size_t | callback (char *ptr, size_t size, size_t nmemb, void *data) |
int | test (char *url) |
Variables | |
static CURL * | easy [MAX_EASY_HANDLES] |
static int | res = 0 |
static curl_socket_t | sockets [MAX_EASY_HANDLES] |
#define MAX_EASY_HANDLES 3 |
Definition at line 34 of file libntlmconnect.c.
#define TEST_HANG_TIMEOUT 5 * 1000 |
Definition at line 33 of file libntlmconnect.c.
enum HandleState |
Definition at line 93 of file libntlmconnect.c.
static size_t callback | ( | char * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
void * | data | ||
) | [static] |
Definition at line 40 of file libntlmconnect.c.
int test | ( | char * | url | ) |
Definition at line 99 of file libntlmconnect.c.
CURL* easy[MAX_EASY_HANDLES] [static] |
Definition at line 36 of file libntlmconnect.c.
int res = 0 [static] |
Definition at line 38 of file libntlmconnect.c.
curl_socket_t sockets[MAX_EASY_HANDLES] [static] |
Definition at line 37 of file libntlmconnect.c.