ReactOS
0.4.15-dev-2100-g9e32854
|
#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 1723 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 2433 of file rpc_transport.c.
Referenced by do_authorization().
Definition at line 2485 of file rpc_transport.c.
Referenced by do_authorization(), and get_authvalue().
|
static |
Definition at line 2717 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
Definition at line 2371 of file rpc_transport.c.
Referenced by do_authorization().
Definition at line 2451 of file rpc_transport.c.
Referenced by authorize_request(), do_authorization(), and request_destroy().
|
static |
Definition at line 2508 of file rpc_transport.c.
Referenced by authorize_request().
|
static |
Definition at line 2702 of file rpc_transport.c.
Referenced by authorize_request(), and rpcrt4_ncacn_http_open().
Definition at line 2321 of file rpc_transport.c.
Referenced by insert_authorization_header().
Definition at line 2496 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 2749 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2656 of file rpc_transport.c.
Referenced by authorize_request().
|
static |
Definition at line 2145 of file rpc_transport.c.
Referenced by rpcrt4_http_prepare_in_pipe(), and rpcrt4_http_prepare_out_pipe().
|
static |
Definition at line 397 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_is_server_listening(), and rpcrt4_ncalrpc_np_is_server_listening().
|
static |
Definition at line 2767 of file rpc_transport.c.
Referenced by open_connection(), rpcrt4_ncacn_http_open(), and set_auth_cookie().
Definition at line 263 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 199 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 1757 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 1742 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 3719 of file rpc_transport.c.
RPC_STATUS WINAPI RpcNetworkInqProtseqsW | ( | RPC_PROTSEQ_VECTORW ** | protseqs | ) |
Definition at line 3686 of file rpc_transport.c.
RPC_STATUS WINAPI RpcNetworkIsProtseqValidA | ( | RPC_CSTR | protseq | ) |
Definition at line 3634 of file rpc_transport.c.
Referenced by test_rpc_ncacn_ip_tcp().
RPC_STATUS WINAPI RpcNetworkIsProtseqValidW | ( | RPC_WSTR | protseq | ) |
Definition at line 3617 of file rpc_transport.c.
Referenced by RpcNetworkIsProtseqValidA().
RPC_STATUS WINAPI RpcProtseqVectorFreeA | ( | RPC_PROTSEQ_VECTORA ** | protseqs | ) |
Definition at line 3650 of file rpc_transport.c.
Referenced by RpcNetworkInqProtseqsA().
RPC_STATUS WINAPI RpcProtseqVectorFreeW | ( | RPC_PROTSEQ_VECTORW ** | protseqs | ) |
Definition at line 3668 of file rpc_transport.c.
Referenced by RpcNetworkInqProtseqsW().
RPC_STATUS RPCRT4_CloseConnection | ( | RpcConnection * | Connection | ) |
Definition at line 3366 of file rpc_transport.c.
Referenced by RPCRT4_ReleaseConnection(), and RPCRT4_server_thread().
|
static |
Definition at line 110 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 542 of file rpc_transport.c.
|
static |
Definition at line 507 of file rpc_transport.c.
|
static |
Definition at line 529 of file rpc_transport.c.
|
static |
Definition at line 367 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_np_handoff(), and rpcrt4_ncalrpc_handoff().
|
static |
Definition at line 666 of file rpc_transport.c.
|
static |
Definition at line 449 of file rpc_transport.c.
Referenced by rpcrt4_conn_np_wait_for_incoming_data().
|
static |
Definition at line 690 of file rpc_transport.c.
|
static |
Definition at line 548 of file rpc_transport.c.
|
static |
Definition at line 482 of file rpc_transport.c.
|
static |
Definition at line 132 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 3442 of file rpc_transport.c.
Referenced by RPCRT4_server_thread().
|
static |
Definition at line 1191 of file rpc_transport.c.
|
static |
Definition at line 1541 of file rpc_transport.c.
|
static |
Definition at line 1521 of file rpc_transport.c.
|
static |
Definition at line 1535 of file rpc_transport.c.
|
static |
Definition at line 1435 of file rpc_transport.c.
|
static |
Definition at line 1550 of file rpc_transport.c.
|
static |
Definition at line 1468 of file rpc_transport.c.
|
static |
Definition at line 1556 of file rpc_transport.c.
|
static |
Definition at line 1497 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 3378 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 3347 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 3338 of file rpc_transport.c.
Referenced by alloc_serverprotoseq().
RpcConnection* RPCRT4_GrabConnection | ( | RpcConnection * | connection | ) |
Definition at line 3458 of file rpc_transport.c.
Referenced by RPCRT4_io_thread(), and RPCRT4_server_thread().
|
static |
Definition at line 2084 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 1923 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 1898 of file rpc_transport.c.
Referenced by rpcrt4_http_internet_connect().
|
static |
Definition at line 1957 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
Definition at line 1853 of file rpc_transport.c.
Referenced by rpcrt4_http_timer_thread().
|
static |
Definition at line 2157 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2244 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 2199 of file rpc_transport.c.
Referenced by rpcrt4_http_prepare_out_pipe().
Definition at line 1868 of file rpc_transport.c.
Referenced by rpcrt4_http_timer_thread().
Definition at line 1875 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_open().
|
static |
Definition at line 980 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_get_top_of_tower(), and rpcrt4_ncacn_ip_tcp_get_top_of_tower().
|
static |
Definition at line 1049 of file rpc_transport.c.
Referenced by rpcrt4_ncacn_http_parse_top_of_tower(), and rpcrt4_ncacn_ip_tcp_parse_top_of_tower().
RPC_STATUS RPCRT4_IsServerListening | ( | const char * | protseq, |