Macros | Functions | Variables
unit1602.c File Reference
#include "curlcheck.h"
#include "curlx.h"
#include "hash.h"
#include "memdebug.h"
Include dependency graph for unit1602.c:

Go to the source code of this file.

Macros

#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))
 

Macro Definition Documentation

#define ENABLE_CURLX_PRINTF

Definition at line 24 of file unit1602.c.

Function Documentation

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.

Variable Documentation

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.

Definition at line 53 of file unit1602.c.

* value = malloc(sizeof(int))

Definition at line 51 of file unit1602.c.

* value2 = malloc(sizeof(int))

Definition at line 52 of file unit1602.c.



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