From 8a1c7a0a660d78786adac483ecafa157c3a3dc2e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 9 Oct 2012 08:35:04 -0400 Subject: s3:smbd: add exit_server to the smbd_shim hooks This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam --- source3/lib/smbd_shim.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/lib/smbd_shim.h') diff --git a/source3/lib/smbd_shim.h b/source3/lib/smbd_shim.h index a51decc28c..1645837f36 100644 --- a/source3/lib/smbd_shim.h +++ b/source3/lib/smbd_shim.h @@ -46,6 +46,10 @@ struct smbd_shim void (*become_root)(void); void (*unbecome_root)(void); + + void (*exit_server)(const char *const explanation) _NORETURN_; + + void (*exit_server_cleanly)(const char *const explanation) _NORETURN_; }; void set_smbd_shim(const struct smbd_shim *shim_functions); -- cgit