00001
00002
00003
00004
00005
00006 #ifndef __INETUTIL_H_
00007 #define __INETUTIL_H_
00008
00009 #include "downloadproperties.h"
00010
00011 extern BOOL fsFileNameFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize);
00012
00013 extern BOOL fsIRToStr (fsInternetResult ir, LPSTR pszStr, UINT uMaxSize);
00014
00015 extern BOOL fsFilePathFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize);
00016
00017 extern BOOL fsPathFromUrlPath (LPCSTR pszUrl, BOOL bUsingFTP, BOOL bDecode, LPSTR pszBuf, UINT uSize);
00018
00019 extern BOOL fsIsAnchorInUrl (LPCSTR pszFullUrl, LPSTR* ppszWithoutAnchor, LPCSTR* ppszAnchor = NULL);
00020
00021 extern DWORD fsNPToSiteValidFor (fsNetworkProtocol np);
00022
00023 extern void vmsMakeWinInetProxy (LPCSTR pszProxy, fsNetworkProtocol npConnection, fsNetworkProtocol npProxy, LPSTR pszWProxy);
00024
00025 extern ULONG fsGetSiteIp (LPCSTR pszSite);
00026
00027 extern void fsDecodeHtmlUrl (fsString &str);
00028 extern void fsDecodeHtmlText (fsString &str);
00029
00030 #endif