r1486: commit the start of the generic server infastructure
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Jul 2004 21:04:56 +0000 (21:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:57:35 +0000 (12:57 -0500)
commitbbe5e00715ca4013ff0dbc345aa97adc6b5c2458
treed725664519df39047480c2a1706dd2f05b0103c1
parentfef597a76c0b0796ca834a31550cf279babe96fc
r1486: commit the start of the generic server infastructure

the idea is to have services as modules (smb, dcerpc, swat, ...)

the process_model don't know about the service it self anymore.

TODO:
- the smbsrv should use the smbsrv_send function
- the service subsystem init should be done like for other modules
- we need to have a generic socket subsystem, which handle stream, datagram,
  and virtuell other sockets( e.g. for the ntvfs_ipc module to connect to the dcerpc server
  , or for smb or dcerpc or whatever to connect to a server wide auth service)
- and other fixes...

NOTE: process model pthread seems to be broken( but also before this patch!)

metze
27 files changed:
source/auth/auth.c
source/include/includes.h
source/include/local.h
source/ntvfs/cifs/vfs_cifs.c
source/param/loadparm.c
source/rpc_server/dcerpc_server.c
source/rpc_server/dcerpc_server.h
source/rpc_server/dcerpc_tcp.c
source/smb_server/connection.c
source/smb_server/negprot.c
source/smb_server/reply.c
source/smb_server/request.c
source/smb_server/service.c
source/smb_server/smb_server.c
source/smb_server/smb_server.h
source/smbd/config.m4
source/smbd/config.mk
source/smbd/process_model.c
source/smbd/process_model.h
source/smbd/process_single.c
source/smbd/process_standard.c
source/smbd/process_thread.c
source/smbd/rewrite.c
source/smbd/server.c
source/smbd/server.h [new file with mode: 0644]
source/smbd/service.c [new file with mode: 0644]
source/smbd/service.h [new file with mode: 0644]