![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include "nilorea/n_common.h"#include "nilorea/n_log.h"#include "nilorea/n_random.h"#include "nilorea/n_str.h"#include <ctype.h>#include <stdio.h>#include <string.h>
Include dependency graph for ex_random.c:Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | process_args (int argc, char **argv) |
| static void | test_bytes (void) |
| static void | test_token (void) |
Variables | |
| static int | failures = 0 |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 145 of file ex_random.c.
References failures, LOG_ERR, LOG_NOTICE, n_log, process_args(), set_log_level(), test_bytes(), and test_token().
Here is the call graph for this function:| void process_args | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 39 of file ex_random.c.
References LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_NULL, and set_log_level().
Here is the call graph for this function:
|
static |
Definition at line 70 of file ex_random.c.
References failures, LOG_ERR, n_log, and n_random_bytes().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 110 of file ex_random.c.
References N_STR::data, failures, free_nstr, LOG_ERR, n_log, n_random_hex_token(), and N_STR::written.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 36 of file ex_random.c.