The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Typedefs | Functions
users_file.h File Reference

Support functions for users_file parsing. More...

#include <freeradius-devel/server/map.h>
#include <freeradius-devel/util/pair.h>
#include <freeradius-devel/util/talloc.h>
+ Include dependency graph for users_file.h:

Go to the source code of this file.

Data Structures

struct  pair_list
 
struct  pair_list_list
 

Typedefs

typedef struct pair_list PAIR_LIST
 
typedef struct pair_list_list PAIR_LIST_LIST
 

Functions

static void pairlist_list_init (PAIR_LIST_LIST *list)
 
int pairlist_read (TALLOC_CTX *ctx, fr_dict_t const *dict, char const *file, PAIR_LIST_LIST *list)
 

Detailed Description

Support functions for users_file parsing.

Id
84ce2a2b1de437b46c6dc4366c5f97bf91bed676

Definition in file users_file.h.


Data Structure Documentation

◆ pair_list

struct pair_list

Definition at line 38 of file users_file.h.

+ Collaboration diagram for pair_list:
Data Fields
map_list_t check List of maps for comparison / modifying control list.
fr_dlist_t entry Entry in dlist of PAIR_LIST with matching name.
bool fall_through go to the next one
char const * filename Filename entry read from.
int lineno Line number entry read from.
char const * name Key for matching entry.
bool next_shortest_prefix for prefix tries
int order Sequence of entry in source file.
map_list_t reply List of maps for modifying reply list.

◆ pair_list_list

struct pair_list_list

Definition at line 50 of file users_file.h.

+ Collaboration diagram for pair_list_list:
Data Fields
fr_value_box_t * box parsed version of "name".
fr_dlist_head_t head Head of the list of PAIR_LISTs.
char const * name name of the key used for matching entry.

Typedef Documentation

◆ PAIR_LIST

typedef struct pair_list PAIR_LIST

◆ PAIR_LIST_LIST

Function Documentation

◆ pairlist_list_init()

static void pairlist_list_init ( PAIR_LIST_LIST list)
inlinestatic

Definition at line 59 of file users_file.h.

+ Here is the caller graph for this function:

◆ pairlist_read()

int pairlist_read ( TALLOC_CTX *  ctx,
fr_dict_t const *  dict,
char const *  file,
PAIR_LIST_LIST list 
)

Definition at line 235 of file users_file.c.

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