On Fri, 4 Oct 2002, Greg Turner wrote:

> On Wednesday 02 October 2002 09:55 am, Ove Kaaven wrote:
> > On Wed, 2 Oct 2002, Greg Turner wrote:
> > > On Wednesday 02 October 2002 08:49 am, Jrgen Schmied wrote:
> > > > > Implementations of these and much more can be found in this patch
> > > > > submission, which was apparently never applied:
> > > > > http://www.winehq.com/hypermail/wine-patches/2002/06/0103.html
> 
> This is missing rpc_binding.h... I'm guessing this was in here:
> http://sourceforge.net/mailarchive/forum.php?thread_id=789058&forum_id=8836
> or nearby, but Sourceforge doesn't seem to provide any way to read the
> entire message.
> 
> Can anyone provide that?  In particular, I seem to need
> the RpcBinding struct definition.

OK, here you go.
#ifndef __WINE_RPC_BINDING_H
#define __WINE_RPC_BINDING_H

/* don't know what MS's structure looks like */
typedef struct _RpcBinding
{
  DWORD refs;
  struct _RpcBinding* Next; /* for rpc server */
  BOOL server;
  UUID ObjectUuid;
  LPSTR Protseq;
  LPSTR NetworkAddr;
  LPSTR Endpoint;
  RPC_BLOCKING_FN BlockingFn;
  ULONG ServerTid;
  HANDLE conn, thread;
  OVERLAPPED ovl;
} RpcBinding;

LPSTR RPCRT4_strdupAA(LPSTR src, INT len);
LPSTR RPCRT4_strdupAW(LPWSTR src, INT len);
LPWSTR RPCRT4_strdupWA(LPSTR src, INT len);
LPWSTR RPCRT4_strdupWW(LPWSTR src, INT len);
void RPCRT4_strfree(LPSTR src);

#define RPCRT4_strdup(x) RPCRT4_strdupAA(x,-1)
#define RPCRT4_strdupA(x) RPCRT4_strdupAA(x,-1)
#define RPCRT4_strdupW(x) RPCRT4_strdupAW(x,-1)

RPC_STATUS RPCRT4_CreateBindingA(RpcBinding** Binding, BOOL server, LPSTR Protseq);
RPC_STATUS RPCRT4_CreateBindingW(RpcBinding** Binding, BOOL server, LPWSTR Protseq);
RPC_STATUS RPCRT4_CompleteBindingA(RpcBinding* Binding, LPSTR NetworkAddr,  LPSTR Endpoint,  LPSTR NetworkOptions);
RPC_STATUS RPCRT4_CompleteBindingW(RpcBinding* Binding, LPWSTR NetworkAddr, LPWSTR Endpoint, LPWSTR NetworkOptions);
RPC_STATUS RPCRT4_ResolveBinding(RpcBinding* Binding, LPSTR Endpoint);
RPC_STATUS RPCRT4_SetBindingObject(RpcBinding* Binding, UUID* ObjectUuid);
RPC_STATUS RPCRT4_SpawnBinding(RpcBinding** Binding, RpcBinding* OldBinding);
RPC_STATUS RPCRT4_ExportBinding(RpcBinding** Binding, RpcBinding* OldBinding);
RPC_STATUS RPCRT4_DestroyBinding(RpcBinding* Binding);
RPC_STATUS RPCRT4_OpenBinding(RpcBinding* Binding);
RPC_STATUS RPCRT4_CloseBinding(RpcBinding* Binding);

#endif

Reply via email to