summaryrefslogtreecommitdiff
path: root/NetCmpts/parseurl.h
blob: cc084726639ff3c6ab3d8f7565fc6801e17e86ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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