All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
version.c File Reference
#include <freeradius-devel/libradius.h>
+ Include dependency graph for version.c:

Go to the source code of this file.

Functions

int fr_check_lib_magic (uint64_t magic)
 Check if the application linking to the library has the correct magic number. More...
 

Variables

static uint64_t libmagic = RADIUSD_MAGIC_NUMBER
 

Function Documentation

int fr_check_lib_magic ( uint64_t  magic)

Check if the application linking to the library has the correct magic number.

Parameters
magicnumber 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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

uint64_t libmagic = RADIUSD_MAGIC_NUMBER
static

Definition at line 27 of file version.c.