Module eradius

Main module of the eradius application.

Behaviours: application.

Description

Main module of the eradius application.

Function Index

load_tables/1Load RADIUS dictionaries from the default directory.
load_tables/2Load RADIUS dictionaries from a certain directory.
modules_ready/1Equivalent to modules_ready(self(), Modules).
modules_ready/2Announce request handler module availability.
statistics/1manipulate server statistics * reset: reset all counters to zero * pull: read counters and reset to zero * read: read counters.

Function Details

load_tables/1

load_tables(Tables::[eradius_dict:table_name()]) -> ok | {error, {consult, eradius_dict:table_name()}}

Load RADIUS dictionaries from the default directory.

load_tables/2

load_tables(Dir::file:filename(), Tables::[eradius_dict:table_name()]) -> ok | {error, {consult, eradius_dict:table_name()}}

Load RADIUS dictionaries from a certain directory.

modules_ready/1

modules_ready(Modules) -> any()

Equivalent to modules_ready(self(), Modules).

modules_ready/2

modules_ready(Pid, Modules) -> any()

Announce request handler module availability. Applications need to call this function (usually from their application master) in order to make their modules (which should implement the eradius_server behaviour) available for processing. The modules will be revoked when the given Pid goes down.

statistics/1

statistics(X1) -> any()

manipulate server statistics * reset: reset all counters to zero * pull: read counters and reset to zero * read: read counters


Generated by EDoc