#include <ycp/y2log.h>Go to the source code of this file.
Defines | |
| #define | y2log_component "ag_ppd" |
| #define | Y2_DEBUG_YES 1 |
| #define | Y2_DEBUG(format, args...) y2debug(format,##args) |
| #define | Y2_WARNING(format, args...) y2warning(format,##args) |
| #define | Y2_ERROR(format, args...) |
| #define | Y2_RETURN_FALSE(format, args...) { y2error(format,##args); return false; } |
| #define | Y2_RETURN_VOID(format, args...) { y2error(format,##args); return YCPVoid(); } |
| #define | Y2_RETURN_STR(format, args...) { y2error(format,##args); return ""; } |
| #define | Y2_RETURN_YCP_FALSE(format, args...) { y2error(format,##args); return YCPBoolean(false); } |
Variables | |
| char | last_error [1024] |
| #define Y2_DEBUG | ( | format, | |||
| args... | ) | y2debug(format,##args) |
| #define Y2_DEBUG_YES 1 |
| #define Y2_ERROR | ( | format, | |||
| args... | ) |
Value:
{\
y2error(format,##args);\
snprintf (last_error,1023,format,##args);\
}
| #define Y2_RETURN_FALSE | ( | format, | |||
| args... | ) | { y2error(format,##args); return false; } |
| #define Y2_RETURN_STR | ( | format, | |||
| args... | ) | { y2error(format,##args); return ""; } |
| #define Y2_RETURN_VOID | ( | format, | |||
| args... | ) | { y2error(format,##args); return YCPVoid(); } |
| #define Y2_RETURN_YCP_FALSE | ( | format, | |||
| args... | ) | { y2error(format,##args); return YCPBoolean(false); } |
| #define Y2_WARNING | ( | format, | |||
| args... | ) | y2warning(format,##args) |
| #define y2log_component "ag_ppd" |
| char last_error[1024] |
1.5.0