diff options
Diffstat (limited to 'protocols/YAMN/src/debug.h')
-rw-r--r-- | protocols/YAMN/src/debug.h | 40 |
1 files changed, 13 insertions, 27 deletions
diff --git a/protocols/YAMN/src/debug.h b/protocols/YAMN/src/debug.h index e2e8e3e506..3224faf406 100644 --- a/protocols/YAMN/src/debug.h +++ b/protocols/YAMN/src/debug.h @@ -3,21 +3,12 @@ #ifdef _DEBUG
-//#define DEBUG_COMM //debug communiation to a file
-//#define DEBUG_DECODE //debug header decoding to a file
-//#define DEBUG_DECODECODEPAGE //add info about codepage used in conversion
-//#define DEBUG_DECODEBASE64 //add info about base64 result
-//#define DEBUG_DECODEQUOTED //add info about quoted printable result
-//#define DEBUG_FILEREAD //debug file reading to message boxes
-//#define DEBUG_FILEREADMESSAGES //debug file reading messages to message boxes
-
-void DebugLog(HANDLE,const char *fmt,...);
-void DebugLogW(HANDLE File,const wchar_t *fmt,...);
-
-#ifdef DEBUG_SYNCHRO
-// Used for synchronization debug
-extern HANDLE SynchroFile;
-#endif
+//#define DEBUG_COMM // debug communication to a file
+//#define DEBUG_DECODE // debug header decoding to a file
+//#define DEBUG_DECODECODEPAGE // add info about codepage used in conversion
+//#define DEBUG_DECODEQUOTED // add info about quoted printable result
+//#define DEBUG_FILEREAD // debug file reading to message boxes
+//#define DEBUG_FILEREADMESSAGES // debug file reading messages to message boxes
#ifdef DEBUG_COMM
// Used for communication debug
@@ -30,21 +21,16 @@ extern HANDLE DecodeFile; #endif
#if defined(DEBUG_FILEREAD) || defined(DEBUG_FILEREADMESSAGES)
-uint32_t ReadStringFromMemory(char **Parser,char *End,char **StoreTo,char *DebugString);
-
-uint32_t ReadStringFromMemoryW(char **Parser,wchar_t *End,char **StoreTo,wchar_t *DebugString);
-
+uint32_t ReadStringFromMemory(char **Parser, char *End, char **StoreTo, char *DebugString);
+
+uint32_t ReadStringFromMemoryW(char **Parser, wchar_t *End, char **StoreTo, wchar_t *DebugString);
+
#else
-uint32_t ReadStringFromMemory(char **Parser,char *End,char **StoreTo);
-
-uint32_t ReadStringFromMemoryW(wchar_t **Parser,wchar_t *End,wchar_t **StoreTo);
+uint32_t ReadStringFromMemory(char **Parser, char *End, char **StoreTo);
+
+uint32_t ReadStringFromMemoryW(wchar_t **Parser, wchar_t *End, wchar_t **StoreTo);
#endif
-//#ifdef DEBUG_ACCOUNTS
-//int GetAccounts();
-//void WriteAccounts();
-//#endif
-
#endif //YAMN_DEBUG
#endif //_DEBUG_H
|