OpenOCD
version.c File Reference

Package and library version functions. More...

Include dependency graph for version.c:

Go to the source code of this file.

Functions

JAYLINK_API int jaylink_version_library_get_age (void)
 Get the age version number of the libjaylink libtool interface. More...
 
JAYLINK_API int jaylink_version_library_get_current (void)
 Get the current version number of the libjaylink libtool interface. More...
 
JAYLINK_API int jaylink_version_library_get_revision (void)
 Get the revision version number of the libjaylink libtool interface. More...
 
JAYLINK_API const char * jaylink_version_library_get_string (void)
 Get the version number string of the libjaylink libtool interface. More...
 
JAYLINK_API int jaylink_version_package_get_major (void)
 Get the major version number of the libjaylink package. More...
 
JAYLINK_API int jaylink_version_package_get_micro (void)
 Get the micro version number of the libjaylink package. More...
 
JAYLINK_API int jaylink_version_package_get_minor (void)
 Get the minor version number of the libjaylink package. More...
 
JAYLINK_API const char * jaylink_version_package_get_string (void)
 Get the version number string of the libjaylink package. More...
 

Detailed Description

Package and library version functions.

Definition in file version.c.

Function Documentation

◆ jaylink_version_library_get_age()

JAYLINK_API int jaylink_version_library_get_age ( void  )

Get the age version number of the libjaylink libtool interface.

Returns
The age version number of the libjaylink libtool interface.
Since
0.1.0

Definition at line 111 of file version.c.

References JAYLINK_VERSION_LIBRARY_AGE.

◆ jaylink_version_library_get_current()

JAYLINK_API int jaylink_version_library_get_current ( void  )

Get the current version number of the libjaylink libtool interface.

Returns
The current version number of the libjaylink libtool interface.
Since
0.1.0

Definition at line 86 of file version.c.

References JAYLINK_VERSION_LIBRARY_CURRENT.

◆ jaylink_version_library_get_revision()

JAYLINK_API int jaylink_version_library_get_revision ( void  )

Get the revision version number of the libjaylink libtool interface.

Returns
The revision version number of the libjaylink libtool interface.
Since
0.1.0

Definition at line 99 of file version.c.

References JAYLINK_VERSION_LIBRARY_REVISION.

◆ jaylink_version_library_get_string()

JAYLINK_API const char* jaylink_version_library_get_string ( void  )

Get the version number string of the libjaylink libtool interface.

Returns
A string which contains the version number of the libjaylink libtool interface. The string is null-terminated and must not be free'd by the caller.
Since
0.1.0

Definition at line 125 of file version.c.

References JAYLINK_VERSION_LIBRARY_STRING.

◆ jaylink_version_package_get_major()

JAYLINK_API int jaylink_version_package_get_major ( void  )

Get the major version number of the libjaylink package.

Returns
The major version number of the libjaylink package.
Since
0.1.0

Definition at line 35 of file version.c.

References JAYLINK_VERSION_PACKAGE_MAJOR.

◆ jaylink_version_package_get_micro()

JAYLINK_API int jaylink_version_package_get_micro ( void  )

Get the micro version number of the libjaylink package.

Returns
The micro version number of the libjaylink package.
Since
0.1.0

Definition at line 59 of file version.c.

References JAYLINK_VERSION_PACKAGE_MICRO.

◆ jaylink_version_package_get_minor()

JAYLINK_API int jaylink_version_package_get_minor ( void  )

Get the minor version number of the libjaylink package.

Returns
The minor version number of the libjaylink package.
Since
0.1.0

Definition at line 47 of file version.c.

References JAYLINK_VERSION_PACKAGE_MINOR.

◆ jaylink_version_package_get_string()

JAYLINK_API const char* jaylink_version_package_get_string ( void  )

Get the version number string of the libjaylink package.

Returns
A string which contains the version number of the libjaylink package. The string is null-terminated and must not be free'd by the caller.
Since
0.1.0

Definition at line 73 of file version.c.

References JAYLINK_VERSION_PACKAGE_STRING.

Referenced by jlink_init().