svn commit: samba r12494 - in branches/SAMBA_4_0/source: . auth
auth/gensec build/smb_build include lib lib/com lib/registry
lib/registry/common ntptr ntvfs rpc_server script smbd torture/com
jelmer at samba.org
jelmer at samba.org
Mon Dec 26 16:46:59 GMT 2005
Author: jelmer
Date: 2005-12-26 16:46:55 +0000 (Mon, 26 Dec 2005)
New Revision: 12494
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12494
Log:
Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:
init_module_fn static_init[] = STATIC_AUTH_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");
run_init_functions(static_init);
run_init_functions(shared_init);
talloc_free(shared_init);
I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
Modified:
branches/SAMBA_4_0/source/auth/auth.c
branches/SAMBA_4_0/source/auth/gensec/gensec.c
branches/SAMBA_4_0/source/build/smb_build/TODO
branches/SAMBA_4_0/source/build/smb_build/input.pm
branches/SAMBA_4_0/source/build/smb_build/makefile.pm
branches/SAMBA_4_0/source/build/smb_build/output.pm
branches/SAMBA_4_0/source/build/smb_build/smb_build_h.pm
branches/SAMBA_4_0/source/dynconfig.c
branches/SAMBA_4_0/source/include/dynconfig.h
branches/SAMBA_4_0/source/include/includes.h
branches/SAMBA_4_0/source/include/smb.h
branches/SAMBA_4_0/source/lib/com/config.mk
branches/SAMBA_4_0/source/lib/com/main.c
branches/SAMBA_4_0/source/lib/module.c
branches/SAMBA_4_0/source/lib/registry/common/reg_interface.c
branches/SAMBA_4_0/source/lib/registry/config.mk
branches/SAMBA_4_0/source/lib/util.c
branches/SAMBA_4_0/source/main.mk
branches/SAMBA_4_0/source/ntptr/config.mk
branches/SAMBA_4_0/source/ntptr/ntptr_base.c
branches/SAMBA_4_0/source/ntvfs/config.mk
branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
branches/SAMBA_4_0/source/script/mkproto.pl
branches/SAMBA_4_0/source/smbd/process_model.c
branches/SAMBA_4_0/source/smbd/process_model.mk
branches/SAMBA_4_0/source/smbd/server.c
branches/SAMBA_4_0/source/torture/com/simple.c
Changeset:
Sorry, the patch is too large (680 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12494
More information about the samba-cvs
mailing list