Defines | 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.

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 Documentation

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

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_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09