iPXE
errortab.h
Go to the documentation of this file.
1 #ifndef _IPXE_ERRORTAB_H
2 #define _IPXE_ERRORTAB_H
3 
4 /** @file
5  *
6  * Error message tables
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <ipxe/tables.h>
13 
14 struct errortab {
15  int errno;
16  const char *text;
17 };
18 
19 #define ERRORTAB __table ( struct errortab, "errortab" )
20 
21 #define __errortab __table_entry ( ERRORTAB, 01 )
22 
23 #define __einfo_errortab( einfo ) { \
24  .errno = __einfo_errno ( einfo ), \
25  .text = __einfo_desc ( einfo ), \
26  }
27 
28 #endif /* _IPXE_ERRORTAB_H */
int errno
Definition: errortab.h:15
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
const char * text
Definition: errortab.h:16
Linker tables.