ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

rpc_message.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winuser.h"
#include "rpc.h"
#include "rpcndr.h"
#include "rpcdcep.h"
#include "wine/debug.h"
#include "rpc_binding.h"
#include "rpc_defs.h"
#include "rpc_message.h"
#include "ncastatus.h"

Go to the source code of this file.

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 RpcPktHdrRPCRT4_BuildRequestHeader (ULONG DataRepresentation, ULONG BufferLength, unsigned short ProcNum, UUID *ObjectUuid)
RpcPktHdrRPCRT4_BuildResponseHeader (ULONG DataRepresentation, ULONG BufferLength)
RpcPktHdrRPCRT4_BuildFaultHeader (ULONG DataRepresentation, RPC_STATUS Status)
RpcPktHdrRPCRT4_BuildBindHeader (ULONG DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, ULONG AssocGroupId, const RPC_SYNTAX_IDENTIFIER *AbstractId, const RPC_SYNTAX_IDENTIFIER *TransferId)
static RpcPktHdrRPCRT4_BuildAuthHeader (ULONG DataRepresentation)
RpcPktHdrRPCRT4_BuildBindNackHeader (ULONG DataRepresentation, unsigned char RpcVersion, unsigned char RpcVersionMinor, unsigned short RejectReason)
RpcPktHdrRPCRT4_BuildBindAckHeader (ULONG DataRepresentation, unsigned short MaxTransmissionSize, unsigned short MaxReceiveSize, ULONG AssocGroupId, LPCSTR ServerAddress, unsigned char ResultCount, const RpcResult *Results)
RpcPktHdrRPCRT4_BuildHttpHeader (ULONG DataRepresentation, unsigned short flags, unsigned short num_data_items, unsigned int payload_size)
RpcPktHdrRPCRT4_BuildHttpConnectHeader (unsigned short flags, int out_pipe, const UUID *connection_uuid, const UUID *pipe_uuid, const UUID *association_uuid)
RpcPktHdrRPCRT4_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 charRPCRT4_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)

Generated on Sun May 27 2012 05:17:32 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.