#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nilorea/n_json.h"
#include "nilorea/n_log.h"
Go to the source code of this file.
◆ expect_true()
| static void expect_true |
( |
const char * |
label, |
|
|
int |
cond |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 70 of file ex_json.c.
References expect_true(), failures, LOG_ERR, log_level, LOG_NOTICE, n_json_array_at(), n_json_array_size(), n_json_as_string(), n_json_bool(), n_json_free(), n_json_get(), n_json_int(), n_json_is_array(), n_json_is_object(), n_json_parse(), n_json_parse_file(), n_json_string(), n_json_string_dup(), n_log, process_args(), and set_log_level().
◆ process_args()
| static int process_args |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
◆ failures
◆ log_level