From a7caae954015c45debc762934161e9211c765c71 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 23 Mar 2008 02:16:18 +0100 Subject: [PATCH] mshtml: Move BSCallback declaration to navigate.c. --- dlls/mshtml/mshtml_private.h | 36 ------------------------------------ dlls/mshtml/navigate.c | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h index a21eee3c377..17a1219a8b0 100644 --- a/dlls/mshtml/mshtml_private.h +++ b/dlls/mshtml/mshtml_private.h @@ -234,42 +234,6 @@ typedef struct { char *charset; } nsChannel; -typedef struct { - const nsIInputStreamVtbl *lpInputStreamVtbl; - - LONG ref; - - char buf[1024]; - DWORD buf_size; -} nsProtocolStream; - -struct BSCallback { - const IBindStatusCallbackVtbl *lpBindStatusCallbackVtbl; - const IServiceProviderVtbl *lpServiceProviderVtbl; - const IHttpNegotiate2Vtbl *lpHttpNegotiate2Vtbl; - const IInternetBindInfoVtbl *lpInternetBindInfoVtbl; - - LONG ref; - - LPWSTR headers; - HGLOBAL post_data; - ULONG post_data_len; - ULONG readed; - - nsChannel *nschannel; - nsIStreamListener *nslistener; - nsISupports *nscontext; - - IMoniker *mon; - IBinding *binding; - - HTMLDocument *doc; - - nsProtocolStream *nsstream; - - struct list entry; -}; - typedef struct { HRESULT (*qi)(HTMLDOMNode*,REFIID,void**); void (*destructor)(HTMLDOMNode*); diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c index ebeca3d9f2b..2349178249d 100644 --- a/dlls/mshtml/navigate.c +++ b/dlls/mshtml/navigate.c @@ -41,8 +41,44 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml); #define CONTENT_LENGTH "Content-Length" #define UTF16_STR "utf-16" +typedef struct { + const nsIInputStreamVtbl *lpInputStreamVtbl; + + LONG ref; + + char buf[1024]; + DWORD buf_size; +} nsProtocolStream; + #define NSINSTREAM(x) ((nsIInputStream*) &(x)->lpInputStreamVtbl) +struct BSCallback { + const IBindStatusCallbackVtbl *lpBindStatusCallbackVtbl; + const IServiceProviderVtbl *lpServiceProviderVtbl; + const IHttpNegotiate2Vtbl *lpHttpNegotiate2Vtbl; + const IInternetBindInfoVtbl *lpInternetBindInfoVtbl; + + LONG ref; + + LPWSTR headers; + HGLOBAL post_data; + ULONG post_data_len; + ULONG readed; + + nsChannel *nschannel; + nsIStreamListener *nslistener; + nsISupports *nscontext; + + IMoniker *mon; + IBinding *binding; + + HTMLDocument *doc; + + nsProtocolStream *nsstream; + + struct list entry; +}; + #define NSINSTREAM_THIS(iface) DEFINE_THIS(nsProtocolStream, InputStream, iface) static nsresult NSAPI nsInputStream_QueryInterface(nsIInputStream *iface, nsIIDRef riid,