diff options
Diffstat (limited to 'xen/include/public/version.h')
-rw-r--r-- | xen/include/public/version.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xen/include/public/version.h b/xen/include/public/version.h new file mode 100644 index 0000000000..1860d061da --- /dev/null +++ b/xen/include/public/version.h @@ -0,0 +1,30 @@ +/****************************************************************************** + * version.h + * + * Xen version, type, and compile information. + * + * Copyright (c) 2005, Nguyen Anh Quynh <aquynh@gmail.com> + * Copyright (c) 2005, Keir Fraser <keir@xensource.com> + */ + +#ifndef __XEN_PUBLIC_VERSION_H__ +#define __XEN_PUBLIC_VERSION_H__ + +/* NB. All ops return zero on success, except XENVER_version. */ + +/* arg == NULL; returns major:minor (16:16). */ +#define XENVER_version 0 + +/* arg == 16-char string buffer. */ +#define XENVER_extraversion 1 + +/* arg == xenversion_compile_info_t. */ +#define XENVER_compile_info 2 +typedef struct xen_compile_info { + char compiler[64]; + char compile_by[16]; + char compile_domain[32]; + char compile_date[32]; +} xen_compile_info_t; + +#endif /* __XEN_PUBLIC_VERSION_H__ */ |