Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctaneSnail <os@v12pwr.com>2008-12-13 19:21:59 +0300
committerOctaneSnail <os@v12pwr.com>2008-12-13 22:53:53 +0300
commit75ed77126304e38d098fc4f5845e552a48999734 (patch)
treeccf1e9c7cceb2e7a8bf0033bd46b6ab9ddcdca4a /Utils.h
parent56593e8a2543de45fd97aed91aa73a29b49a418b (diff)
Add convenience function for logging headers.
Diffstat (limited to 'Utils.h')
-rw-r--r--Utils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Utils.h b/Utils.h
index 71404cf..1ee3c70 100644
--- a/Utils.h
+++ b/Utils.h
@@ -21,4 +21,13 @@
void ErrorMsg (DWORD errorCode, wchar_t *format, ...);
+#ifdef _DEBUG
+#include "RAR.h"
+
+void LogHeader (rar_header_t *rh);
+#define LOG_HEADER(rh) LogHeader(rh)
+#else
+#define LOG_HEADER(rh)
+#endif
+
#endif // UTILS_H