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

Go to the source code of this file.

Macros

#define LIST_LIMIT   10
 
#define NB_TEST_ELEM   15
 

Functions

int main (void)
 
int nstrcmp (const void *a, const void *b)
 
void print_list_info (LIST *list)
 

Macro Definition Documentation

◆ LIST_LIMIT

#define LIST_LIMIT   10
Examples
ex_list.c.

Definition at line 31 of file ex_list.c.

◆ NB_TEST_ELEM

#define NB_TEST_ELEM   15
Examples
ex_list.c.

Definition at line 32 of file ex_list.c.

Function Documentation

◆ main()

◆ nstrcmp()

int nstrcmp ( const void *  a,
const void *  b 
)
Examples
ex_list.c.

Definition at line 39 of file ex_list.c.

References N_STR::data.

Referenced by main().

+ Here is the caller graph for this function:

◆ print_list_info()

void print_list_info ( LIST list)
Examples
ex_list.c.

Definition at line 34 of file ex_list.c.

References __n_assert, LOG_NOTICE, n_log, LIST::nb_items, and LIST::nb_max_items.

Referenced by main().

+ Here is the caller graph for this function: