summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-12 21:55:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-12 21:55:48 +0000
commit9f06e7ffdd6458dd25bfd5b915cb788bab03bea0 (patch)
tree28acaca0e311896ee60299e4ca055a5cc7a5cb3a /include/delphi
parentd60f928fe512a067719cfc6e9a88eb9d56ad47ac (diff)
simple core logger
git-svn-id: http://svn.miranda-ng.org/main/trunk@5664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_core.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 0bfd0aec8f..a8ecb0227d 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -426,6 +426,17 @@ procedure List_ObjCopy(src:PSortedList; dst:PSortedList; size:size_t); stdcall;
///////////////////////////////////////////////////////////////////////////////
+// log functions
+
+function mir_createLog(pszName:PAnsiChar; ptszDescr, ptszFile:PWideChar; options:Cardinal):THandle;stdcall;
+ external CoreDLL name 'mir_createLog';
+
+function mir_writeLogA(hLog:THandle; format:PAnsiChar):int;cdecl;
+ external CoreDLL name 'mir_writeLogA';
+function mir_writeLogW(hLog:THandle; format:PWideChar):int;cdecl;
+ external CoreDLL name 'mir_writeLogW';
+
+///////////////////////////////////////////////////////////////////////////////
// md5 functions
// Define the state of the MD5 Algorithm.