Data Structures |
| struct | nsWineURI |
| struct | start_binding_task_t |
| struct | nsProtocolHandler |
Defines |
| #define | COBJMACROS |
| #define | NS_IOSERVICE_CLASSNAME "nsIOService" |
| #define | NS_IOSERVICE_CONTRACTID "@mozilla.org/network/io-service;1" |
| #define | NSURI(x) ((nsIURI*) &(x)->lpIURLVtbl) |
| #define | NSURL(x) ((nsIURL*) &(x)->lpIURLVtbl) |
| #define | NSCHANNEL_THIS(iface) DEFINE_THIS(nsChannel, HttpChannel, iface) |
| #define | NSUPCHANNEL_THIS(iface) DEFINE_THIS(nsChannel, UploadChannel, iface) |
| #define | NSHTTPINTERNAL_THIS(iface) DEFINE_THIS(nsChannel, IHttpChannelInternal, iface) |
| #define | NSURI_THIS(iface) DEFINE_THIS(nsWineURI, IURL, iface) |
| #define | NSPROTHANDLER(x) ((nsIProtocolHandler*) &(x)->lpProtocolHandlerVtbl) |
| #define | NSPROTHANDLER_THIS(iface) DEFINE_THIS(nsProtocolHandler, ProtocolHandler, iface) |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (mshtml) |
| static nsresult | create_uri (nsIURI *, HTMLWindow *, NSContainer *, nsWineURI **) |
| static const char * | debugstr_nsacstr (const nsACString *nsstr) |
| HRESULT | nsuri_to_url (LPCWSTR nsuri, BOOL ret_empty, BSTR *ret) |
| static BOOL | exec_shldocvw_67 (HTMLDocumentObj *doc, LPCWSTR url) |
| static BOOL | before_async_open (nsChannel *channel, NSContainer *container) |
| HRESULT | load_nsuri (HTMLWindow *window, nsWineURI *uri, nsChannelBSC *channelbsc, DWORD flags) |
| static BOOL | translate_url (HTMLDocumentObj *doc, nsWineURI *uri) |
| nsresult | on_start_uri_open (NSContainer *nscontainer, nsIURI *uri, PRBool *_retval) |
| HRESULT | set_wine_url (nsWineURI *This, LPCWSTR url) |
| static void | set_uri_nscontainer (nsWineURI *This, NSContainer *nscontainer) |
| static void | set_uri_window (nsWineURI *This, HTMLWindow *window) |
| static BOOL | is_http_channel (nsChannel *This) |
| static nsresult NSAPI | nsChannel_QueryInterface (nsIHttpChannel *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsChannel_AddRef (nsIHttpChannel *iface) |
| static nsrefcnt NSAPI | nsChannel_Release (nsIHttpChannel *iface) |
| static nsresult NSAPI | nsChannel_GetName (nsIHttpChannel *iface, nsACString *aName) |
| static nsresult NSAPI | nsChannel_IsPending (nsIHttpChannel *iface, PRBool *_retval) |
| static nsresult NSAPI | nsChannel_GetStatus (nsIHttpChannel *iface, nsresult *aStatus) |
| static nsresult NSAPI | nsChannel_Cancel (nsIHttpChannel *iface, nsresult aStatus) |
| static nsresult NSAPI | nsChannel_Suspend (nsIHttpChannel *iface) |
| static nsresult NSAPI | nsChannel_Resume (nsIHttpChannel *iface) |
| static nsresult NSAPI | nsChannel_GetLoadGroup (nsIHttpChannel *iface, nsILoadGroup **aLoadGroup) |
| static nsresult NSAPI | nsChannel_SetLoadGroup (nsIHttpChannel *iface, nsILoadGroup *aLoadGroup) |
| static nsresult NSAPI | nsChannel_GetLoadFlags (nsIHttpChannel *iface, nsLoadFlags *aLoadFlags) |
| static nsresult NSAPI | nsChannel_SetLoadFlags (nsIHttpChannel *iface, nsLoadFlags aLoadFlags) |
| static nsresult NSAPI | nsChannel_GetOriginalURI (nsIHttpChannel *iface, nsIURI **aOriginalURI) |
| static nsresult NSAPI | nsChannel_SetOriginalURI (nsIHttpChannel *iface, nsIURI *aOriginalURI) |
| static nsresult NSAPI | nsChannel_GetURI (nsIHttpChannel *iface, nsIURI **aURI) |
| static nsresult NSAPI | nsChannel_GetOwner (nsIHttpChannel *iface, nsISupports **aOwner) |
| static nsresult NSAPI | nsChannel_SetOwner (nsIHttpChannel *iface, nsISupports *aOwner) |
| static nsresult NSAPI | nsChannel_GetNotificationCallbacks (nsIHttpChannel *iface, nsIInterfaceRequestor **aNotificationCallbacks) |
| static nsresult NSAPI | nsChannel_SetNotificationCallbacks (nsIHttpChannel *iface, nsIInterfaceRequestor *aNotificationCallbacks) |
| static nsresult NSAPI | nsChannel_GetSecurityInfo (nsIHttpChannel *iface, nsISupports **aSecurityInfo) |
| static nsresult NSAPI | nsChannel_GetContentType (nsIHttpChannel *iface, nsACString *aContentType) |
| static nsresult NSAPI | nsChannel_SetContentType (nsIHttpChannel *iface, const nsACString *aContentType) |
| static nsresult NSAPI | nsChannel_GetContentCharset (nsIHttpChannel *iface, nsACString *aContentCharset) |
| static nsresult NSAPI | nsChannel_SetContentCharset (nsIHttpChannel *iface, const nsACString *aContentCharset) |
| static nsresult NSAPI | nsChannel_GetContentLength (nsIHttpChannel *iface, PRInt32 *aContentLength) |
| static nsresult NSAPI | nsChannel_SetContentLength (nsIHttpChannel *iface, PRInt32 aContentLength) |
| static nsresult NSAPI | nsChannel_Open (nsIHttpChannel *iface, nsIInputStream **_retval) |
| static HRESULT | create_mon_for_nschannel (nsChannel *channel, IMoniker **mon) |
| static HTMLWindow * | get_window_from_load_group (nsChannel *This) |
| static HTMLWindow * | get_channel_window (nsChannel *This) |
| static void | start_binding_proc (task_t *_task) |
| static nsresult | async_open (nsChannel *This, HTMLWindow *window, BOOL is_doc_channel, nsIStreamListener *listener, nsISupports *context) |
| static nsresult NSAPI | nsChannel_AsyncOpen (nsIHttpChannel *iface, nsIStreamListener *aListener, nsISupports *aContext) |
| static nsresult NSAPI | nsChannel_GetRequestMethod (nsIHttpChannel *iface, nsACString *aRequestMethod) |
| static nsresult NSAPI | nsChannel_SetRequestMethod (nsIHttpChannel *iface, const nsACString *aRequestMethod) |
| static nsresult NSAPI | nsChannel_GetReferrer (nsIHttpChannel *iface, nsIURI **aReferrer) |
| static nsresult NSAPI | nsChannel_SetReferrer (nsIHttpChannel *iface, nsIURI *aReferrer) |
| static nsresult NSAPI | nsChannel_GetRequestHeader (nsIHttpChannel *iface, const nsACString *aHeader, nsACString *_retval) |
| static nsresult NSAPI | nsChannel_SetRequestHeader (nsIHttpChannel *iface, const nsACString *aHeader, const nsACString *aValue, PRBool aMerge) |
| static nsresult NSAPI | nsChannel_VisitRequestHeaders (nsIHttpChannel *iface, nsIHttpHeaderVisitor *aVisitor) |
| static nsresult NSAPI | nsChannel_GetAllowPipelining (nsIHttpChannel *iface, PRBool *aAllowPipelining) |
| static nsresult NSAPI | nsChannel_SetAllowPipelining (nsIHttpChannel *iface, PRBool aAllowPipelining) |
| static nsresult NSAPI | nsChannel_GetRedirectionLimit (nsIHttpChannel *iface, PRUint32 *aRedirectionLimit) |
| static nsresult NSAPI | nsChannel_SetRedirectionLimit (nsIHttpChannel *iface, PRUint32 aRedirectionLimit) |
| static nsresult NSAPI | nsChannel_GetResponseStatus (nsIHttpChannel *iface, PRUint32 *aResponseStatus) |
| static nsresult NSAPI | nsChannel_GetResponseStatusText (nsIHttpChannel *iface, nsACString *aResponseStatusText) |
| static nsresult NSAPI | nsChannel_GetRequestSucceeded (nsIHttpChannel *iface, PRBool *aRequestSucceeded) |
| static nsresult NSAPI | nsChannel_GetResponseHeader (nsIHttpChannel *iface, const nsACString *header, nsACString *_retval) |
| static nsresult NSAPI | nsChannel_SetResponseHeader (nsIHttpChannel *iface, const nsACString *header, const nsACString *value, PRBool merge) |
| static nsresult NSAPI | nsChannel_VisitResponseHeaders (nsIHttpChannel *iface, nsIHttpHeaderVisitor *aVisitor) |
| static nsresult NSAPI | nsChannel_IsNoStoreResponse (nsIHttpChannel *iface, PRBool *_retval) |
| static nsresult NSAPI | nsChannel_IsNoCacheResponse (nsIHttpChannel *iface, PRBool *_retval) |
| static nsresult NSAPI | nsUploadChannel_QueryInterface (nsIUploadChannel *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsUploadChannel_AddRef (nsIUploadChannel *iface) |
| static nsrefcnt NSAPI | nsUploadChannel_Release (nsIUploadChannel *iface) |
| static nsresult NSAPI | nsUploadChannel_SetUploadStream (nsIUploadChannel *iface, nsIInputStream *aStream, const nsACString *aContentType, PRInt32 aContentLength) |
| static nsresult NSAPI | nsUploadChannel_GetUploadStream (nsIUploadChannel *iface, nsIInputStream **aUploadStream) |
| static nsresult NSAPI | nsHttpChannelInternal_QueryInterface (nsIHttpChannelInternal *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsHttpChannelInternal_AddRef (nsIHttpChannelInternal *iface) |
| static nsrefcnt NSAPI | nsHttpChannelInternal_Release (nsIHttpChannelInternal *iface) |
| static nsresult NSAPI | nsHttpChannelInternal_GetDocumentURI (nsIHttpChannelInternal *iface, nsIURI **aDocumentURI) |
| static nsresult NSAPI | nsHttpChannelInternal_SetDocumentURI (nsIHttpChannelInternal *iface, nsIURI *aDocumentURI) |
| static nsresult NSAPI | nsHttpChannelInternal_GetRequestVersion (nsIHttpChannelInternal *iface, PRUint32 *major, PRUint32 *minor) |
| static nsresult NSAPI | nsHttpChannelInternal_GetResponseVersion (nsIHttpChannelInternal *iface, PRUint32 *major, PRUint32 *minor) |
| static nsresult NSAPI | nsHttpChannelInternal_SetCookie (nsIHttpChannelInternal *iface, const char *aCookieHeader) |
| static nsresult NSAPI | nsHttpChannelInternal_SetupFallbackChannel (nsIHttpChannelInternal *iface, const char *aFallbackKey) |
| static nsresult NSAPI | nsHttpChannelInternal_GetForceAllowThirdPartyCookie (nsIHttpChannelInternal *iface, PRBool *aForceThirdPartyCookie) |
| static nsresult NSAPI | nsHttpChannelInternal_SetForceAllowThirdPartyCookie (nsIHttpChannelInternal *iface, PRBool aForceThirdPartyCookie) |
| static nsresult NSAPI | nsURI_QueryInterface (nsIURL *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsURI_AddRef (nsIURL *iface) |
| static nsrefcnt NSAPI | nsURI_Release (nsIURL *iface) |
| static nsresult NSAPI | nsURI_GetSpec (nsIURL *iface, nsACString *aSpec) |
| static nsresult NSAPI | nsURI_SetSpec (nsIURL *iface, const nsACString *aSpec) |
| static nsresult NSAPI | nsURI_GetPrePath (nsIURL *iface, nsACString *aPrePath) |
| static nsresult NSAPI | nsURI_GetScheme (nsIURL *iface, nsACString *aScheme) |
| static nsresult NSAPI | nsURI_SetScheme (nsIURL *iface, const nsACString *aScheme) |
| static nsresult NSAPI | nsURI_GetUserPass (nsIURL *iface, nsACString *aUserPass) |
| static nsresult NSAPI | nsURI_SetUserPass (nsIURL *iface, const nsACString *aUserPass) |
| static nsresult NSAPI | nsURI_GetUsername (nsIURL *iface, nsACString *aUsername) |
| static nsresult NSAPI | nsURI_SetUsername (nsIURL *iface, const nsACString *aUsername) |
| static nsresult NSAPI | nsURI_GetPassword (nsIURL *iface, nsACString *aPassword) |
| static nsresult NSAPI | nsURI_SetPassword (nsIURL *iface, const nsACString *aPassword) |
| static nsresult NSAPI | nsURI_GetHostPort (nsIURL *iface, nsACString *aHostPort) |
| static nsresult NSAPI | nsURI_SetHostPort (nsIURL *iface, const nsACString *aHostPort) |
| static nsresult NSAPI | nsURI_GetHost (nsIURL *iface, nsACString *aHost) |
| static nsresult NSAPI | nsURI_SetHost (nsIURL *iface, const nsACString *aHost) |
| static nsresult NSAPI | nsURI_GetPort (nsIURL *iface, PRInt32 *aPort) |
| static nsresult NSAPI | nsURI_SetPort (nsIURL *iface, PRInt32 aPort) |
| static nsresult NSAPI | nsURI_GetPath (nsIURL *iface, nsACString *aPath) |
| static nsresult NSAPI | nsURI_SetPath (nsIURL *iface, const nsACString *aPath) |
| static nsresult NSAPI | nsURI_Equals (nsIURL *iface, nsIURI *other, PRBool *_retval) |
| static nsresult NSAPI | nsURI_SchemeIs (nsIURL *iface, const char *scheme, PRBool *_retval) |
| static nsresult NSAPI | nsURI_Clone (nsIURL *iface, nsIURI **_retval) |
| static nsresult NSAPI | nsURI_Resolve (nsIURL *iface, const nsACString *arelativePath, nsACString *_retval) |
| static nsresult NSAPI | nsURI_GetAsciiSpec (nsIURL *iface, nsACString *aAsciiSpec) |
| static nsresult NSAPI | nsURI_GetAsciiHost (nsIURL *iface, nsACString *aAsciiHost) |
| static nsresult NSAPI | nsURI_GetOriginCharset (nsIURL *iface, nsACString *aOriginCharset) |
| static nsresult NSAPI | nsURL_GetFilePath (nsIURL *iface, nsACString *aFilePath) |
| static nsresult NSAPI | nsURL_SetFilePath (nsIURL *iface, const nsACString *aFilePath) |
| static nsresult NSAPI | nsURL_GetParam (nsIURL *iface, nsACString *aParam) |
| static nsresult NSAPI | nsURL_SetParam (nsIURL *iface, const nsACString *aParam) |
| static nsresult NSAPI | nsURL_GetQuery (nsIURL *iface, nsACString *aQuery) |
| static nsresult NSAPI | nsURL_SetQuery (nsIURL *iface, const nsACString *aQuery) |
| static nsresult NSAPI | nsURL_GetRef (nsIURL *iface, nsACString *aRef) |
| static nsresult NSAPI | nsURL_SetRef (nsIURL *iface, const nsACString *aRef) |
| static nsresult NSAPI | nsURL_GetDirectory (nsIURL *iface, nsACString *aDirectory) |
| static nsresult NSAPI | nsURL_SetDirectory (nsIURL *iface, const nsACString *aDirectory) |
| static nsresult NSAPI | nsURL_GetFileName (nsIURL *iface, nsACString *aFileName) |
| static nsresult NSAPI | nsURL_SetFileName (nsIURL *iface, const nsACString *aFileName) |
| static nsresult NSAPI | nsURL_GetFileBaseName (nsIURL *iface, nsACString *aFileBaseName) |
| static nsresult NSAPI | nsURL_SetFileBaseName (nsIURL *iface, const nsACString *aFileBaseName) |
| static nsresult NSAPI | nsURL_GetFileExtension (nsIURL *iface, nsACString *aFileExtension) |
| static nsresult NSAPI | nsURL_SetFileExtension (nsIURL *iface, const nsACString *aFileExtension) |
| static nsresult NSAPI | nsURL_GetCommonBaseSpec (nsIURL *iface, nsIURI *aURIToCompare, nsACString *_retval) |
| static nsresult NSAPI | nsURL_GetRelativeSpec (nsIURL *iface, nsIURI *aURIToCompare, nsACString *_retval) |
| HRESULT | create_doc_uri (HTMLWindow *window, WCHAR *url, nsWineURI **ret) |
| static nsresult NSAPI | nsProtocolHandler_QueryInterface (nsIProtocolHandler *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsProtocolHandler_AddRef (nsIProtocolHandler *iface) |
| static nsrefcnt NSAPI | nsProtocolHandler_Release (nsIProtocolHandler *iface) |
| static nsresult NSAPI | nsProtocolHandler_GetScheme (nsIProtocolHandler *iface, nsACString *aScheme) |
| static nsresult NSAPI | nsProtocolHandler_GetDefaultPort (nsIProtocolHandler *iface, PRInt32 *aDefaultPort) |
| static nsresult NSAPI | nsProtocolHandler_GetProtocolFlags (nsIProtocolHandler *iface, PRUint32 *aProtocolFlags) |
| static nsresult NSAPI | nsProtocolHandler_NewURI (nsIProtocolHandler *iface, const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI, nsIURI **_retval) |
| static nsresult NSAPI | nsProtocolHandler_NewChannel (nsIProtocolHandler *iface, nsIURI *aURI, nsIChannel **_retval) |
| static nsresult NSAPI | nsProtocolHandler_AllowPort (nsIProtocolHandler *iface, PRInt32 port, const char *scheme, PRBool *_retval) |
| static nsIProtocolHandler * | create_protocol_handler (nsIProtocolHandler *nshandler) |
| static nsresult NSAPI | nsIOService_QueryInterface (nsIIOService *, nsIIDRef, nsQIResult) |
| static nsrefcnt NSAPI | nsIOService_AddRef (nsIIOService *iface) |
| static nsrefcnt NSAPI | nsIOService_Release (nsIIOService *iface) |
| static nsresult NSAPI | nsIOService_GetProtocolHandler (nsIIOService *iface, const char *aScheme, nsIProtocolHandler **_retval) |
| static nsresult NSAPI | nsIOService_GetProtocolFlags (nsIIOService *iface, const char *aScheme, PRUint32 *_retval) |
| static BOOL | is_gecko_special_uri (const char *spec) |
| static nsresult NSAPI | nsIOService_NewURI (nsIIOService *iface, const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI, nsIURI **_retval) |
| static nsresult NSAPI | nsIOService_NewFileURI (nsIIOService *iface, nsIFile *aFile, nsIURI **_retval) |
| static nsresult NSAPI | nsIOService_NewChannelFromURI (nsIIOService *iface, nsIURI *aURI, nsIChannel **_retval) |
| static nsresult NSAPI | nsIOService_NewChannel (nsIIOService *iface, const nsACString *aSpec, const char *aOriginCharset, nsIURI *aBaseURI, nsIChannel **_retval) |
| static nsresult NSAPI | nsIOService_GetOffline (nsIIOService *iface, PRBool *aOffline) |
| static nsresult NSAPI | nsIOService_SetOffline (nsIIOService *iface, PRBool aOffline) |
| static nsresult NSAPI | nsIOService_AllowPort (nsIIOService *iface, PRInt32 aPort, const char *aScheme, PRBool *_retval) |
| static nsresult NSAPI | nsIOService_ExtractScheme (nsIIOService *iface, const nsACString *urlString, nsACString *_retval) |
| static nsresult NSAPI | nsNetUtil_QueryInterface (nsINetUtil *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsNetUtil_AddRef (nsINetUtil *iface) |
| static nsrefcnt NSAPI | nsNetUtil_Release (nsINetUtil *iface) |
| static nsresult NSAPI | nsNetUtil_ParseContentType (nsINetUtil *iface, const nsACString *aTypeHeader, nsACString *aCharset, PRBool *aHadCharset, nsACString *aContentType) |
| static nsresult NSAPI | nsNetUtil_ProtocolHasFlags (nsINetUtil *iface, nsIURI *aURI, PRUint32 aFlags, PRBool *_retval) |
| static nsresult NSAPI | nsNetUtil_URIChainHasFlags (nsINetUtil *iface, nsIURI *aURI, PRUint32 aFlags, PRBool *_retval) |
| static nsresult NSAPI | nsNetUtil_ToImmutableURI (nsINetUtil *iface, nsIURI *aURI, nsIURI **_retval) |
| static nsresult NSAPI | nsNetUtil_EscapeString (nsINetUtil *iface, const nsACString *aString, PRUint32 aEscapeType, nsACString *_retval) |
| static nsresult NSAPI | nsNetUtil_EscapeURL (nsINetUtil *iface, const nsACString *aStr, PRUint32 aFlags, nsACString *_retval) |
| static nsresult NSAPI | nsNetUtil_UnescapeString (nsINetUtil *iface, const nsACString *aStr, PRUint32 aFlags, nsACString *_retval) |
| static nsresult NSAPI | nsNetUtil_ExtractCharsetFromContentType (nsINetUtil *iface, const nsACString *aTypeHeader, nsACString *aCharset, PRInt32 *aCharsetStart, PRInt32 *aCharsetEnd, PRBool *_retval) |
| static nsresult NSAPI | nsIOServiceFactory_QueryInterface (nsIFactory *iface, nsIIDRef riid, nsQIResult result) |
| static nsrefcnt NSAPI | nsIOServiceFactory_AddRef (nsIFactory *iface) |
| static nsrefcnt NSAPI | nsIOServiceFactory_Release (nsIFactory *iface) |
| static nsresult NSAPI | nsIOServiceFactory_CreateInstance (nsIFactory *iface, nsISupports *aOuter, const nsIID *iid, void **result) |
| static nsresult NSAPI | nsIOServiceFactory_LockFactory (nsIFactory *iface, PRBool lock) |
| void | init_nsio (nsIComponentManager *component_manager, nsIComponentRegistrar *registrar) |
| void | release_nsio (void) |
Variables |
| static const IID | NS_IOSERVICE_CID |
| static const IID | IID_nsWineURI |
| static nsIIOService * | nsio = NULL |
| static nsINetUtil * | net_util |
| static const WCHAR | about_blankW [] = {'a','b','o','u','t',':','b','l','a','n','k',0} |
| static const nsIHttpChannelVtbl | nsChannelVtbl |
| static const nsIUploadChannelVtbl | nsUploadChannelVtbl |
static const
nsIHttpChannelInternalVtbl | nsHttpChannelInternalVtbl |
| static const nsIURLVtbl | nsURLVtbl |
| static const nsIProtocolHandlerVtbl | nsProtocolHandlerVtbl |
| static const nsIIOServiceVtbl | nsIOServiceVtbl |
| static nsIIOService | nsIOService = { &nsIOServiceVtbl } |
| static const nsINetUtilVtbl | nsNetUtilVtbl |
| static nsINetUtil | nsNetUtil = { &nsNetUtilVtbl } |
| static const nsIFactoryVtbl | nsIOServiceFactoryVtbl |
| static nsIFactory | nsIOServiceFactory = { &nsIOServiceFactoryVtbl } |