Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_hash.c File Reference
#include "nilorea/n_str.h"
#include "nilorea/n_log.h"
#include "nilorea/n_list.h"
#include "nilorea/n_hash.h"
+ Include dependency graph for ex_hash.c:

Go to the source code of this file.

Data Structures

struct  DATA
 string and int holder More...
 

Macros

#define NB_HASH_ELEMENTS   24
 

Functions

void destroy_data (void *ptr)
 destroy a DATA struct
 
int main (void)
 

Data Structure Documentation

◆ DATA

struct DATA

string and int holder

Examples
ex_hash.c.

Definition at line 35 of file ex_hash.c.

+ Collaboration diagram for DATA:
Data Fields
N_STR * rnd_str string holder
int value int value

Macro Definition Documentation

◆ NB_HASH_ELEMENTS

#define NB_HASH_ELEMENTS   24
Examples
ex_hash.c.

Definition at line 32 of file ex_hash.c.

Function Documentation

◆ destroy_data()

void destroy_data ( void *  ptr)

destroy a DATA struct

Parameters
ptrA pointer to a DATA struct
Examples
ex_hash.c.

Definition at line 46 of file ex_hash.c.

References Free, free_nstr, and DATA::rnd_str.

Referenced by main().

+ Here is the caller graph for this function:

◆ main()