From 118f3edd27f5adacc1da636ed05b33f04999584f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 29 Jun 2004 07:40:14 +0000 Subject: r1291: rename struct smbsrv_context to smbsrv_connection because this is the connection state per transport layer (tcp) connection I also moved the substructs directly into smbsrv_connection, because they don't need a struct name and we should allway pass the complete smbsrv_connection struct into functions metze (This used to be commit 60f823f201fcedf5473008e8453a6351e73a92c7) --- source4/smbd/process_model.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smbd/process_model.h') diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h index 8d6635205c..c4c3aa68df 100644 --- a/source4/smbd/process_model.h +++ b/source4/smbd/process_model.h @@ -45,13 +45,13 @@ struct model_ops { void (*accept_rpc_connection)(struct event_context *, struct fd_event *, time_t, uint16_t); /* function to terminate a connection */ - void (*terminate_connection)(struct smbsrv_context *smb, const char *reason); + void (*terminate_connection)(struct smbsrv_connection *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 smbsrv_context *smb, const char *reason); + void (*exit_server)(struct smbsrv_connection *smb, const char *reason); /* returns process or thread id */ int (*get_id)(struct smbsrv_request *req); -- cgit