diff options
Diffstat (limited to 'src/include/ipxe/errortab.h')
-rw-r--r-- | src/include/ipxe/errortab.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/ipxe/errortab.h b/src/include/ipxe/errortab.h new file mode 100644 index 0000000..945cde3 --- /dev/null +++ b/src/include/ipxe/errortab.h @@ -0,0 +1,23 @@ +#ifndef _IPXE_ERRORTAB_H +#define _IPXE_ERRORTAB_H + +/** @file + * + * Error message tables + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <ipxe/tables.h> + +struct errortab { + int errno; + const char *text; +}; + +#define ERRORTAB __table ( struct errortab, "errortab" ) + +#define __errortab __table_entry ( ERRORTAB, 01 ) + +#endif /* _IPXE_ERRORTAB_H */ |