|
iPXE
|
These are APIs for which only a single implementation may be compiled in at any given time. More...
Macros | |
| #define | SINGLE_API_NAME(_prefix, _api_func) |
| Calculate function implementation name. | |
| #define | SINGLE_API_INLINE(_prefix, _api_func) |
| Calculate static inline function name. | |
| #define | PROVIDE_SINGLE_API(_prefix, _api_func, _func) |
| Provide an API implementation. | |
| #define | PROVIDE_SINGLE_API_INLINE(_prefix, _api_func) |
| Provide a static inline API implementation. | |
These are APIs for which only a single implementation may be compiled in at any given time.
| #define SINGLE_API_NAME | ( | _prefix, | |
| _api_func ) |
Calculate function implementation name.
| _prefix | Subsystem prefix |
| _api_func | API function |
| _subsys_func | Subsystem API function |
The subsystem prefix should be an empty string for the currently selected subsystem, and should be a subsystem-unique string for all other subsystems.
| #define SINGLE_API_INLINE | ( | _prefix, | |
| _api_func ) |
Calculate static inline function name.
| _prefix | Subsystem prefix |
| _api_func | API function |
| _subsys_func | Subsystem API function |
Definition at line 45 of file api.h.
| #define PROVIDE_SINGLE_API | ( | _prefix, | |
| _api_func, | |||
| _func ) |
Provide an API implementation.
| _prefix | Subsystem prefix |
| _api_func | API function |
| _func | Implementing function |
Definition at line 55 of file api.h.
| #define PROVIDE_SINGLE_API_INLINE | ( | _prefix, | |
| _api_func ) |
Provide a static inline API implementation.
| _prefix | Subsystem prefix |
| _api_func | API function |
Definition at line 74 of file api.h.