The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Variables
module_method.h File Reference

Defines standard module methods specified by virtual servers and modules. More...

Go to the source code of this file.

Data Structures

struct  module_method_name_t
 Specifies a module method identifier. More...
 

Variables

module_method_name_t module_method_ippool_allocate
 
module_method_name_t module_method_ippool_extend
 
module_method_name_t module_method_ippool_mark
 
module_method_name_t module_method_ippool_release
 

Detailed Description

Defines standard module methods specified by virtual servers and modules.

Id
ee2a136a79ae72c3c0c5c566e0f22313df374a17

Definition in file module_method.h.


Data Structure Documentation

◆ module_method_name_t

struct module_method_name_t

Specifies a module method identifier.

These are used in module definitions and by virtual servers to find mutually acceptable module methods to call between a virtual server section and the module that's calling it.

For example, a send Access-Accept compilation structure may also have a ippool alloc method associated with it, to instruct any ippool modules to allocate an IP address.

Definition at line 36 of file module_method.c.

+ Collaboration diagram for module_method_name_t:
Data Fields
char const * name1 module method name1 which is allowed in this section
char const * name2 module method name2 which is allowed in this section
fr_dict_t const ** proto If none-null, restrict matches to this protocol.

i.e. if both the virtual server module_method_name and the module method have non-null proto pointers then *proto must be equal for the method name to match.

Variable Documentation

◆ module_method_ippool_allocate

module_method_name_t module_method_ippool_allocate
extern

Definition at line 47 of file module_method.c.

◆ module_method_ippool_extend

module_method_name_t module_method_ippool_extend
extern

Definition at line 52 of file module_method.c.

◆ module_method_ippool_mark

module_method_name_t module_method_ippool_mark
extern

Definition at line 57 of file module_method.c.

◆ module_method_ippool_release

module_method_name_t module_method_ippool_release
extern

Definition at line 62 of file module_method.c.