summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/errortab.h
blob: 945cde31c3251081204dc02d42c68597874738de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 */