Defines |
| #define | AUTH_ALIGNMENT 16 |
| #define | ROUND_UP_AMOUNT(value, alignment) (((alignment) - (((value) % (alignment)))) % (alignment)) |
| #define | ROUND_UP(value, alignment) (((value) + ((alignment) - 1)) & ~((alignment)-1)) |
| #define | WRITE_HTTP_PAYLOAD_FIELD_UINT32(payload, type, value) |
| #define | WRITE_HTTP_PAYLOAD_FIELD_UUID(payload, type, uuid) |
| #define | WRITE_HTTP_PAYLOAD_FIELD_FLOW_CONTROL(payload, bytes_transmitted, flow_control_increment, uuid) |
| #define | READ_HTTP_PAYLOAD_FIELD_TYPE(data) *(ULONG *)(data) |
| #define | GET_HTTP_PAYLOAD_FIELD_DATA(data) ((data) + sizeof(ULONG)) |
Functions |
| | WINE_DEFAULT_DEBUG_CHANNEL (rpc) |
| static RPC_STATUS | I_RpcReAllocateBuffer (PRPC_MESSAGE pMsg) |
| DWORD | RPCRT4_GetHeaderSize (const RpcPktHdr *Header) |
| static int | packet_has_body (const RpcPktHdr *Header) |
| static int | packet_has_auth_verifier (const RpcPktHdr *Header) |
| static int | packet_does_auth_negotiation (const RpcPktHdr *Header) |
| static VOID | RPCRT4_BuildCommonHeader (RpcPktHdr *Header, unsigned char PacketType, ULONG DataRepresentation) |
| static RpcPktHdr * | RPCRT4_BuildRequestHeader (ULONG DataRepresentation, ULONG BufferLength, unsigned short ProcNum, UUID *ObjectUuid) |
| RpcPktHdr * | RPCRT4_BuildResponseHeader (ULONG DataRepresentation, ULONG BufferLength) |
| RpcPktHdr * | RPCRT4_BuildFaultHeader (ULONG DataRepresentation, RPC_STATUS Status) |
| RpcPktHdr * | RPCRT4_BuildBindHeader (ULONG DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, ULONG AssocGroupId, const RPC_SYNTAX_IDENTIFIER *AbstractId, const RPC_SYNTAX_IDENTIFIER *TransferId) |
| static RpcPktHdr * | RPCRT4_BuildAuthHeader (ULONG DataRepresentation) |
| RpcPktHdr * | RPCRT4_BuildBindNackHeader (ULONG DataRepresentation, unsigned char RpcVersion, unsigned char RpcVersionMinor, unsigned short RejectReason) |
| RpcPktHdr * | RPCRT4_BuildBindAckHeader (ULONG DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, ULONG AssocGroupId, LPCSTR ServerAddress, unsigned char ResultCount, const RpcResult *Results) |
| RpcPktHdr * | RPCRT4_BuildHttpHeader (ULONG DataRepresentation, unsigned short flags, unsigned short num_data_items, unsigned int payload_size) |
| RpcPktHdr * | RPCRT4_BuildHttpConnectHeader (unsigned short flags, int out_pipe, const UUID *connection_uuid, const UUID *pipe_uuid, const UUID *association_uuid) |
| RpcPktHdr * | RPCRT4_BuildHttpFlowControlHeader (BOOL server, ULONG bytes_transmitted, ULONG flow_control_increment, const UUID *pipe_uuid) |
| VOID | RPCRT4_FreeHeader (RpcPktHdr *Header) |
| NCA_STATUS | RPC2NCA_STATUS (RPC_STATUS status) |
| static RPC_STATUS | NCA2RPC_STATUS (NCA_STATUS status) |
| BOOL | RPCRT4_IsValidHttpPacket (RpcPktHdr *hdr, unsigned char *data, unsigned short data_len) |
| static unsigned char * | RPCRT4_NextHttpHeaderField (unsigned char *data) |
| RPC_STATUS | RPCRT4_ParseHttpPrepareHeader1 (RpcPktHdr *header, unsigned char *data, ULONG *field1) |
| RPC_STATUS | RPCRT4_ParseHttpPrepareHeader2 (RpcPktHdr *header, unsigned char *data, ULONG *field1, ULONG *bytes_until_next_packet, ULONG *field3) |
| RPC_STATUS | RPCRT4_ParseHttpFlowControlHeader (RpcPktHdr *header, unsigned char *data, BOOL server, ULONG *bytes_transmitted, ULONG *flow_control_increment, UUID *pipe_uuid) |
| RPC_STATUS | RPCRT4_default_secure_packet (RpcConnection *Connection, enum secure_packet_direction dir, RpcPktHdr *hdr, unsigned int hdr_size, unsigned char *stub_data, unsigned int stub_data_size, RpcAuthVerifier *auth_hdr, unsigned char *auth_value, unsigned int auth_value_size) |
| RPC_STATUS | RPCRT4_SendWithAuth (RpcConnection *Connection, RpcPktHdr *Header, void *Buffer, unsigned int BufferLength, const void *Auth, unsigned int AuthLength) |
| RPC_STATUS | RPCRT4_default_authorize (RpcConnection *conn, BOOL first_time, unsigned char *in_buffer, unsigned int in_size, unsigned char *out_buffer, unsigned int *out_size) |
| RPC_STATUS | RPCRT4_ClientConnectionAuth (RpcConnection *conn, BYTE *challenge, ULONG count) |
| RPC_STATUS | RPCRT4_ServerConnectionAuth (RpcConnection *conn, BOOL start, RpcAuthVerifier *auth_data_in, ULONG auth_length_in, unsigned char **auth_data_out, ULONG *auth_length_out) |
| BOOL | RPCRT4_default_is_authorized (RpcConnection *Connection) |
| RPC_STATUS | RPCRT4_default_impersonate_client (RpcConnection *conn) |
| RPC_STATUS | RPCRT4_default_revert_to_self (RpcConnection *conn) |
| RPC_STATUS | RPCRT4_default_inquire_auth_client (RpcConnection *conn, RPC_AUTHZ_HANDLE *privs, RPC_WSTR *server_princ_name, ULONG *authn_level, ULONG *authn_svc, ULONG *authz_svc, ULONG flags) |
| RPC_STATUS | RPCRT4_Send (RpcConnection *Connection, RpcPktHdr *Header, void *Buffer, unsigned int BufferLength) |
| RPC_STATUS | RPCRT4_ValidateCommonHeader (const RpcPktCommonHdr *hdr) |
| static RPC_STATUS | RPCRT4_default_receive_fragment (RpcConnection *Connection, RpcPktHdr **Header, void **Payload) |
| static RPC_STATUS | RPCRT4_receive_fragment (RpcConnection *Connection, RpcPktHdr **Header, void **Payload) |
| RPC_STATUS | RPCRT4_ReceiveWithAuth (RpcConnection *Connection, RpcPktHdr **Header, PRPC_MESSAGE pMsg, unsigned char **auth_data_out, ULONG *auth_length_out) |
| static RPC_STATUS | RPCRT4_Receive (RpcConnection *Connection, RpcPktHdr **Header, PRPC_MESSAGE pMsg) |
| RPC_STATUS WINAPI | I_RpcNegotiateTransferSyntax (PRPC_MESSAGE pMsg) |
| RPC_STATUS WINAPI | I_RpcGetBuffer (PRPC_MESSAGE pMsg) |
| RPC_STATUS WINAPI | I_RpcFreeBuffer (PRPC_MESSAGE pMsg) |
| static void CALLBACK | async_apc_notifier_proc (ULONG_PTR ulParam) |
| static DWORD WINAPI | async_notifier_proc (LPVOID p) |
| RPC_STATUS WINAPI | I_RpcSend (PRPC_MESSAGE pMsg) |
| static BOOL | is_hard_error (RPC_STATUS status) |
| RPC_STATUS WINAPI | I_RpcReceive (PRPC_MESSAGE pMsg) |
| RPC_STATUS WINAPI | I_RpcSendReceive (PRPC_MESSAGE pMsg) |
| RPC_STATUS WINAPI | I_RpcAsyncSetHandle (PRPC_MESSAGE pMsg, PRPC_ASYNC_STATE pAsync) |
| RPC_STATUS WINAPI | I_RpcAsyncAbortCall (PRPC_ASYNC_STATE pAsync, ULONG ExceptionCode) |