Welcome to NYCU CSIT Mirror site

Version functions: libsmartcols Reference Manual

Version functions

Version functions — functions to get the library version.

Types and Values

Description

Note that library version is not the same thing as SONAME version. The libsmarcols uses symbols versioning and SONAME is not modified for releases.

The library version and symbols version follow util-linux package versioning.

Functions

scols_get_library_version ()

int
scols_get_library_version (const char **ver_string);

Parameters

ver_string

return pointer to the static library version string if not NULL

 

Returns

release version number.


scols_parse_version_string ()

int
scols_parse_version_string (const char *ver_string);

Parameters

ver_string

version string (e.g "2.18.0")

 

Returns

release version code.

Types and Values

LIBSMARTCOLS_VERSION

#define LIBSMARTCOLS_VERSION   "2.36.2"

Library version string