iPXE
Macros | Functions
mlx_bail.h File Reference
#include "mlx_types.h"

Go to the source code of this file.

Macros

#define MLX_BAIL_ERROR(id, status, message)   MLX_CHECK_STATUS(id, status, bail, message)
 
#define MLX_FATAL_CHECK_STATUS(status, label, message)
 
#define MLX_CHECK_STATUS(id, status, label, message)
 

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 

Macro Definition Documentation

◆ MLX_BAIL_ERROR

#define MLX_BAIL_ERROR (   id,
  status,
  message 
)    MLX_CHECK_STATUS(id, status, bail, message)

Definition at line 27 of file mlx_bail.h.

◆ MLX_FATAL_CHECK_STATUS

#define MLX_FATAL_CHECK_STATUS (   status,
  label,
  message 
)
Value:
do { \
if (status != MLX_SUCCESS) { \
MLX_DEBUG_FATAL_ERROR(message " (Status = %d)\n", status); \
goto label; \
} \
} while (0)
A text label widget.
Definition: label.h:16
#define MLX_SUCCESS
uint8_t status
Status.
Definition: ena.h:16
char message[VMCONSOLE_BUFSIZE]
Definition: vmconsole.c:54

Definition at line 29 of file mlx_bail.h.

◆ MLX_CHECK_STATUS

#define MLX_CHECK_STATUS (   id,
  status,
  label,
  message 
)
Value:
do { \
if (status != MLX_SUCCESS) { \
MLX_DEBUG_ERROR(id, message " (Status = %d)\n", status);\
goto label; \
} \
} while (0)
A text label widget.
Definition: label.h:16
#define MLX_SUCCESS
uint8_t status
Status.
Definition: ena.h:16
char message[VMCONSOLE_BUFSIZE]
Definition: vmconsole.c:54

Definition at line 37 of file mlx_bail.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER  )