MGE System Utility Library - API Documentation  v1.4.7
Library of system utility functions.
version.c File Reference

Standard versioning. More...

#include <config.h>
#include <libmgesysutils.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for version.c:

Functions

char * libmgesysutils_get_pkg_version (void)
 Get the git-describe based package version. More...
 
char * libmgesysutils_get_src_version (void)
 Get the source version. More...
 
void libmgesysutils_print_pkg_version (void)
 Print the package version string to stdout. More...
 
void libmgesysutils_print_src_version (void)
 Print the source version string to stdout. More...
 

Detailed Description

Standard versioning.

Standard library-wide software versioning functions and information.

Author
Copyright (C) 2015-2019, 2021 Mark Grant

Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only

Version
v1.0.11 ==== 06/12/2021

Function Documentation

◆ libmgesysutils_get_pkg_version()

char* libmgesysutils_get_pkg_version ( void  )

Get the git-describe based package version.

Returns
The package version string.

◆ libmgesysutils_get_src_version()

char* libmgesysutils_get_src_version ( void  )

Get the source version.

Returns
The source version string.

◆ libmgesysutils_print_pkg_version()

void libmgesysutils_print_pkg_version ( void  )

Print the package version string to stdout.

◆ libmgesysutils_print_src_version()

void libmgesysutils_print_src_version ( void  )

Print the source version string to stdout.