r3790: use a registration function that is called from dcerpc_*_init functions
commit3c436590ae95b58ad6d00e72d6fdd08a4d80f208
authorJelmer Vernooij <jelmer@samba.org>
Tue, 16 Nov 2004 21:07:08 +0000 (16 21:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:53 +0000 (10 13:05 -0500)
tree9a24e2dbf8cd214d5b3df50dcec42b8490bded92
parent7bb3e3751b1193cd16e6ff8aa468b36c823c1cd5
r3790: use a registration function that is called from dcerpc_*_init functions
rather then a large table in librpc/gen_ndr/tables.c. This will allow us
to only link in only the required gen_ndr files (speeds up linking quite a
bit, makes binaries smaller).

Each gen_ndr_* file now has a init function that calls the init functions
of the interfaces it contains. I did it this way to keep pidl's code simple,
though it might hurt startup time a bit. I'd be happy to change it if
people like one function better.
14 files changed:
source/build/pidl/parser.pm
source/build/pidl/proxy.pm
source/build/pidl/tables.pl [deleted file]
source/librpc/config.mk
source/librpc/rpc/dcerpc.c
source/librpc/rpc/dcerpc.h
source/librpc/rpc/dcerpc_util.c
source/rpc_server/dcerpc_server.c
source/rpc_server/remote/dcesrv_remote.c
source/script/build_idl.sh
source/torture/dcom/simple.c
source/torture/rpc/mgmt.c
source/torture/rpc/scanner.c
source/utils/ndrdump.c