r3043: Use binding strings for specifying endpoints. The property for
authorJelmer Vernooij <jelmer@samba.org>
Mon, 18 Oct 2004 15:18:05 +0000 (15:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:01:53 +0000 (13:01 -0500)
commitf3da7c8b443a29b0c656c687a277384ae1353792
treedca9cac33df4b9d612d4652b7bee1e63d024d687
parent66565187724c9f42367b590c29ff9775cc7472b4
r3043: Use binding strings for specifying endpoints. The property for
specifying a endpoint is now also 'endpoint' instead of 'endpoints'. The
default endpoint (if none is specified) is still "ncacn_np:[\\pipe\\ifacename]",
where ifacename is the name of the interface.

Examples:

[
  uuid(60a15ec5-4de8-11d7-a637-005056a20182),
  endpoint("ncacn_np:[\\pipe\\rpcecho]", "ncacn_ip_tcp:")
]
interface rpcecho
{
void dummy();
}

dcerpc_binding is now converted to ep_description in the server, but I hope to
completely eliminate ep_description later on.

The eventual goal of all these changes is to make it easier to add
 transports as I'm going to add support for
 ncalrpc (local RPC over named pipes) and ncacn_unix_stream (Unix sockets).
17 files changed:
source/build/pidl/parser.pm
source/librpc/idl/drsuapi.idl
source/librpc/idl/echo.idl
source/librpc/idl/epmapper.idl
source/librpc/idl/lsa.idl
source/librpc/idl/lsads.idl
source/librpc/idl/netlogon.idl
source/librpc/idl/oxidresolver.idl
source/librpc/idl/samr.idl
source/librpc/idl/spoolss.idl
source/librpc/idl/w32time.idl
source/librpc/idl/winreg.idl
source/librpc/rpc/dcerpc_smb.c
source/librpc/rpc/dcerpc_util.c
source/ntvfs/ipc/vfs_ipc.c
source/rpc_server/dcerpc_server.c
source/rpc_server/epmapper/rpc_epmapper.c