GnuCash  5.6-150-g038405b370+
Files | Functions
Version Information

The functions in this file allow you to query various version related strings that were set at build time. More...

Files

file  gnc-version.h
 functions to query various version related strings that were set at build time.
 

Functions

const char * gnc_version (void)
 Parse <prefix>/etc/gnucash/environment and set environment variables based on the contents of that file. More...
 
const char * gnc_build_id (void)
 
const char * gnc_vcs_rev (void)
 
const char * gnc_vcs_rev_date (void)
 
const int gnc_gnucash_major_version (void)
 

Detailed Description

The functions in this file allow you to query various version related strings that were set at build time.

Function Documentation

◆ gnc_version()

const char* gnc_version ( void  )

Parse <prefix>/etc/gnucash/environment and set environment variables based on the contents of that file.

Read the comments in <prefix>/etc/gnucash/environment for more details.

Definition at line 35 of file gnc-version.c.

36 {
37  return PROJECT_VERSION;
38 }