Commit c91f3905 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

rpcrt4: Use BOOL type where appropriate.

parent 6d13dd69
......@@ -76,20 +76,20 @@ DWORD RPCRT4_GetHeaderSize(const RpcPktHdr *Header)
return ret;
}
static int packet_has_body(const RpcPktHdr *Header)
static BOOL packet_has_body(const RpcPktHdr *Header)
{
return (Header->common.ptype == PKT_FAULT) ||
(Header->common.ptype == PKT_REQUEST) ||
(Header->common.ptype == PKT_RESPONSE);
}
static int packet_has_auth_verifier(const RpcPktHdr *Header)
static BOOL packet_has_auth_verifier(const RpcPktHdr *Header)
{
return !(Header->common.ptype == PKT_BIND_NACK) &&
!(Header->common.ptype == PKT_SHUTDOWN);
}
static int packet_does_auth_negotiation(const RpcPktHdr *Header)
static BOOL packet_does_auth_negotiation(const RpcPktHdr *Header)
{
switch (Header->common.ptype)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment