diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:10:20 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-01-15 21:10:20 +0000 |
commit | 8182b383ff777c41459278bd517e4370c42fd78a (patch) | |
tree | 122d41c2a290bee7f15af1ae2fed4e6ea400c1a2 /plugins/ExternalAPI/delphi/m_httpserver.inc | |
parent | 45ed02f2c6064fa41d59c01f457565365d22ae59 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_httpserver.inc')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_httpserver.inc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/delphi/m_httpserver.inc b/plugins/ExternalAPI/delphi/m_httpserver.inc index 1e0f0895e3..4ac210ce9d 100644 --- a/plugins/ExternalAPI/delphi/m_httpserver.inc +++ b/plugins/ExternalAPI/delphi/m_httpserver.inc @@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. const
OPT_SEND_LINK = 1;
-typedef struct
+type
PSTFileShareInfo = ^TSTFileShareInfo;
TSTFileShareInfo = record
lStructSize :dword; // Set to sizeof(STFileShareInfo)
@@ -43,6 +43,7 @@ typedef struct // The buffer must be large enough to store the path and file name string,
// including the terminating null character.
+const
/////////////////////////////////////////////
/// Service MS_HTTP_ADD_CHANGE_REMOVE ///
/////////////////////////////////////////////
@@ -100,4 +101,17 @@ typedef struct MS_HTTP_GET_ALL_SHARES = 'HTTPServer/GetAllShares';
+/////////////////////////////////////////////
+//// Service MS_HTTP_GET_LINK /////
+/////////////////////////////////////////////
+//
+// wParam = (char*)pszSrvPath;
+// lParam = 0
+// Return URL Link on success, 0 on failure
+// Return pointer must be mir_free by caller
+//
+// Return the URL link to the pszSrvPath
+
+ MS_HTTP_GET_LINK = 'HTTPServer/GetLink';
+
{$ENDIF}
|