ReactOS 0.4.16-dev-1020-gf135cab
|
#include <stdarg.h>
#include <assert.h>
#include "rpc.h"
#include "rpcndr.h"
#include "wine/winternl.h"
#include "wine/debug.h"
#include "rpc_binding.h"
#include "rpc_assoc.h"
#include "rpc_message.h"
Go to the source code of this file.
Classes | |
struct | _RpcContextHandle |
Macros | |
#define | ROUND_UP(value, alignment) (((value) + ((alignment) - 1)) & ~((alignment)-1)) |
Typedefs | |
typedef struct _RpcContextHandle | RpcContextHandle |
Variables | |
static CRITICAL_SECTION | assoc_list_cs = { &assoc_list_cs_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | assoc_list_cs_debug |
static struct list | client_assoc_list = LIST_INIT(client_assoc_list) |
static struct list | server_assoc_list = LIST_INIT(server_assoc_list) |
static LONG | last_assoc_group_id |
Definition at line 227 of file rpc_assoc.c.
typedef struct _RpcContextHandle RpcContextHandle |
Definition at line 89 of file rpc_assoc.c.
Referenced by RPCRT4_GetAssociation().
|
static |
Definition at line 64 of file rpc_assoc.c.
Referenced by RPCRT4_GetAssociation(), and RpcServerAssoc_GetAssociation().
|
static |
Definition at line 229 of file rpc_assoc.c.
Referenced by RpcAssoc_GetClientConnection().
Definition at line 447 of file rpc_assoc.c.
Referenced by RPCRT4_ReleaseConnection().
RPC_STATUS RpcAssoc_GetClientConnection | ( | RpcAssoc * | assoc, |
const RPC_SYNTAX_IDENTIFIER * | InterfaceId, | ||
const RPC_SYNTAX_IDENTIFIER * | TransferSyntax, | ||
RpcAuthInfo * | AuthInfo, | ||
RpcQualityOfService * | QOS, | ||
LPCWSTR | CookieAuth, | ||
RpcConnection ** | Connection, | ||
BOOL * | from_cache | ||
) |
Definition at line 390 of file rpc_assoc.c.
Referenced by RPCRT4_OpenBinding().
|
static |
Definition at line 364 of file rpc_assoc.c.
Referenced by RpcAssoc_GetClientConnection().
Definition at line 187 of file rpc_assoc.c.
Referenced by RpcBindingReset(), RPCRT4_ReleaseBinding(), and RPCRT4_ResolveBinding().
void RpcAssoc_ReleaseIdleConnection | ( | RpcAssoc * | assoc, |
RpcConnection * | Connection | ||
) |
Definition at line 437 of file rpc_assoc.c.
Referenced by RPCRT4_CloseBinding().
|
static |
Definition at line 547 of file rpc_assoc.c.
Referenced by RpcAssoc_Release(), and RpcServerAssoc_ReleaseContextHandle().
void RpcContextHandle_GetUuid | ( | NDR_SCONTEXT | SContext, |
UUID * | uuid | ||
) |
Definition at line 541 of file rpc_assoc.c.
Referenced by NDRSContextMarshall2().
BOOL RpcContextHandle_IsGuardCorrect | ( | NDR_SCONTEXT | SContext, |
void * | CtxGuard | ||
) |
Definition at line 481 of file rpc_assoc.c.
Referenced by NDRSContextMarshall2(), RpcServerAssoc_FindContextHandle(), and RpcServerAssoc_UpdateContextHandle().
RPC_STATUS RPCRT4_GetAssociation | ( | LPCSTR | Protseq, |
LPCSTR | NetworkAddr, | ||
LPCSTR | Endpoint, | ||
LPCWSTR | NetworkOptions, | ||
RpcAssoc ** | assoc_out | ||
) |
Definition at line 98 of file rpc_assoc.c.
Referenced by RPCRT4_CompleteBindingA(), RPCRT4_CompleteBindingW(), and RPCRT4_ResolveBinding().
RPC_STATUS RpcServerAssoc_AllocateContextHandle | ( | RpcAssoc * | assoc, |
void * | CtxGuard, | ||
NDR_SCONTEXT * | SContext | ||
) |
Definition at line 456 of file rpc_assoc.c.
Referenced by NDRSContextUnmarshall2().
RPC_STATUS RpcServerAssoc_FindContextHandle | ( | RpcAssoc * | assoc, |
const UUID * | uuid, | ||
void * | CtxGuard, | ||
ULONG | Flags, | ||
NDR_SCONTEXT * | SContext | ||
) |
Definition at line 487 of file rpc_assoc.c.
Referenced by NDRSContextUnmarshall2().
RPC_STATUS RpcServerAssoc_GetAssociation | ( | LPCSTR | Protseq, |
LPCSTR | NetworkAddr, | ||
LPCSTR | Endpoint, | ||
LPCWSTR | NetworkOptions, | ||
ULONG | assoc_gid, | ||
RpcAssoc ** | assoc_out | ||
) |
Definition at line 137 of file rpc_assoc.c.
Referenced by process_bind_packet_no_send().
unsigned int RpcServerAssoc_ReleaseContextHandle | ( | RpcAssoc * | assoc, |
NDR_SCONTEXT | SContext, | ||
BOOL | release_lock | ||
) |
Definition at line 563 of file rpc_assoc.c.
Referenced by NDRSContextMarshall2(), and process_request_packet().
RPC_STATUS RpcServerAssoc_UpdateContextHandle | ( | RpcAssoc * | assoc, |
NDR_SCONTEXT | SContext, | ||
void * | CtxGuard, | ||
NDR_RUNDOWN | rundown_routine | ||
) |
Definition at line 515 of file rpc_assoc.c.
Referenced by NDRSContextMarshall2().
WINE_DEFAULT_DEBUG_CHANNEL | ( | rpc | ) |
|
static |
Definition at line 37 of file rpc_assoc.c.
Referenced by RpcAssoc_Release(), RPCRT4_GetAssociation(), and RpcServerAssoc_GetAssociation().
|
static |
Definition at line 38 of file rpc_assoc.c.
Definition at line 46 of file rpc_assoc.c.
Referenced by RPCRT4_GetAssociation().
|
static |
Definition at line 49 of file rpc_assoc.c.
Referenced by RpcServerAssoc_GetAssociation().
Definition at line 47 of file rpc_assoc.c.
Referenced by RpcServerAssoc_GetAssociation().