s3:rpc_server: allow building RPC services as shared modules
authorRalph Boehme <slow@samba.org>
Sat, 24 Oct 2015 08:50:43 +0000 (10:50 +0200)
committerRalph Boehme <slow@samba.org>
Sun, 21 Feb 2016 18:21:17 +0000 (19:21 +0100)
commit593abe5f6bf3eefba35218214efb31907fa11bd7
treece1fcbe55de10e9c502e81b8357ce46dc0ed9688
parent4164111f55a8104c8e9690dee0d824ac24d28089
s3:rpc_server: allow building RPC services as shared modules

This is the general RPC subsystem change, existing modules must be
tweaked to support being loaded as a module.

The next commit shows how to do this for the Spotlight RPC service.

The general syntax is: --with-shared-modules=rpc_NAME_module

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/rpc_modules.c [new file with mode: 0644]
source3/rpc_server/rpc_modules.h [new file with mode: 0644]
source3/rpc_server/rpc_service_setup.c
source3/rpc_server/rpc_service_setup.h
source3/rpc_server/wscript_build
source3/wscript