ReactOS
0.4.15-dev-4853-g3a72a52
|
#include "ntstatus.h"
#include "ws2tcpip.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winerror.h"
#include "wininet.h"
#include "wine/winternl.h"
#include "winioctl.h"
#include "rpc.h"
#include "rpcndr.h"
#include "wine/debug.h"
#include "rpc_binding.h"
#include "rpc_assoc.h"
#include "rpc_message.h"
#include "rpc_server.h"
#include "epm_towers.h"
Go to the source code of this file.
Classes | |
struct | _RpcConnection_np |
struct | _RpcServerProtseq_np |
struct | _RpcConnection_tcp |
struct | _RpcServerProtseq_sock |
struct | _RpcHttpAsyncData |
struct | authinfo |
struct | _RpcConnection_http |
struct | _HttpTimerThreadData |
Macros | |
#define | WIN32_NO_STATUS |
#define | DEFAULT_NCACN_HTTP_TIMEOUT (60 * 1000) |
#define | HTTP_IDLE_TIME 60000 |
Typedefs | |
typedef struct _RpcConnection_np | RpcConnection_np |
typedef struct _RpcServerProtseq_np | RpcServerProtseq_np |
typedef struct _RpcConnection_tcp | RpcConnection_tcp |
typedef struct _RpcServerProtseq_sock | RpcServerProtseq_sock |
typedef struct _RpcHttpAsyncData | RpcHttpAsyncData |
typedef struct _RpcConnection_http | RpcConnection_http |
typedef struct _HttpTimerThreadData | HttpTimerThreadData |
Variables | |
static const WCHAR | basicW [] = {'B','a','s','i','c',0} |
static const WCHAR | ntlmW [] = {'N','T','L','M',0} |
static const WCHAR | passportW [] = {'P','a','s','s','p','o','r','t',0} |
static const WCHAR | digestW [] = {'D','i','g','e','s','t',0} |
static const WCHAR | negotiateW [] = {'N','e','g','o','t','i','a','t','e',0} |
struct { | |
const WCHAR * str | |
unsigned int len | |
DWORD scheme | |
} | auth_schemes [] |
static const struct connection_ops | conn_protseq_list [] |
static const struct protseq_ops | protseq_list [] |
#define DEFAULT_NCACN_HTTP_TIMEOUT (60 * 1000) |
Definition at line 57 of file rpc_transport.c.
#define HTTP_IDLE_TIME 60000 |
Definition at line 1963 of file rpc_transport.c.
#define WIN32_NO_STATUS |
Definition at line 27 of file rpc_transport.c.
typedef struct _RpcConnection_np RpcConnection_np |
typedef struct _RpcHttpAsyncData RpcHttpAsyncData |
Definition at line 2673 of file rpc_transport.c.
Referenced by do_authorization().
Definition at line 2725 of file rpc_transport.c.
Referenced by do_authorization(), and get_authvalue().
|
static |
Definition at line 2957 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
Definition at line 2611 of file rpc_transport.c.
Referenced by do_authorization().
Definition at line 2691 of file rpc_transport.c.
Referenced by authorize_request(), do_authorization(), and request_destroy().
|
static |
Definition at line 2748 of file rpc_transport.c.
Referenced by authorize_request().
|
static |
Definition at line 2942 of file rpc_transport.c.
Referenced by authorize_request(), and rpcrt4_ncacn_http_open().
Definition at line 2561 of file rpc_transport.c.
Referenced by insert_authorization_header().
Definition at line 2736 of file rpc_transport.c.
Referenced by do_authorization().
|
static |
Definition at line 97 of file rpc_transport.c.
Referenced by rpcrt4_conn_np_read(), rpcrt4_conn_np_write(), and rpcrt4_protseq_np_get_wait_array().
|
static |
Definition at line 2989 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2896 of file rpc_transport.c.
Referenced by authorize_request().
|
static |
Definition at line 2385 of file rpc_transport.c.
Referenced by rpcrt4_http_prepare_in_pipe(), and rpcrt4_http_prepare_out_pipe().
|
static |
Definition at line 637 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_is_server_listening(), and rpcrt4_ncalrpc_np_is_server_listening().
|
static |
Definition at line 3007 of file rpc_transport.c.
Referenced by open_connection(), rpcrt4_ncacn_http_open(), and set_auth_cookie().
Definition at line 503 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_is_server_listening(), rpcrt4_ncacn_np_open(), and rpcrt4_protseq_ncacn_np_open_endpoint().
Definition at line 439 of file rpc_transport.c.
Referenced by rpcrt4_ncalrpc_np_is_server_listening(), rpcrt4_ncalrpc_open(), and rpcrt4_protseq_ncalrpc_open_endpoint().
|
static |
Definition at line 1997 of file rpc_transport.c.
Referenced by authorize_request(), rpcrt4_http_async_read(), rpcrt4_http_prepare_in_pipe(), rpcrt4_http_prepare_out_pipe(), rpcrt4_ncacn_http_wait_for_incoming_data(), and send_echo_request().
|
static |
Definition at line 103 of file rpc_transport.c.
Referenced by rpcrt4_conn_np_read(), rpcrt4_conn_np_write(), and rpcrt4_protseq_np_wait_for_new_connection().
|
static |
|
static |
Definition at line 1982 of file rpc_transport.c.
Referenced by rpcrt4_http_internet_callback(), rpcrt4_ncacn_http_close(), and wait_async_request().
RPC_STATUS WINAPI RpcNetworkInqProtseqsA | ( | RPC_PROTSEQ_VECTORA ** | protseqs | ) |
Definition at line 3959 of file rpc_transport.c.
RPC_STATUS WINAPI RpcNetworkInqProtseqsW | ( | RPC_PROTSEQ_VECTORW ** | protseqs | ) |
Definition at line 3926 of file rpc_transport.c.
RPC_STATUS WINAPI RpcNetworkIsProtseqValidA | ( | RPC_CSTR | protseq | ) |
Definition at line 3874 of file rpc_transport.c.
Referenced by test_rpc_ncacn_ip_tcp().
RPC_STATUS WINAPI RpcNetworkIsProtseqValidW | ( | RPC_WSTR | protseq | ) |
Definition at line 3857 of file rpc_transport.c.
Referenced by RpcNetworkIsProtseqValidA().
RPC_STATUS WINAPI RpcProtseqVectorFreeA | ( | RPC_PROTSEQ_VECTORA ** | protseqs | ) |
Definition at line 3890 of file rpc_transport.c.
Referenced by RpcNetworkInqProtseqsA().
RPC_STATUS WINAPI RpcProtseqVectorFreeW | ( | RPC_PROTSEQ_VECTORW ** | protseqs | ) |
Definition at line 3908 of file rpc_transport.c.
Referenced by RpcNetworkInqProtseqsW().
RPC_STATUS RPCRT4_CloseConnection | ( | RpcConnection * | Connection | ) |
Definition at line 3606 of file rpc_transport.c.
Referenced by RPCRT4_ReleaseConnection(), and RPCRT4_server_thread().
|
static |
Definition at line 322 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_handoff(), rpcrt4_ncalrpc_handoff(), rpcrt4_protseq_ncacn_np_open_endpoint(), rpcrt4_protseq_ncalrpc_open_endpoint(), and rpcrt4_protseq_np_get_wait_array().
|
static |
Definition at line 91 of file rpc_transport.c.
|
static |
Definition at line 782 of file rpc_transport.c.
|
static |
Definition at line 747 of file rpc_transport.c.
|
static |
Definition at line 769 of file rpc_transport.c.
|
static |
Definition at line 607 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_handoff(), and rpcrt4_ncalrpc_handoff().
|
static |
Definition at line 906 of file rpc_transport.c.
|
static |
Definition at line 689 of file rpc_transport.c.
Referenced by rpcrt4_conn_np_wait_for_incoming_data().
|
static |
Definition at line 930 of file rpc_transport.c.
|
static |
Definition at line 788 of file rpc_transport.c.
|
static |
Definition at line 722 of file rpc_transport.c.
|
static |
Definition at line 372 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_open(), and rpcrt4_ncalrpc_open().
void rpcrt4_conn_release_and_wait | ( | RpcConnection * | connection | ) |
Definition at line 3682 of file rpc_transport.c.
Referenced by RPCRT4_server_thread().
|
static |
Definition at line 1431 of file rpc_transport.c.
|
static |
Definition at line 1781 of file rpc_transport.c.
|
static |
Definition at line 1761 of file rpc_transport.c.
|
static |
Definition at line 1775 of file rpc_transport.c.
|
static |
Definition at line 1675 of file rpc_transport.c.
|
static |
Definition at line 1790 of file rpc_transport.c.
|
static |
Definition at line 1708 of file rpc_transport.c.
|
static |
Definition at line 1796 of file rpc_transport.c.
|
static |
Definition at line 1737 of file rpc_transport.c.
RPC_STATUS RPCRT4_CreateConnection | ( | RpcConnection ** | Connection, |
BOOL | server, | ||
LPCSTR | Protseq, | ||
LPCSTR | NetworkAddr, | ||
LPCSTR | Endpoint, | ||
LPCWSTR | NetworkOptions, | ||
RpcAuthInfo * | AuthInfo, | ||
RpcQualityOfService * | QOS, | ||
LPCWSTR | CookieAuth | ||
) |
Definition at line 3618 of file rpc_transport.c.
Referenced by RpcAssoc_GetClientConnection(), rpcrt4_protseq_ncacn_ip_tcp_open_endpoint(), rpcrt4_protseq_ncacn_np_open_endpoint(), rpcrt4_protseq_ncalrpc_open_endpoint(), and rpcrt4_spawn_connection().
|
static |
Definition at line 3587 of file rpc_transport.c.
Referenced by RpcNetworkIsProtseqValidW(), RPCRT4_CreateConnection(), RPCRT4_IsServerListening(), and RpcTransport_GetTopOfTower().
const struct protseq_ops* rpcrt4_get_protseq_ops | ( | const char * | protseq | ) |
Definition at line 3578 of file rpc_transport.c.
Referenced by alloc_serverprotoseq().
RpcConnection* RPCRT4_GrabConnection | ( | RpcConnection * | connection | ) |
Definition at line 3698 of file rpc_transport.c.
Referenced by RPCRT4_io_thread(), and RPCRT4_server_thread().
|
static |
Definition at line 2324 of file rpc_transport.c.
Referenced by drain_content(), rpcrt4_http_prepare_out_pipe(), rpcrt4_http_read_http_packet(), rpcrt4_ncacn_http_read(), and send_echo_request().
|
static |
Definition at line 2163 of file rpc_transport.c.
Referenced by authorize_request(), rpcrt4_http_prepare_out_pipe(), rpcrt4_ncacn_http_open(), and send_echo_request().
|
static |
Definition at line 2138 of file rpc_transport.c.
Referenced by rpcrt4_http_internet_connect().
|
static |
Definition at line 2197 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
Definition at line 2093 of file rpc_transport.c.
Referenced by rpcrt4_http_timer_thread().
|
static |
Definition at line 2397 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2484 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2439 of file rpc_transport.c.
Referenced by rpcrt4_http_prepare_out_pipe().
Definition at line 2108 of file rpc_transport.c.
Referenced by rpcrt4_http_timer_thread().
Definition at line 2115 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 1220 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_get_top_of_tower(), and rpcrt4_ncacn_ip_tcp_get_top_of_tower().