Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d6e76a16
Commit
d6e76a16
authored
Mar 15, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of PRBool from nsio.c.
parent
f0b86d06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
31 deletions
+31
-31
nsio.c
dlls/mshtml/nsio.c
+31
-31
No files found.
dlls/mshtml/nsio.c
View file @
d6e76a16
...
...
@@ -576,7 +576,7 @@ static nsresult NSAPI nsChannel_GetName(nsIHttpChannel *iface, nsACString *aName
return
nsIURI_GetSpec
(
&
This
->
uri
->
nsIURL_iface
,
aName
);
}
static
nsresult
NSAPI
nsChannel_IsPending
(
nsIHttpChannel
*
iface
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsChannel_IsPending
(
nsIHttpChannel
*
iface
,
cpp_b
ool
*
_retval
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1212,7 +1212,7 @@ static nsresult NSAPI nsChannel_GetRequestHeader(nsIHttpChannel *iface,
}
static
nsresult
NSAPI
nsChannel_SetRequestHeader
(
nsIHttpChannel
*
iface
,
const
nsACString
*
aHeader
,
const
nsACString
*
aValue
,
PRB
ool
aMerge
)
const
nsACString
*
aHeader
,
const
nsACString
*
aValue
,
cpp_b
ool
aMerge
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1234,7 +1234,7 @@ static nsresult NSAPI nsChannel_VisitRequestHeaders(nsIHttpChannel *iface,
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_GetAllowPipelining
(
nsIHttpChannel
*
iface
,
PRB
ool
*
aAllowPipelining
)
static
nsresult
NSAPI
nsChannel_GetAllowPipelining
(
nsIHttpChannel
*
iface
,
cpp_b
ool
*
aAllowPipelining
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1243,7 +1243,7 @@ static nsresult NSAPI nsChannel_GetAllowPipelining(nsIHttpChannel *iface, PRBool
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsChannel_SetAllowPipelining
(
nsIHttpChannel
*
iface
,
PRB
ool
aAllowPipelining
)
static
nsresult
NSAPI
nsChannel_SetAllowPipelining
(
nsIHttpChannel
*
iface
,
cpp_b
ool
aAllowPipelining
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1296,7 +1296,7 @@ static nsresult NSAPI nsChannel_GetResponseStatusText(nsIHttpChannel *iface,
}
static
nsresult
NSAPI
nsChannel_GetRequestSucceeded
(
nsIHttpChannel
*
iface
,
PRB
ool
*
aRequestSucceeded
)
cpp_b
ool
*
aRequestSucceeded
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1321,7 +1321,7 @@ static nsresult NSAPI nsChannel_GetResponseHeader(nsIHttpChannel *iface,
}
static
nsresult
NSAPI
nsChannel_SetResponseHeader
(
nsIHttpChannel
*
iface
,
const
nsACString
*
header
,
const
nsACString
*
value
,
PRB
ool
merge
)
const
nsACString
*
header
,
const
nsACString
*
value
,
cpp_b
ool
merge
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1340,7 +1340,7 @@ static nsresult NSAPI nsChannel_VisitResponseHeaders(nsIHttpChannel *iface,
return
visit_http_headers
(
&
This
->
response_headers
,
aVisitor
);
}
static
nsresult
NSAPI
nsChannel_IsNoStoreResponse
(
nsIHttpChannel
*
iface
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsChannel_IsNoStoreResponse
(
nsIHttpChannel
*
iface
,
cpp_b
ool
*
_retval
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
http_header_t
*
header
;
...
...
@@ -1355,7 +1355,7 @@ static nsresult NSAPI nsChannel_IsNoStoreResponse(nsIHttpChannel *iface, PRBool
return
NS_OK
;
}
static
nsresult
NSAPI
nsChannel_IsNoCacheResponse
(
nsIHttpChannel
*
iface
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsChannel_IsNoCacheResponse
(
nsIHttpChannel
*
iface
,
cpp_b
ool
*
_retval
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannel
(
iface
);
...
...
@@ -1587,7 +1587,7 @@ static nsresult NSAPI nsHttpChannelInternal_SetupFallbackChannel(nsIHttpChannelI
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetForceAllowThirdPartyCookie
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
*
aForceThirdPartyCookie
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetForceAllowThirdPartyCookie
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
*
aForceThirdPartyCookie
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1596,7 +1596,7 @@ static nsresult NSAPI nsHttpChannelInternal_GetForceAllowThirdPartyCookie(nsIHtt
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_SetForceAllowThirdPartyCookie
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
aForceThirdPartyCookie
)
static
nsresult
NSAPI
nsHttpChannelInternal_SetForceAllowThirdPartyCookie
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
aForceThirdPartyCookie
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1605,7 +1605,7 @@ static nsresult NSAPI nsHttpChannelInternal_SetForceAllowThirdPartyCookie(nsIHtt
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetCanceled
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
*
aCanceled
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetCanceled
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
*
aCanceled
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1614,7 +1614,7 @@ static nsresult NSAPI nsHttpChannelInternal_GetCanceled(nsIHttpChannelInternal *
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetChannelIsForDownload
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
*
aCanceled
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetChannelIsForDownload
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
*
aCanceled
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1623,7 +1623,7 @@ static nsresult NSAPI nsHttpChannelInternal_GetChannelIsForDownload(nsIHttpChann
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_SetChannelIsForDownload
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
aCanceled
)
static
nsresult
NSAPI
nsHttpChannelInternal_SetChannelIsForDownload
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
aCanceled
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
...
...
@@ -1685,14 +1685,14 @@ static nsresult NSAPI nsHttpChannelInternal_HTTPUpgrade(nsIHttpChannelInternal *
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_GetAllowSpdy
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
*
aAllowSpdy
)
static
nsresult
NSAPI
nsHttpChannelInternal_GetAllowSpdy
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
*
aAllowSpdy
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aAllowSpdy
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsHttpChannelInternal_SetAllowSpdy
(
nsIHttpChannelInternal
*
iface
,
PRB
ool
aAllowSpdy
)
static
nsresult
NSAPI
nsHttpChannelInternal_SetAllowSpdy
(
nsIHttpChannelInternal
*
iface
,
cpp_b
ool
aAllowSpdy
)
{
nsChannel
*
This
=
impl_from_nsIHttpChannelInternal
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
aAllowSpdy
);
...
...
@@ -2242,7 +2242,7 @@ static nsresult NSAPI nsURI_SetPath(nsIURL *iface, const nsACString *aPath)
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_Equals
(
nsIURL
*
iface
,
nsIURI
*
other
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsURI_Equals
(
nsIURL
*
iface
,
nsIURI
*
other
,
cpp_b
ool
*
_retval
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
nsWineURI
*
other_obj
;
...
...
@@ -2276,7 +2276,7 @@ static nsresult NSAPI nsURI_Equals(nsIURL *iface, nsIURI *other, PRBool *_retval
return
nsres
;
}
static
nsresult
NSAPI
nsURI_SchemeIs
(
nsIURL
*
iface
,
const
char
*
scheme
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsURI_SchemeIs
(
nsIURL
*
iface
,
const
char
*
scheme
,
cpp_b
ool
*
_retval
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
WCHAR
buf
[
INTERNET_MAX_SCHEME_LENGTH
];
...
...
@@ -2439,7 +2439,7 @@ static nsresult NSAPI nsURL_SetRef(nsIURL *iface, const nsACString *aRef)
return
NS_OK
;
}
static
nsresult
NSAPI
nsURI_EqualsExceptRef
(
nsIURL
*
iface
,
nsIURI
*
other
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsURI_EqualsExceptRef
(
nsIURL
*
iface
,
nsIURI
*
other
,
cpp_b
ool
*
_retval
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
nsWineURI
*
other_obj
;
...
...
@@ -2501,7 +2501,7 @@ static nsresult NSAPI nsURI_GetSpecIgnoringRef(nsIURL *iface, nsACString *aSpecI
return
nsIURL_GetSpec
(
&
This
->
nsIURL_iface
,
aSpecIgnoringRef
);
}
static
nsresult
NSAPI
nsURI_GetHasRef
(
nsIURL
*
iface
,
PRB
ool
*
aHasRef
)
static
nsresult
NSAPI
nsURI_GetHasRef
(
nsIURL
*
iface
,
cpp_b
ool
*
aHasRef
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
BOOL
b
;
...
...
@@ -2786,7 +2786,7 @@ static nsrefcnt NSAPI nsStandardURL_Release(nsIStandardURL *iface)
return
nsIURL_Release
(
&
This
->
nsIURL_iface
);
}
static
nsresult
NSAPI
nsStandardURL_GetMutable
(
nsIStandardURL
*
iface
,
PRB
ool
*
aMutable
)
static
nsresult
NSAPI
nsStandardURL_GetMutable
(
nsIStandardURL
*
iface
,
cpp_b
ool
*
aMutable
)
{
nsWineURI
*
This
=
impl_from_nsIStandardURL
(
iface
);
...
...
@@ -2796,7 +2796,7 @@ static nsresult NSAPI nsStandardURL_GetMutable(nsIStandardURL *iface, PRBool *aM
return
NS_OK
;
}
static
nsresult
NSAPI
nsStandardURL_SetMutable
(
nsIStandardURL
*
iface
,
PRB
ool
aMutable
)
static
nsresult
NSAPI
nsStandardURL_SetMutable
(
nsIStandardURL
*
iface
,
cpp_b
ool
aMutable
)
{
nsWineURI
*
This
=
impl_from_nsIStandardURL
(
iface
);
...
...
@@ -3077,7 +3077,7 @@ static nsresult NSAPI nsProtocolHandler_NewChannel(nsIProtocolHandler *iface,
}
static
nsresult
NSAPI
nsProtocolHandler_AllowPort
(
nsIProtocolHandler
*
iface
,
PRInt32
port
,
const
char
*
scheme
,
PRB
ool
*
_retval
)
PRInt32
port
,
const
char
*
scheme
,
cpp_b
ool
*
_retval
)
{
nsProtocolHandler
*
This
=
impl_from_nsIProtocolHandler
(
iface
);
...
...
@@ -3279,20 +3279,20 @@ static nsresult NSAPI nsIOService_NewChannel(nsIIOService *iface, const nsACStri
return
nsIIOService_NewChannel
(
nsio
,
aSpec
,
aOriginCharset
,
aBaseURI
,
_retval
);
}
static
nsresult
NSAPI
nsIOService_GetOffline
(
nsIIOService
*
iface
,
PRB
ool
*
aOffline
)
static
nsresult
NSAPI
nsIOService_GetOffline
(
nsIIOService
*
iface
,
cpp_b
ool
*
aOffline
)
{
TRACE
(
"(%p)
\n
"
,
aOffline
);
return
nsIIOService_GetOffline
(
nsio
,
aOffline
);
}
static
nsresult
NSAPI
nsIOService_SetOffline
(
nsIIOService
*
iface
,
PRB
ool
aOffline
)
static
nsresult
NSAPI
nsIOService_SetOffline
(
nsIIOService
*
iface
,
cpp_b
ool
aOffline
)
{
TRACE
(
"(%x)
\n
"
,
aOffline
);
return
nsIIOService_SetOffline
(
nsio
,
aOffline
);
}
static
nsresult
NSAPI
nsIOService_AllowPort
(
nsIIOService
*
iface
,
PRInt32
aPort
,
const
char
*
aScheme
,
PRB
ool
*
_retval
)
const
char
*
aScheme
,
cpp_b
ool
*
_retval
)
{
TRACE
(
"(%d %s %p)
\n
"
,
aPort
,
debugstr_a
(
aScheme
),
_retval
);
return
nsIIOService_AllowPort
(
nsio
,
aPort
,
debugstr_a
(
aScheme
),
_retval
);
...
...
@@ -3340,21 +3340,21 @@ static nsrefcnt NSAPI nsNetUtil_Release(nsINetUtil *iface)
}
static
nsresult
NSAPI
nsNetUtil_ParseContentType
(
nsINetUtil
*
iface
,
const
nsACString
*
aTypeHeader
,
nsACString
*
aCharset
,
PRB
ool
*
aHadCharset
,
nsACString
*
aContentType
)
nsACString
*
aCharset
,
cpp_b
ool
*
aHadCharset
,
nsACString
*
aContentType
)
{
TRACE
(
"(%s %p %p %p)
\n
"
,
debugstr_nsacstr
(
aTypeHeader
),
aCharset
,
aHadCharset
,
aContentType
);
return
nsINetUtil_ParseContentType
(
net_util
,
aTypeHeader
,
aCharset
,
aHadCharset
,
aContentType
);
}
static
nsresult
NSAPI
nsNetUtil_ProtocolHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint32
aFlags
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsNetUtil_ProtocolHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint32
aFlags
,
cpp_b
ool
*
_retval
)
{
TRACE
(
"()
\n
"
);
return
nsINetUtil_ProtocolHasFlags
(
net_util
,
aURI
,
aFlags
,
_retval
);
}
static
nsresult
NSAPI
nsNetUtil_URIChainHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint32
aFlags
,
PRB
ool
*
_retval
)
static
nsresult
NSAPI
nsNetUtil_URIChainHasFlags
(
nsINetUtil
*
iface
,
nsIURI
*
aURI
,
PRUint32
aFlags
,
cpp_b
ool
*
_retval
)
{
TRACE
(
"(%p %08x %p)
\n
"
,
aURI
,
aFlags
,
_retval
);
...
...
@@ -3405,7 +3405,7 @@ static nsresult NSAPI nsNetUtil_UnescapeString(nsINetUtil *iface, const nsACStri
}
static
nsresult
NSAPI
nsNetUtil_ExtractCharsetFromContentType
(
nsINetUtil
*
iface
,
const
nsACString
*
aTypeHeader
,
nsACString
*
aCharset
,
PRInt32
*
aCharsetStart
,
PRInt32
*
aCharsetEnd
,
PRB
ool
*
_retval
)
nsACString
*
aCharset
,
PRInt32
*
aCharsetStart
,
PRInt32
*
aCharsetEnd
,
cpp_b
ool
*
_retval
)
{
TRACE
(
"(%s %p %p %p %p)
\n
"
,
debugstr_nsacstr
(
aTypeHeader
),
aCharset
,
aCharsetStart
,
aCharsetEnd
,
_retval
);
...
...
@@ -3489,7 +3489,7 @@ static nsresult NSAPI nsIOServiceFactory_CreateInstance(nsIFactory *iface,
return
nsIIOService_QueryInterface
(
&
nsIOService
,
iid
,
result
);
}
static
nsresult
NSAPI
nsIOServiceFactory_LockFactory
(
nsIFactory
*
iface
,
PRB
ool
lock
)
static
nsresult
NSAPI
nsIOServiceFactory_LockFactory
(
nsIFactory
*
iface
,
cpp_b
ool
lock
)
{
WARN
(
"(%x)
\n
"
,
lock
);
return
NS_OK
;
...
...
@@ -3532,7 +3532,7 @@ static BOOL translate_url(HTMLDocumentObj *doc, nsWineURI *uri)
return
ret
;
}
nsresult
on_start_uri_open
(
NSContainer
*
nscontainer
,
nsIURI
*
uri
,
PRB
ool
*
_retval
)
nsresult
on_start_uri_open
(
NSContainer
*
nscontainer
,
nsIURI
*
uri
,
cpp_b
ool
*
_retval
)
{
nsWineURI
*
wine_uri
;
nsresult
nsres
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment