The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Macros | Functions | Variables
unit_test_map.c File Reference
#include <freeradius-devel/server/cf_file.h>
#include <freeradius-devel/server/main_config.h>
#include <freeradius-devel/server/modpriv.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/util/atexit.h>
#include <freeradius-devel/util/file.h>
#include <freeradius-devel/util/conf.h>
#include <assert.h>
#include <freeradius-devel/server/log.h>
+ Include dependency graph for unit_test_map.c:

Go to the source code of this file.

Macros

#define EXIT_WITH_FAILURE
 

Functions

int main (int argc, char *argv[])
 
static int process_file (char const *filename)
 
static NEVER_RETURNS void usage (char *argv[])
 

Variables

static fr_dict_t const * dict_freeradius
 
static fr_dict_t const * dict_radius
 
fr_dict_autoload_t unit_test_module_dict []
 

Macro Definition Documentation

◆ EXIT_WITH_FAILURE

#define EXIT_WITH_FAILURE
Value:
do { \
ret = EXIT_FAILURE; \
goto cleanup; \
} while (0)
static bool cleanup
Definition: radsniff.c:60

Definition at line 42 of file unit_test_map.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 159 of file unit_test_map.c.

◆ process_file()

static int process_file ( char const *  filename)
static

Definition at line 71 of file unit_test_map.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ usage()

static NEVER_RETURNS void usage ( char *  argv[])
static

Definition at line 59 of file unit_test_map.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ dict_freeradius

fr_dict_t const* dict_freeradius
static

Definition at line 48 of file unit_test_map.c.

◆ dict_radius

fr_dict_t const* dict_radius
static

Definition at line 49 of file unit_test_map.c.

◆ unit_test_module_dict

fr_dict_autoload_t unit_test_module_dict
Initial value:
= {
{ .out = &dict_freeradius, .proto = "freeradius" },
{ .out = &dict_radius, .proto = "radius" },
{ NULL }
}
static fr_dict_t const * dict_freeradius
Definition: unit_test_map.c:48
static fr_dict_t const * dict_radius
Definition: unit_test_map.c:49

Definition at line 52 of file unit_test_map.c.