summaryrefslogtreecommitdiff
path: root/include/delphi/m_core.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-24 22:01:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-24 22:01:00 +0000
commit1e13a939b177960b7048b8532205bc369501d399 (patch)
treeedd1afd10b00d768db2280e4157bc198d6445b33 /include/delphi/m_core.inc
parentc619ad70603e5355e68e78001df154c98306e805 (diff)
char* mir_urlEncode(const char *szUrl) added
git-svn-id: http://svn.miranda-ng.org/main/trunk@4180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_core.inc')
-rw-r--r--include/delphi/m_core.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 7221ec7c59..417aa4b7b5 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -236,6 +236,12 @@ function CallContactService(hContact:THANDLE;const name:PAnsiChar;wParam:WPARAM;
function CallProtoService(const szModule:PAnsiChar;const szService:PAnsiChar;wParam:WPARAM;lParam:LPARAM):uint_ptr; cdecl;
external CoreDLL name 'CallProtoService';
+///////////////////////////////////////////////////////////////////////////////
+// http
+
+// returned result must be freed using mir_free()
+function mir_urlEncode(url:pAnsiChar); pAnsiChar; stdcall;
+ external CoreDLL name 'mir_urlEncode';
///////////////////////////////////////////////////////////////////////////////
// exceptions