The global software information. More...
Functions | |
ATO_EXPORT int | ato_si_set (const char *organisation, const char *product, const char *version, const char *timestamp, const char *source, const char *hash) |
Set up the application information. More... | |
ATO_EXPORT const char * | ato_si_organisation (void) |
Return the organisation name owning the application. More... | |
ATO_EXPORT const char * | ato_si_product (void) |
Return the product name. More... | |
ATO_EXPORT const char * | ato_si_version (void) |
Return the version. More... | |
ATO_EXPORT const char * | ato_si_timestamp (void) |
Return the timestamp of the last build of the application. More... | |
ATO_EXPORT const char * | ato_si_source (void) |
Return the source details of the last commit of the application - e.g. More... | |
ATO_EXPORT const char * | ato_si_hash (void) |
Return the commit details of the last commit of the application - e.g. More... | |
ATO_EXPORT const char * | ato_si_info (void) |
Return everything as | delimited. More... | |
The global software information.
Provides global details of the application.
ATO_EXPORT int ato_si_set | ( | const char * | organisation, |
const char * | product, | ||
const char * | version, | ||
const char * | timestamp, | ||
const char * | source, | ||
const char * | hash | ||
) |
Set up the application information.
organisation | Organisation name or individual name. |
product | Name of the application. |
version | Version of the application. |
timestamp | The timestamp of the last build for the application |
source | of the last source code commit - e.g. git repo name |
hash | of the last source code commit - e.g. git sha1 |
ATO_EXPORT const char * ato_si_organisation | ( | void | ) |
Return the organisation name owning the application.
ATO_EXPORT const char * ato_si_product | ( | void | ) |
Return the product name.
ATO_EXPORT const char * ato_si_version | ( | void | ) |
Return the version.
ATO_EXPORT const char * ato_si_timestamp | ( | void | ) |
Return the timestamp of the last build of the application.
ATO_EXPORT const char * ato_si_source | ( | void | ) |
Return the source details of the last commit of the application - e.g.
git repo.
ATO_EXPORT const char * ato_si_hash | ( | void | ) |
Return the commit details of the last commit of the application - e.g.
git sha1.
ATO_EXPORT const char * ato_si_info | ( | void | ) |
Return everything as | delimited.