FreeRDP
ndr.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <winpr/ndr.h>
#include "ndr_array.h"
#include "ndr_context.h"
#include "ndr_pointer.h"
#include "ndr_simple.h"
#include "ndr_string.h"
#include "ndr_structure.h"
#include "ndr_union.h"
#include "ndr_private.h"
#include "../log.h"

Macros

#define TAG   WINPR_TAG("rpc")
 

Functions

static void NdrPrintParamAttributes (PARAM_ATTRIBUTES attributes)
 
static void NdrProcessParam (PMIDL_STUB_MESSAGE pStubMsg, NDR_PHASE phase, unsigned char *pMemory, const NDR_PARAM *param)
 
static void NdrProcessParams (PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, NDR_PHASE phase, void **fpuArgs, unsigned short numberParams)
 
static void NdrClientInitializeNew (PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum)
 
static void NdrPrintOptFlags (INTERPRETER_OPT_FLAGS optFlags)
 
static void NdrPrintExtFlags (INTERPRETER_OPT_FLAGS2 extFlags)
 
static CLIENT_CALL_RETURN NdrClientCall (PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, void **stackTop, void **fpuStack)
 
CLIENT_CALL_RETURN NdrClientCall2 (PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat,...)
 

Macro Definition Documentation

◆ TAG

#define TAG   WINPR_TAG("rpc")

WinPR: Windows Portable Runtime Network Data Representation (NDR)

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ NdrClientCall()

static CLIENT_CALL_RETURN NdrClientCall ( PMIDL_STUB_DESC  pStubDescriptor,
PFORMAT_STRING  pFormat,
void **  stackTop,
void **  fpuStack 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NdrClientCall2()

CLIENT_CALL_RETURN NdrClientCall2 ( PMIDL_STUB_DESC  pStubDescriptor,
PFORMAT_STRING  pFormat,
  ... 
)
Here is the call graph for this function:

◆ NdrClientInitializeNew()

static void NdrClientInitializeNew ( PRPC_MESSAGE  pRpcMessage,
PMIDL_STUB_MESSAGE  pStubMsg,
PMIDL_STUB_DESC  pStubDesc,
unsigned int  ProcNum 
)
static
Here is the caller graph for this function:

◆ NdrPrintExtFlags()

static void NdrPrintExtFlags ( INTERPRETER_OPT_FLAGS2  extFlags)
static
Here is the caller graph for this function:

◆ NdrPrintOptFlags()

static void NdrPrintOptFlags ( INTERPRETER_OPT_FLAGS  optFlags)
static
Here is the caller graph for this function:

◆ NdrPrintParamAttributes()

static void NdrPrintParamAttributes ( PARAM_ATTRIBUTES  attributes)
static

MSRPC NDR Types Technical Overview: http://dvlabs.tippingpoint.com/blog/2007/11/24/msrpc-ndr-types/

Here is the caller graph for this function:

◆ NdrProcessParam()

static void NdrProcessParam ( PMIDL_STUB_MESSAGE  pStubMsg,
NDR_PHASE  phase,
unsigned char *  pMemory,
const NDR_PARAM param 
)
static
Here is the caller graph for this function:

◆ NdrProcessParams()

static void NdrProcessParams ( PMIDL_STUB_MESSAGE  pStubMsg,
PFORMAT_STRING  pFormat,
NDR_PHASE  phase,
void **  fpuArgs,
unsigned short  numberParams 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: