#define AFDAL_IS_ERROR afdal   )     (!afdal || (afdal->state == AFDAL_ERROR))

Allows to check if the given AfDal object, no mather the request type, have returned ERROR.

This macro allows to check ERROR status for a given AfDal object making additional checks.

Check this macro to get an example on how to use AFDAL_ERROR.

afdal the AfDal layer object to check.
TRUE if AFDAL_ERROR status is set for the given object or FALSE if not.