Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_network_tls_defaults.c File Reference
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_network.h"
#include "nilorea/n_str.h"
#include "nilorea/n_x509.h"
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
Include dependency graph for ex_network_tls_defaults.c:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 run the checks
static void process_args (int argc, char **argv)
 read -V LOG_LEVEL

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

run the checks

Parameters
argcargument count
argvarguments
Returns
0 when every check passes

Definition at line 297 of file ex_network_tls_defaults.c.

References failures, free_nstr, LOG_ERR, LOG_NOTICE, n_log, n_x509_generate_ca(), n_x509_mint_host_cert(), netw_init_openssl(), netw_unload_openssl(), process_args(), and set_log_level().

Here is the call graph for this function:

◆ process_args()

void process_args ( int argc,
char ** argv )
static

read -V LOG_LEVEL

Parameters
argcargument count
argvarguments

Definition at line 49 of file ex_network_tls_defaults.c.

References LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_NULL, and set_log_level().

Here is the call graph for this function: