Stuff needed by both modules.c and modcall.c, but should not be accessed from anywhere else.
More...
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
Go to the source code of this file.
|
int | lt_dlclose (lt_dlhandle handle) |
|
char const * | lt_dlerror (void) |
|
lt_dlhandle | lt_dlopenext (char const *name) |
|
void * | lt_dlsym (lt_dlhandle handle, char const *symbol) |
|
module_instance_t * | module_find (CONF_SECTION *modules, char const *askedname) |
| Find an existing module instance. More...
|
|
int | module_hup_module (CONF_SECTION *cs, module_instance_t *node, time_t when) |
|
module_instance_t * | module_instantiate (CONF_SECTION *modules, char const *askedname) |
| Load a module, and instantiate it. More...
|
|
module_instance_t * | module_instantiate_method (CONF_SECTION *modules, char const *askedname, rlm_components_t *method) |
|
int | module_sibling_section_find (CONF_SECTION **out, CONF_SECTION *module, char const *name) |
| Resolve polymorphic item's from a module's CONF_SECTION to a subsection in another module. More...
|
|
Stuff needed by both modules.c and modcall.c, but should not be accessed from anywhere else.
- Id:
- f038780c36f1977aa541c9898c06449a192ff1d1
- Copyright
- 2015 The FreeRADIUS server project
Definition in file modpriv.h.
char const* lt_dlerror |
( |
void |
| ) |
|
void* lt_dlsym |
( |
lt_dlhandle |
handle, |
|
|
char const * |
symbol |
|
) |
| |
Find an existing module instance.
Definition at line 623 of file modules.c.
Load a module, and instantiate it.
Definition at line 644 of file modules.c.
Resolve polymorphic item's from a module's CONF_SECTION to a subsection in another module.
This allows certain module sections to reference module sections in other instances of the same module and share CONF_DATA associated with them.
example {
data {
...
}
}
example inst {
data = example
}
*
- Parameters
-
out | where to write the pointer to a module's config section. May be NULL on success, indicating the config item was not found within the module CONF_SECTION or the chain of module references was followed and the module at the end of the chain did not a subsection. |
module | CONF_SECTION. |
name | of the polymorphic sub-section. |
- Returns
- 0 on success with referenced section.
- 1 on success with local section.
- -1 on failure.
Definition at line 788 of file modules.c.