david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/include/ipxe/errortab.h

29 lines
474 B
C

#ifndef _IPXE_ERRORTAB_H
#define _IPXE_ERRORTAB_H
/** @file
*
* Error message tables
*
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#include <ipxe/tables.h>
struct errortab {
int errno;
const char *text;
};
#define ERRORTAB __table ( struct errortab, "errortab" )
#define __errortab __table_entry ( ERRORTAB, 01 )
#define __einfo_errortab( einfo ) { \
.errno = __einfo_errno ( einfo ), \
.text = __einfo_desc ( einfo ), \
}
#endif /* _IPXE_ERRORTAB_H */