aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/version.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-01 15:28:09 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-01 15:28:09 +0100
commit5dd83c7e6d9eb830707ff31702f3f09a4a22a260 (patch)
treeea65336ccbc170a737d301f5f30cf74c3ed9ab69 /xen/include/xen/version.h
parent9212caa7a4c750a9aad9a58e4b4fe4fef7e13b8b (diff)
downloadxen-5dd83c7e6d9eb830707ff31702f3f09a4a22a260.tar.gz
xen-5dd83c7e6d9eb830707ff31702f3f09a4a22a260.tar.bz2
xen-5dd83c7e6d9eb830707ff31702f3f09a4a22a260.zip
[XEN] Hide compile-time information values behind a
functional interface, so that the values are contained within a single object file. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/version.h')
-rw-r--r--xen/include/xen/version.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/xen/include/xen/version.h b/xen/include/xen/version.h
new file mode 100644
index 0000000000..81a3c7d111
--- /dev/null
+++ b/xen/include/xen/version.h
@@ -0,0 +1,16 @@
+#ifndef __XEN_VERSION_H__
+#define __XEN_VERSION_H__
+
+const char *xen_compile_date(void);
+const char *xen_compile_time(void);
+const char *xen_compile_by(void);
+const char *xen_compile_domain(void);
+const char *xen_compile_host(void);
+const char *xen_compiler(void);
+unsigned int xen_major_version(void);
+unsigned int xen_minor_version(void);
+const char *xen_extra_version(void);
+const char *xen_changeset(void);
+const char *xen_banner(void);
+
+#endif /* __XEN_VERSION_H__ */