Parametros para configuracao de depuracao do projeto.
More...
Go to the source code of this file.
Detailed Description
- Author:
- Marco Tulio Martins
Definition in file debug.h.
Define Documentation
#define DEBUG_CLI |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_CLI_T) \
printf("%s - %s(%d) action: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 95 of file debug.h.
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_ENTER_DEF) \
printf("%s - %s(%d): Entering\n", __FILE__, __FUNCTION__, __LINE__); \
} while(0)
#define DEBUG_ENTER_DEF 0 |
#define DEBUG_ERROR |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_ERROR_T) \
printf("\n%s - %s(%d) error: %s\n", __FILE__, __FUNCTION__, __LINE__, error_cli[msg]); \
} while(0)
Definition at line 73 of file debug.h.
#define DEBUG_FTP |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_FTP_T) \
printf("\n%s - %s(%d) FTP report: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 51 of file debug.h.
#define DEBUG_HTTP |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_HTTP_T) \
printf("\n%s - %s(%d) HTTP report: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 62 of file debug.h.
#define DEBUG_INFO |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_INFO_T) \
printf("%s - %s(%d) action: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 84 of file debug.h.
#define DEBUG_SFT |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_SFT_T) \
printf("\n%s - %s(%d) FTP report: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 40 of file debug.h.
#define DEBUG_SOCK_INFO |
( |
|
msg |
) |
|
Value:do { \
if (DEBUG_MAIN) \
if (DEBUG_SOCK_T) \
printf("%s - %s(%d) action: %s\n", __FILE__, __FUNCTION__, __LINE__, msg); \
} while(0)
Definition at line 106 of file debug.h.
Enumeration Type Documentation
- Enumerator:
COMMAND_NOT_FOUND |
|
TRY_AGAYN |
|
INVALID_DATA |
|
EXEC_COMMAND_ERROR |
|
Definition at line 26 of file debug.h.
Function Documentation
void debug_cli |
( |
char * |
data |
) |
|
void debug_func |
( |
char * |
data |
) |
|