diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-02-02 13:43:03 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2004-02-02 13:43:03 +0000 |
commit | c61089219b82ff94f83e1fb428e8b47ad778c868 (patch) | |
tree | 2109fd566da9e1492a03c817cf83c71b2140ce52 /source4/include | |
parent | 894e02f80c254da4edca5dbae99561d205c63fbe (diff) | |
download | samba-c61089219b82ff94f83e1fb428e8b47ad778c868.tar.gz samba-c61089219b82ff94f83e1fb428e8b47ad778c868.tar.bz2 samba-c61089219b82ff94f83e1fb428e8b47ad778c868.zip |
- we now specify the object files in the subsystems config.m4 file
I plan to convert all objectfile group to use SMB_SUBSYSTEM
later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need
to touch Makefile.in, because all make rules will be autogenerated by configure
- convert the PROCESS_MODEL subsystem to this new scheme
and move the pthread test to smbd/process_model.m4
- convert the CHARSET subsystem to this new scheme
and move the iconv test to lib/iconv.m4
(This used to be commit 2e57ee884ebea194ee79ac20e84e385481b56aa2)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/context.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/source4/include/context.h b/source4/include/context.h index 4cfe6c302b..7b156ed382 100644 --- a/source4/include/context.h +++ b/source4/include/context.h @@ -326,32 +326,7 @@ struct timers_context { time_t last_smb_conf_reload; }; - -/* the process model operations structure - contains function pointers to - the model-specific implementations of each operation */ -struct model_ops { - /* called at startup when the model is selected */ - void (*model_startup)(void); - - /* function to accept new connection */ - void (*accept_connection)(struct event_context *, struct fd_event *, time_t, uint16); - - /* function to accept new rpc over tcp connection */ - void (*accept_rpc_connection)(struct event_context *, struct fd_event *, time_t, uint16); - - /* function to terminate a connection */ - void (*terminate_connection)(struct server_context *smb, const char *reason); - - /* function to terminate a connection */ - void (*terminate_rpc_connection)(void *r, const char *reason); - - /* function to exit server */ - void (*exit_server)(struct server_context *smb, const char *reason); - - /* returns process or thread id */ - int (*get_id)(struct request_context *req); -}; - +#include "smbd/process_model.h" /* smb context structure. This should contain all the state * information associated with a SMB server */ |