1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

rpcrt4: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-09-27 14:21:39 +02:00 committed by Alexandre Julliard
parent 6d13dd697c
commit c91f39055e

View file

@ -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)
{