Go to the source code of this file.
Defines | |
#define | ENABLE_CURLX_PRINTF |
Functions | |
abort_unless (value!=NULL,"Out of memory") | |
abort_unless (nodep,"insertion into hash failed") | |
abort_unless (value2!=NULL,"Out of memory") | |
if (!nodep) free(value) | |
static void | mydtor (void *p) |
static CURLcode | unit_setup (void) |
static void | unit_stop (void) |
Variables | |
static struct curl_hash | hash_static |
int | key = 20 |
int | key2 = 25 |
size_t | klen = sizeof(int) |
int * | nodep = Curl_hash_add(&hash_static, &key, klen, value) |
UNITTEST_START int * | value = malloc(sizeof(int)) |
int * | value2 = malloc(sizeof(int)) |
#define ENABLE_CURLX_PRINTF |
Definition at line 24 of file unit1602.c.
abort_unless | ( | value! | = NULL , |
"Out of memory" | |||
) |
abort_unless | ( | nodep | , |
"insertion into hash failed" | |||
) |
abort_unless | ( | value2! | = NULL , |
"Out of memory" | |||
) |
if | ( | ! | nodep | ) |
static void mydtor | ( | void * | p | ) | [static] |
Definition at line 33 of file unit1602.c.
static CURLcode unit_setup | ( | void | ) | [static] |
Definition at line 39 of file unit1602.c.
static void unit_stop | ( | void | ) | [static] |
Definition at line 45 of file unit1602.c.
Curl_hash_clean & hash_static [static] |
Definition at line 31 of file unit1602.c.
int key = 20 |
Definition at line 56 of file unit1602.c.
int key2 = 25 |
Definition at line 57 of file unit1602.c.
size_t klen = sizeof(int) |
Definition at line 54 of file unit1602.c.
nodep = Curl_hash_add(&hash_static, &key, klen, value) |
Definition at line 53 of file unit1602.c.
Definition at line 51 of file unit1602.c.
Definition at line 52 of file unit1602.c.