iPXE
Defines | Functions | Variables
version.c File Reference

Version number. More...

#include <wchar.h>
#include <ipxe/features.h>
#include <ipxe/version.h>
#include <config/general.h>
#include <config/branding.h>

Go to the source code of this file.

Defines

#define WSTRING(string)   _WSTRING ( string )
 Create wide-character version of string.
#define _WSTRING(string)   L ## string

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FEATURE_VERSION (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
 Version number feature.

Variables

char _build_timestamp []
 Build timestamp (generated by linker)
char _build_id []
 Build ID (generated by linker)
unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp )
 Build timestamp.
unsigned long build_id = ( ( unsigned long ) _build_id )
 Build ID.
const int product_major_version = VERSION_MAJOR
 Product major version.
const int product_minor_version = VERSION_MINOR
 Product minor version.
const char product_version [] = VERSION
 Product version string.
const char product_name [] = PRODUCT_NAME
 Product name string.
const char product_short_name [] = PRODUCT_SHORT_NAME
 Product short name string.
const char build_name [] = BUILD_NAME
 Build name string.
const wchar_t product_wversion [] = WSTRING ( VERSION )
 Wide-character product version string.
const wchar_t product_wname [] = WSTRING ( PRODUCT_NAME )
 Wide-character product name string.
const wchar_t product_short_wname [] = WSTRING ( PRODUCT_SHORT_NAME )
 Wide-character product short name string.
const wchar_t build_wname [] = WSTRING ( BUILD_NAME )
 Wide-character build name string.
const char build_name_prefix [] = BUILD_NAME
 Copy of build name string within ".prefix".

Detailed Description

Version number.

Definition in file version.c.


Define Documentation

#define WSTRING (   string)    _WSTRING ( string )

Create wide-character version of string.

Parameters:
stringString
Return values:
wstringWide-character version of string

Definition at line 44 of file version.c.

#define _WSTRING (   string)    L ## string

Definition at line 45 of file version.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
FEATURE_VERSION ( VERSION_MAJOR  ,
VERSION_MINOR  ,
VERSION_PATCH   
)

Version number feature.


Variable Documentation

Build timestamp (generated by linker)

char _build_id[]

Build ID (generated by linker)

unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp )

Build timestamp.

Definition at line 57 of file version.c.

Referenced by efi_driver_install().

unsigned long build_id = ( ( unsigned long ) _build_id )

Build ID.

Definition at line 60 of file version.c.

Referenced by xsigo_xds_complete().

const int product_major_version = VERSION_MAJOR

Product major version.

Definition at line 63 of file version.c.

Referenced by intelxl_admin_driver(), and nbi_boot32().

const int product_minor_version = VERSION_MINOR

Product minor version.

Definition at line 66 of file version.c.

Referenced by intelxl_admin_driver(), and nbi_boot32().

const char product_version[] = VERSION

Product version string.

Definition at line 69 of file version.c.

Referenced by efi_snp_hii_package_list(), http_format_user_agent(), int22(), ipxe(), multiboot_exec(), version_fetch(), and xsigo_xds_complete().

const char product_name[] = PRODUCT_NAME

Product name string.

Definition at line 72 of file version.c.

Referenced by efi_snp_hii_package_list(), and intelxl_admin_driver().

Product short name string.

Definition at line 75 of file version.c.

Referenced by efi_snp_hii_package_list(), efi_snp_probe(), intelxl_admin_driver(), main(), oncrpc_init_cred_sys(), and xsigo_xds_complete().

const char build_name[] = BUILD_NAME

Build name string.

Definition at line 78 of file version.c.

const wchar_t product_wversion[] = WSTRING ( VERSION )

Wide-character product version string.

Definition at line 81 of file version.c.

Wide-character product name string.

Definition at line 84 of file version.c.

Referenced by efi_driver_name().

Wide-character product short name string.

Definition at line 87 of file version.c.

const wchar_t build_wname[] = WSTRING ( BUILD_NAME )

Wide-character build name string.

Definition at line 90 of file version.c.

Referenced by efi_driver_name().

const char build_name_prefix[] = BUILD_NAME

Copy of build name string within ".prefix".

Definition at line 94 of file version.c.