rpcrt4: Make pointers to RPCRT4_BuildBindHeader and RPCRT4_BuildBindAckHeader const.
This commit is contained in:
parent
680e35643d
commit
9787f12589
|
@ -178,8 +178,8 @@ RpcPktHdr *RPCRT4_BuildBindHeader(unsigned long DataRepresentation,
|
|||
unsigned short MaxTransmissionSize,
|
||||
unsigned short MaxReceiveSize,
|
||||
unsigned long AssocGroupId,
|
||||
RPC_SYNTAX_IDENTIFIER *AbstractId,
|
||||
RPC_SYNTAX_IDENTIFIER *TransferId)
|
||||
const RPC_SYNTAX_IDENTIFIER *AbstractId,
|
||||
const RPC_SYNTAX_IDENTIFIER *TransferId)
|
||||
{
|
||||
RpcPktHdr *header;
|
||||
|
||||
|
@ -240,10 +240,10 @@ RpcPktHdr *RPCRT4_BuildBindNackHeader(unsigned long DataRepresentation,
|
|||
RpcPktHdr *RPCRT4_BuildBindAckHeader(unsigned long DataRepresentation,
|
||||
unsigned short MaxTransmissionSize,
|
||||
unsigned short MaxReceiveSize,
|
||||
LPSTR ServerAddress,
|
||||
LPCSTR ServerAddress,
|
||||
unsigned long Result,
|
||||
unsigned long Reason,
|
||||
RPC_SYNTAX_IDENTIFIER *TransferId)
|
||||
const RPC_SYNTAX_IDENTIFIER *TransferId)
|
||||
{
|
||||
RpcPktHdr *header;
|
||||
unsigned long header_size;
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
#include "rpc_defs.h"
|
||||
|
||||
RpcPktHdr *RPCRT4_BuildFaultHeader(unsigned long DataRepresentation, RPC_STATUS Status);
|
||||
RpcPktHdr *RPCRT4_BuildBindHeader(unsigned long DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, unsigned long AssocGroupId, RPC_SYNTAX_IDENTIFIER *AbstractId, RPC_SYNTAX_IDENTIFIER *TransferId);
|
||||
RpcPktHdr *RPCRT4_BuildBindHeader(unsigned long DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, unsigned long AssocGroupId, const RPC_SYNTAX_IDENTIFIER *AbstractId, const RPC_SYNTAX_IDENTIFIER *TransferId);
|
||||
RpcPktHdr *RPCRT4_BuildBindNackHeader(unsigned long DataRepresentation, unsigned char RpcVersion, unsigned char RpcVersionMinor);
|
||||
RpcPktHdr *RPCRT4_BuildBindAckHeader(unsigned long DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, LPSTR ServerAddress, unsigned long Result, unsigned long Reason, RPC_SYNTAX_IDENTIFIER *TransferId);
|
||||
RpcPktHdr *RPCRT4_BuildBindAckHeader(unsigned long DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, LPCSTR ServerAddress, unsigned long Result, unsigned long Reason, const RPC_SYNTAX_IDENTIFIER *TransferId);
|
||||
VOID RPCRT4_FreeHeader(RpcPktHdr *Header);
|
||||
RPC_STATUS RPCRT4_Send(RpcConnection *Connection, RpcPktHdr *Header, void *Buffer, unsigned int BufferLength);
|
||||
RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header, PRPC_MESSAGE pMsg);
|
||||
|
|
Loading…
Reference in New Issue