l8w8jwt
Loading...
Searching...
No Matches
Macros | Functions
version.h File Reference

l8w8jwt version checking. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define L8W8JWT_VERSION   250
 
#define L8W8JWT_VERSION_STR   "2.5.0"
 
#define L8W8JWT_API
 
#define L8W8JWT_SMALL_STACK   0
 
#define L8W8JWT_PLATFORM_TIME_ALT   0
 

Functions

L8W8JWT_API void l8w8jwt_free (void *mem)
 
L8W8JWT_API int l8w8jwt_get_version_number (void)
 
L8W8JWT_API void l8w8jwt_get_version_string (char out[32])
 

Detailed Description

l8w8jwt version checking.

Author
Raphael Beck

Macro Definition Documentation

◆ L8W8JWT_PLATFORM_TIME_ALT

#define L8W8JWT_PLATFORM_TIME_ALT   0

Set this pre-processor definition to 1 if you need to provide custom implementation of system time API.

◆ L8W8JWT_SMALL_STACK

#define L8W8JWT_SMALL_STACK   0

Set this pre-processor definition to 1 if you're using this on a low-memory device with increased risk of stack overflow.

◆ L8W8JWT_VERSION

#define L8W8JWT_VERSION   250

Current l8w8jwt version number.

◆ L8W8JWT_VERSION_STR

#define L8W8JWT_VERSION_STR   "2.5.0"

Current l8w8jwt version number (as a human-readable string).

Function Documentation

◆ l8w8jwt_free()

L8W8JWT_API void l8w8jwt_free ( void *  mem)

Free memory that was allocated by L8W8JWT.

Parameters
memThe memory to free.

◆ l8w8jwt_get_version_number()

L8W8JWT_API int l8w8jwt_get_version_number ( void  )

Gets the l8w8jwt version number as an integer.

Returns
Version number (e.g. "2.1.4" => 214)

◆ l8w8jwt_get_version_string()

L8W8JWT_API void l8w8jwt_get_version_string ( char  out[32])

Gets the l8w8jwt version number as a nicely formatted string.

Parameters
outA writable char buffer of at least 32B where to write the version number string into. The string will be NUL-terminated, no worries! Passing NULL here is a very bad idea. Undefined, unpleasant, and just... just don't!