Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
/*
|
|
|
|
* RPC binding API
|
|
|
|
*
|
2008-10-18 19:20:44 +02:00
|
|
|
* Copyright 2001 Ove Kåven, TransGaming Technologies
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_RPC_BINDING_H
|
|
|
|
#define __WINE_RPC_BINDING_H
|
|
|
|
|
2007-12-30 17:44:54 +01:00
|
|
|
#include "rpcndr.h"
|
2006-05-15 16:04:25 +02:00
|
|
|
#include "security.h"
|
2006-06-07 21:12:34 +02:00
|
|
|
#include "wine/list.h"
|
2009-03-18 12:13:19 +01:00
|
|
|
#include "rpc_defs.h"
|
2002-12-02 22:17:04 +01:00
|
|
|
|
2006-05-18 04:40:42 +02:00
|
|
|
|
2009-12-13 22:35:47 +01:00
|
|
|
enum secure_packet_direction
|
|
|
|
{
|
|
|
|
SECURE_PACKET_SEND,
|
|
|
|
SECURE_PACKET_RECEIVE
|
|
|
|
};
|
|
|
|
|
2006-05-18 04:40:42 +02:00
|
|
|
typedef struct _RpcAuthInfo
|
|
|
|
{
|
|
|
|
LONG refs;
|
|
|
|
|
2007-03-26 19:16:34 +02:00
|
|
|
ULONG AuthnLevel;
|
|
|
|
ULONG AuthnSvc;
|
2006-05-18 04:40:42 +02:00
|
|
|
CredHandle cred;
|
|
|
|
TimeStamp exp;
|
2007-03-26 19:16:34 +02:00
|
|
|
ULONG cbMaxToken;
|
2007-06-25 15:27:17 +02:00
|
|
|
/* the auth identity pointer that the application passed us (freed by application) */
|
|
|
|
RPC_AUTH_IDENTITY_HANDLE *identity;
|
|
|
|
/* our copy of NT auth identity structure, if the authentication service
|
|
|
|
* takes an NT auth identity */
|
|
|
|
SEC_WINNT_AUTH_IDENTITY_W *nt_identity;
|
2008-01-23 17:32:54 +01:00
|
|
|
LPWSTR server_principal_name;
|
2006-05-18 04:40:42 +02:00
|
|
|
} RpcAuthInfo;
|
|
|
|
|
2007-01-19 13:59:35 +01:00
|
|
|
typedef struct _RpcQualityOfService
|
|
|
|
{
|
|
|
|
LONG refs;
|
|
|
|
|
|
|
|
RPC_SECURITY_QOS_V2_W *qos;
|
|
|
|
} RpcQualityOfService;
|
|
|
|
|
2006-10-16 17:47:39 +02:00
|
|
|
struct connection_ops;
|
2006-04-20 14:00:28 +02:00
|
|
|
|
2003-02-19 04:44:35 +01:00
|
|
|
typedef struct _RpcConnection
|
|
|
|
{
|
2012-02-14 16:19:32 +01:00
|
|
|
LONG ref;
|
2003-02-19 04:44:35 +01:00
|
|
|
BOOL server;
|
2017-05-31 17:30:40 +02:00
|
|
|
HANDLE wait_release;
|
2003-02-19 04:44:35 +01:00
|
|
|
LPSTR NetworkAddr;
|
|
|
|
LPSTR Endpoint;
|
2007-01-25 11:23:11 +01:00
|
|
|
LPWSTR NetworkOptions;
|
2006-10-16 17:47:39 +02:00
|
|
|
const struct connection_ops *ops;
|
2004-04-27 01:33:39 +02:00
|
|
|
USHORT MaxTransmissionSize;
|
2006-05-15 16:04:25 +02:00
|
|
|
|
|
|
|
/* authentication */
|
|
|
|
CtxtHandle ctx;
|
|
|
|
TimeStamp exp;
|
|
|
|
ULONG attr;
|
2006-05-18 04:40:42 +02:00
|
|
|
RpcAuthInfo *AuthInfo;
|
2009-08-18 20:15:01 +02:00
|
|
|
ULONG auth_context_id;
|
2007-03-26 19:19:33 +02:00
|
|
|
ULONG encryption_auth_len;
|
|
|
|
ULONG signature_auth_len;
|
2007-01-19 13:59:35 +01:00
|
|
|
RpcQualityOfService *QOS;
|
2013-08-28 13:30:03 +02:00
|
|
|
LPWSTR CookieAuth;
|
2006-06-07 21:12:34 +02:00
|
|
|
|
|
|
|
/* client-only */
|
|
|
|
struct list conn_pool_entry;
|
2007-06-25 15:26:23 +02:00
|
|
|
ULONG assoc_group_id; /* association group returned during binding */
|
2008-01-21 11:31:40 +01:00
|
|
|
RPC_ASYNC_STATE *async_state;
|
2009-03-18 12:13:19 +01:00
|
|
|
struct _RpcAssoc *assoc; /* association this connection is part of */
|
2007-12-16 13:07:30 +01:00
|
|
|
|
|
|
|
/* server-only */
|
|
|
|
/* The active interface bound to server. */
|
|
|
|
RPC_SYNTAX_IDENTIFIER ActiveInterface;
|
|
|
|
USHORT NextCallId;
|
2017-05-16 17:48:01 +02:00
|
|
|
struct list protseq_entry;
|
2017-05-23 17:39:30 +02:00
|
|
|
struct _RpcServerProtseq *protseq;
|
2007-12-16 13:07:30 +01:00
|
|
|
struct _RpcBinding *server_binding;
|
2003-02-19 04:44:35 +01:00
|
|
|
} RpcConnection;
|
|
|
|
|
2006-10-16 17:47:39 +02:00
|
|
|
struct connection_ops {
|
2006-06-01 21:25:06 +02:00
|
|
|
const char *name;
|
|
|
|
unsigned char epm_protocols[2]; /* only floors 3 and 4. see http://www.opengroup.org/onlinepubs/9629399/apdxl.htm */
|
2006-04-21 08:40:06 +02:00
|
|
|
RpcConnection *(*alloc)(void);
|
2006-11-08 21:45:19 +01:00
|
|
|
RPC_STATUS (*open_connection_client)(RpcConnection *conn);
|
2006-04-21 08:39:27 +02:00
|
|
|
RPC_STATUS (*handoff)(RpcConnection *old_conn, RpcConnection *new_conn);
|
2006-04-20 14:00:28 +02:00
|
|
|
int (*read)(RpcConnection *conn, void *buffer, unsigned int len);
|
|
|
|
int (*write)(RpcConnection *conn, const void *buffer, unsigned int len);
|
|
|
|
int (*close)(RpcConnection *conn);
|
2017-05-24 13:52:07 +02:00
|
|
|
void (*close_read)(RpcConnection *conn);
|
2007-11-12 21:10:19 +01:00
|
|
|
void (*cancel_call)(RpcConnection *conn);
|
2015-10-27 19:28:28 +01:00
|
|
|
RPC_STATUS (*is_server_listening)(const char *endpoint);
|
2008-01-21 11:31:40 +01:00
|
|
|
int (*wait_for_incoming_data)(RpcConnection *conn);
|
2006-06-01 21:25:06 +02:00
|
|
|
size_t (*get_top_of_tower)(unsigned char *tower_data, const char *networkaddr, const char *endpoint);
|
|
|
|
RPC_STATUS (*parse_top_of_tower)(const unsigned char *tower_data, size_t tower_size, char **networkaddr, char **endpoint);
|
2009-03-18 12:13:19 +01:00
|
|
|
RPC_STATUS (*receive_fragment)(RpcConnection *conn, RpcPktHdr **Header, void **Payload);
|
2009-12-13 22:35:47 +01:00
|
|
|
BOOL (*is_authorized)(RpcConnection *conn);
|
|
|
|
RPC_STATUS (*authorize)(RpcConnection *conn, BOOL first_time, unsigned char *in_buffer, unsigned int in_len, unsigned char *out_buffer, unsigned int *out_len);
|
|
|
|
RPC_STATUS (*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);
|
2009-12-13 22:36:01 +01:00
|
|
|
RPC_STATUS (*impersonate_client)(RpcConnection *conn);
|
|
|
|
RPC_STATUS (*revert_to_self)(RpcConnection *conn);
|
2009-12-13 22:36:05 +01:00
|
|
|
RPC_STATUS (*inquire_auth_client)(RpcConnection *, RPC_AUTHZ_HANDLE *, RPC_WSTR *, ULONG *, ULONG *, ULONG *, ULONG);
|
2006-04-20 14:00:28 +02:00
|
|
|
};
|
|
|
|
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
/* don't know what MS's structure looks like */
|
|
|
|
typedef struct _RpcBinding
|
|
|
|
{
|
2005-07-13 13:59:15 +02:00
|
|
|
LONG refs;
|
2003-02-19 04:44:35 +01:00
|
|
|
struct _RpcBinding* Next;
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
BOOL server;
|
|
|
|
UUID ObjectUuid;
|
|
|
|
LPSTR Protseq;
|
|
|
|
LPSTR NetworkAddr;
|
|
|
|
LPSTR Endpoint;
|
2007-01-25 11:23:11 +01:00
|
|
|
LPWSTR NetworkOptions;
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
RPC_BLOCKING_FN BlockingFn;
|
|
|
|
ULONG ServerTid;
|
2003-02-19 04:44:35 +01:00
|
|
|
RpcConnection* FromConn;
|
2007-12-16 13:11:49 +01:00
|
|
|
struct _RpcAssoc *Assoc;
|
2006-05-15 16:04:25 +02:00
|
|
|
|
|
|
|
/* authentication */
|
2006-05-18 04:40:42 +02:00
|
|
|
RpcAuthInfo *AuthInfo;
|
2007-01-19 13:59:35 +01:00
|
|
|
RpcQualityOfService *QOS;
|
2013-08-28 13:30:03 +02:00
|
|
|
LPWSTR CookieAuth;
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
} RpcBinding;
|
|
|
|
|
2011-04-21 11:33:26 +02:00
|
|
|
LPSTR RPCRT4_strndupA(LPCSTR src, INT len) DECLSPEC_HIDDEN;
|
|
|
|
LPWSTR RPCRT4_strndupW(LPCWSTR src, INT len) DECLSPEC_HIDDEN;
|
|
|
|
LPSTR RPCRT4_strdupWtoA(LPCWSTR src) DECLSPEC_HIDDEN;
|
|
|
|
LPWSTR RPCRT4_strdupAtoW(LPCSTR src) DECLSPEC_HIDDEN;
|
|
|
|
void RPCRT4_strfree(LPSTR src) DECLSPEC_HIDDEN;
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
|
|
|
|
#define RPCRT4_strdupA(x) RPCRT4_strndupA((x),-1)
|
|
|
|
#define RPCRT4_strdupW(x) RPCRT4_strndupW((x),-1)
|
|
|
|
|
2011-04-21 11:33:26 +02:00
|
|
|
RPC_STATUS RpcAuthInfo_Create(ULONG AuthnLevel, ULONG AuthnSvc, CredHandle cred, TimeStamp exp, ULONG cbMaxToken, RPC_AUTH_IDENTITY_HANDLE identity, RpcAuthInfo **ret) DECLSPEC_HIDDEN;
|
|
|
|
ULONG RpcAuthInfo_AddRef(RpcAuthInfo *AuthInfo) DECLSPEC_HIDDEN;
|
|
|
|
ULONG RpcAuthInfo_Release(RpcAuthInfo *AuthInfo) DECLSPEC_HIDDEN;
|
|
|
|
BOOL RpcAuthInfo_IsEqual(const RpcAuthInfo *AuthInfo1, const RpcAuthInfo *AuthInfo2) DECLSPEC_HIDDEN;
|
|
|
|
ULONG RpcQualityOfService_AddRef(RpcQualityOfService *qos) DECLSPEC_HIDDEN;
|
|
|
|
ULONG RpcQualityOfService_Release(RpcQualityOfService *qos) DECLSPEC_HIDDEN;
|
|
|
|
BOOL RpcQualityOfService_IsEqual(const RpcQualityOfService *qos1, const RpcQualityOfService *qos2) DECLSPEC_HIDDEN;
|
|
|
|
|
2013-08-28 13:30:03 +02:00
|
|
|
RPC_STATUS RPCRT4_CreateConnection(RpcConnection** Connection, BOOL server, LPCSTR Protseq,
|
|
|
|
LPCSTR NetworkAddr, LPCSTR Endpoint, LPCWSTR NetworkOptions, RpcAuthInfo* AuthInfo,
|
|
|
|
RpcQualityOfService *QOS, LPCWSTR CookieAuth) DECLSPEC_HIDDEN;
|
2012-02-14 16:19:32 +01:00
|
|
|
RpcConnection *RPCRT4_GrabConnection( RpcConnection *conn ) DECLSPEC_HIDDEN;
|
2017-06-08 14:16:56 +02:00
|
|
|
void RPCRT4_ReleaseConnection(RpcConnection* Connection) DECLSPEC_HIDDEN;
|
2011-04-21 11:33:26 +02:00
|
|
|
RPC_STATUS RPCRT4_OpenClientConnection(RpcConnection* Connection) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RPCRT4_CloseConnection(RpcConnection* Connection) DECLSPEC_HIDDEN;
|
2015-10-27 19:28:28 +01:00
|
|
|
RPC_STATUS RPCRT4_IsServerListening(const char *protseq, const char *endpoint) DECLSPEC_HIDDEN;
|
2011-04-21 11:33:26 +02:00
|
|
|
|
|
|
|
RPC_STATUS RPCRT4_ResolveBinding(RpcBinding* Binding, LPCSTR Endpoint) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RPCRT4_SetBindingObject(RpcBinding* Binding, const UUID* ObjectUuid) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RPCRT4_MakeBinding(RpcBinding** Binding, RpcConnection* Connection) DECLSPEC_HIDDEN;
|
|
|
|
void RPCRT4_AddRefBinding(RpcBinding* Binding) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RPCRT4_ReleaseBinding(RpcBinding* Binding) DECLSPEC_HIDDEN;
|
2007-08-17 23:10:58 +02:00
|
|
|
RPC_STATUS RPCRT4_OpenBinding(RpcBinding* Binding, RpcConnection** Connection,
|
2011-04-21 11:33:26 +02:00
|
|
|
const RPC_SYNTAX_IDENTIFIER *TransferSyntax, const RPC_SYNTAX_IDENTIFIER *InterfaceId) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RPCRT4_CloseBinding(RpcBinding* Binding, RpcConnection* Connection) DECLSPEC_HIDDEN;
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
|
2017-05-31 17:30:40 +02:00
|
|
|
void rpcrt4_conn_release_and_wait(RpcConnection *connection) DECLSPEC_HIDDEN;
|
|
|
|
|
2007-08-17 23:10:58 +02:00
|
|
|
static inline const char *rpcrt4_conn_get_name(const RpcConnection *Connection)
|
2006-04-20 14:00:28 +02:00
|
|
|
{
|
|
|
|
return Connection->ops->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline int rpcrt4_conn_read(RpcConnection *Connection,
|
|
|
|
void *buffer, unsigned int len)
|
|
|
|
{
|
|
|
|
return Connection->ops->read(Connection, buffer, len);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline int rpcrt4_conn_write(RpcConnection *Connection,
|
|
|
|
const void *buffer, unsigned int len)
|
|
|
|
{
|
|
|
|
return Connection->ops->write(Connection, buffer, len);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline int rpcrt4_conn_close(RpcConnection *Connection)
|
|
|
|
{
|
|
|
|
return Connection->ops->close(Connection);
|
|
|
|
}
|
|
|
|
|
2017-05-24 13:52:07 +02:00
|
|
|
static inline void rpcrt4_conn_close_read(RpcConnection *connection)
|
|
|
|
{
|
|
|
|
connection->ops->close_read(connection);
|
|
|
|
}
|
|
|
|
|
2007-11-12 21:10:19 +01:00
|
|
|
static inline void rpcrt4_conn_cancel_call(RpcConnection *Connection)
|
|
|
|
{
|
|
|
|
Connection->ops->cancel_call(Connection);
|
|
|
|
}
|
|
|
|
|
2006-04-21 08:39:27 +02:00
|
|
|
static inline RPC_STATUS rpcrt4_conn_handoff(RpcConnection *old_conn, RpcConnection *new_conn)
|
|
|
|
{
|
|
|
|
return old_conn->ops->handoff(old_conn, new_conn);
|
|
|
|
}
|
|
|
|
|
2009-12-13 22:35:47 +01:00
|
|
|
static inline BOOL rpcrt4_conn_is_authorized(RpcConnection *Connection)
|
|
|
|
{
|
|
|
|
return Connection->ops->is_authorized(Connection);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline RPC_STATUS rpcrt4_conn_authorize(
|
|
|
|
RpcConnection *conn, BOOL first_time, unsigned char *in_buffer,
|
|
|
|
unsigned int in_len, unsigned char *out_buffer, unsigned int *out_len)
|
|
|
|
{
|
|
|
|
return conn->ops->authorize(conn, first_time, in_buffer, in_len, out_buffer, out_len);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline RPC_STATUS rpcrt4_conn_secure_packet(
|
|
|
|
RpcConnection *conn, 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)
|
|
|
|
{
|
|
|
|
return conn->ops->secure_packet(conn, dir, hdr, hdr_size, stub_data, stub_data_size, auth_hdr, auth_value, auth_value_size);
|
|
|
|
}
|
|
|
|
|
2009-12-13 22:36:01 +01:00
|
|
|
static inline RPC_STATUS rpcrt4_conn_impersonate_client(
|
|
|
|
RpcConnection *conn)
|
|
|
|
{
|
|
|
|
return conn->ops->impersonate_client(conn);
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline RPC_STATUS rpcrt4_conn_revert_to_self(
|
|
|
|
RpcConnection *conn)
|
|
|
|
{
|
|
|
|
return conn->ops->revert_to_self(conn);
|
|
|
|
}
|
|
|
|
|
2009-12-13 22:36:05 +01:00
|
|
|
static inline RPC_STATUS rpcrt4_conn_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)
|
|
|
|
{
|
|
|
|
return conn->ops->inquire_auth_client(conn, privs, server_princ_name, authn_level, authn_svc, authz_svc, flags);
|
|
|
|
}
|
|
|
|
|
2006-06-01 21:25:06 +02:00
|
|
|
/* floors 3 and up */
|
2011-04-21 11:33:26 +02:00
|
|
|
RPC_STATUS RpcTransport_GetTopOfTower(unsigned char *tower_data, size_t *tower_size, const char *protseq, const char *networkaddr, const char *endpoint) DECLSPEC_HIDDEN;
|
|
|
|
RPC_STATUS RpcTransport_ParseTopOfTower(const unsigned char *tower_data, size_t tower_size, char **protseq, char **networkaddr, char **endpoint) DECLSPEC_HIDDEN;
|
|
|
|
|
|
|
|
void RPCRT4_SetThreadCurrentConnection(RpcConnection *Connection) DECLSPEC_HIDDEN;
|
|
|
|
void RPCRT4_SetThreadCurrentCallHandle(RpcBinding *Binding) DECLSPEC_HIDDEN;
|
|
|
|
RpcBinding *RPCRT4_GetThreadCurrentCallHandle(void) DECLSPEC_HIDDEN;
|
|
|
|
void RPCRT4_PushThreadContextHandle(NDR_SCONTEXT SContext) DECLSPEC_HIDDEN;
|
|
|
|
void RPCRT4_RemoveThreadContextHandle(NDR_SCONTEXT SContext) DECLSPEC_HIDDEN;
|
|
|
|
NDR_SCONTEXT RPCRT4_PopThreadContextHandle(void) DECLSPEC_HIDDEN;
|
2007-11-12 21:10:19 +01:00
|
|
|
|
Implemented RpcBindingInqObject, RpcBindingSetObject,
RpcBindingVectorFree, RpcBindingToStringBindingA/W,
RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W,
I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree,
RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk.
2002-10-07 23:49:49 +02:00
|
|
|
#endif
|