#include "mhd_itc_types.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ MHD_itc_destroy_chk_
#define MHD_itc_destroy_chk_ |
( |
|
itc | ) |
|
Value:do { \
if (!MHD_itc_destroy_(itc)) \
MHD_PANIC(
_(
"Failed to destroy ITC.\n")); \
} while(0)
Destroy previously initialised ITC and abort execution if error is detected.
- Parameters
-
Definition at line 347 of file mhd_itc.h.
◆ MHD_ITC_IS_INVALID_
#define MHD_ITC_IS_INVALID_ |
( |
|
itc | ) |
(! MHD_ITC_IS_VALID_(itc)) |
Check whether ITC has invalid value.
Macro check whether itc value is invalid, macro does not check whether itc was destroyed.
- Parameters
-
- Returns
- boolean true if itc has invalid value, boolean false otherwise.
Definition at line 361 of file mhd_itc.h.
◆ MHD_PANIC
Value:do { fprintf (stderr, \
"Abnormal termination at %d line in file %s: %s\n", \
(int)__LINE__, __FILE__, msg); abort();} while(0)
Definition at line 43 of file mhd_itc.h.