iPXE
errortab.h File Reference

Error message tables. More...

#include <ipxe/tables.h>

Go to the source code of this file.

Data Structures

struct  errortab

Macros

#define ERRORTAB   __table ( struct errortab, "errortab" )
#define __errortab   __table_entry ( ERRORTAB, 01 )
#define __einfo_errortab(einfo)

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)

Detailed Description

Error message tables.

Definition in file errortab.h.

Macro Definition Documentation

◆ ERRORTAB

#define ERRORTAB   __table ( struct errortab, "errortab" )

Definition at line 20 of file errortab.h.

Referenced by find_error().

◆ __errortab

#define __errortab   __table_entry ( ERRORTAB, 01 )

Definition at line 22 of file errortab.h.

◆ __einfo_errortab

#define __einfo_errortab ( einfo)
Value:
{ \
.errno = __einfo_errno ( einfo ), \
.text = __einfo_desc ( einfo ), \
}
#define __einfo_errno(einfo)
Get error code.
Definition errno.h:204
#define __einfo_desc(einfo)
Get error description.
Definition errno.h:170

Definition at line 24 of file errortab.h.

24#define __einfo_errortab( einfo ) { \
25 .errno = __einfo_errno ( einfo ), \
26 .text = __einfo_desc ( einfo ), \
27 }

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )