## st-version

st-version — functions and variables for getting the streamtuner versions.

## Synopsis

    #define     ST_MAJOR_VERSION
    #define     ST_MINOR_VERSION
    #define     ST_MICRO_VERSION
    #define     ST_API_MAJOR_VERSION
    #define     ST_API_MINOR_VERSION
    extern      const unsigned int st_major_version;
    extern      const unsigned int st_minor_version;
    extern      const unsigned int st_micro_version;
    extern      const unsigned int st_api_major_version;
    extern      const unsigned int st_api_minor_version;
    gboolean    st_check_api_version            (unsigned int required_major_version,
                                                 unsigned int minimum_minor_version);

## Description

## Details

### ST_MAJOR_VERSION

    #define ST_MAJOR_VERSION		0

The streamtuner major version number.

### ST_MINOR_VERSION

    #define ST_MINOR_VERSION		99

The streamtuner minor version number.

### ST_MICRO_VERSION

    #define ST_MICRO_VERSION		99

The streamtuner micro version number.

### ST_API_MAJOR_VERSION

    #define ST_API_MAJOR_VERSION		5

The streamtuner API major version number, which is increased when backwards compatibility is not preserved.

### ST_API_MINOR_VERSION

    #define ST_API_MINOR_VERSION		8

The streamtuner API minor version number, which is increased when new features are added, preserving backwards compatibility.

### st_major_version

    extern const unsigned int st_major_version;

### st_minor_version

    extern const unsigned int st_minor_version;

### st_micro_version

    extern const unsigned int st_micro_version;

### st_api_major_version

    extern const unsigned int st_api_major_version;

### st_api_minor_version

    extern const unsigned int st_api_minor_version;

### st_check_api_version ()

    gboolean    st_check_api_version            (unsigned int required_major_version,
                                                 unsigned int minimum_minor_version);

Checks if the streamtuner API version matches `required_major_version` and `minimum_minor_version`.

`required_major_version` : | the required major API version.
`minimum_minor_version` : | the minimum minor API version.
Returns : | `TRUE` if the requirements are met.