#include <freeradius-devel/radiusd.h>
Go to the source code of this file.
int rad_check_lib_magic |
( |
uint64_t |
magic | ) |
|
Check if the application linking to the library has the correct magic number.
- Parameters
-
magic | number as defined by RADIUSD_MAGIC_NUMBER |
- Returns
- 0 on success.
- -1 on prefix mismatch.
- -2 on version mismatch.
- -3 on commit mismatch.
Definition at line 208 of file version.c.
int ssl_check_consistency |
( |
void |
| ) |
|
char const* ssl_version |
( |
void |
| ) |
|
char const* ssl_version_num |
( |
void |
| ) |
|
int version_add_feature |
( |
CONF_SECTION * |
cs, |
|
|
char const * |
name, |
|
|
bool |
enabled |
|
) |
| |
Add a feature flag to the main configuration.
Add a feature flag (yes/no) to the 'feature' subsection off the main config.
This allows the user to create configurations that work with across multiple environments.
- Parameters
-
cs | to add feature pair to. |
name | of feature. |
enabled | Whether the feature is present/enabled. |
- Returns
- 0 on success.
- -1 on failure.
Definition at line 249 of file version.c.
int version_add_number |
( |
CONF_SECTION * |
cs, |
|
|
char const * |
name, |
|
|
char const * |
version |
|
) |
| |
Add a library/server version pair to the main configuration.
Add a version number to the 'version' subsection off the main config.
Because of the optimisations in the configuration parser, these may be checked using regular expressions without a performance penalty.
The version pairs are there primarily to work around defects in libraries or the server.
- Parameters
-
cs | to add feature pair to. |
name | of library or feature. |
version | Humanly readable version text. |
- Returns
- 0 on success.
- -1 on failure.
Definition at line 284 of file version.c.
Initialise core feature flags.
- Parameters
-
cs | Where to add the CONF_PAIRS, if null pairs will be added to the 'feature' section of the main config. |
Definition at line 313 of file version.c.
Initialise core version flags.
- Parameters
-
cs | Where to add the CONF_PAIRS, if null pairs will be added to the 'version' section of the main config. |
Definition at line 491 of file version.c.
void version_print |
( |
void |
| ) |
|
char const* radiusd_version_short = RADIUSD_VERSION_STRING |