diff options
Diffstat (limited to 'NetCmpts/parseurl.h')
-rw-r--r-- | NetCmpts/parseurl.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/NetCmpts/parseurl.h b/NetCmpts/parseurl.h new file mode 100644 index 0000000..cc08472 --- /dev/null +++ b/NetCmpts/parseurl.h @@ -0,0 +1,17 @@ +#ifndef __PARSEURL_H__991103 +#define __PARSEURL_H__991103 + +#include <mystring.h> + +#ifndef _WININET_ +#include <wininet.h> +#endif + +bool ParseURLEx(LPCTSTR pstrURL, DWORD& dwServiceType, string& strServer, + string& strObject, INTERNET_PORT& nPort, string& strUsername, + string& strPassword, DWORD dwFlags = 0); + +bool ParseURL(LPCTSTR pstrURL, DWORD& dwServiceType, string& strServer, + string& strObject, INTERNET_PORT& nPort); + +#endif //__PARSEURL_H__991103
\ No newline at end of file |