#include <freeradius-devel/libradius.h>
Go to the source code of this file.
|
int | fr_check_lib_magic (uint64_t magic) |
| Check if the application linking to the library has the correct magic number. More...
|
|
int fr_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 38 of file version.c.