GnuCash  5.6-150-g038405b370+
gnc-version.h
Go to the documentation of this file.
1 /********************************************************************\
2  * gnc-version.h -- functions to query the build-time version info *
3  * *
4  * Copyright (C) 2019 Geert Janssens <geert@kobaltwit.be> *
5  * *
6  * This program is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License as *
8  * published by the Free Software Foundation; either version 2 of *
9  * the License, or (at your option) any later version. *
10  * *
11  * This program is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License*
17  * along with this program; if not, contact: *
18  * *
19  * Free Software Foundation Voice: +1-617-542-5942 *
20  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
21  * Boston, MA 02110-1301, USA gnu@gnu.org *
22  * *
23  ********************************************************************/
24 
38 #ifndef GNC_VERSION_H
39 #define GNC_VERSION_H
40 #include "gnc-vcs-info.h"
41 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
51 const char *gnc_version(void);
52 const char *gnc_build_id(void);
53 const char *gnc_vcs_rev(void);
54 const char *gnc_vcs_rev_date(void);
55 const int gnc_gnucash_major_version(void);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* GNC_VERSION_H */
62 
const char * gnc_version(void)
Parse <prefix>/etc/gnucash/environment and set environment variables based on the contents of that fi...
Definition: gnc-version.c:35