From 341ece565c369c8743e7bd8e7e80b37b5a29ad42 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Sep 2004 12:02:16 +0000 Subject: r2512: Remove unused stub functions. Andrew Bartlett (This used to be commit f543de80b1dff25f32cd415c6f4d3bfda6c919be) --- source4/smbd/rewrite.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/source4/smbd/rewrite.c b/source4/smbd/rewrite.c index ac241958c7..53993fce60 100644 --- a/source4/smbd/rewrite.c +++ b/source4/smbd/rewrite.c @@ -6,41 +6,18 @@ This file will need to go away before the rewrite is complete */ -void mangle_reset_cache(void) -{} - -void reset_stat_cache(void) -{} - - BOOL set_current_service(void *conn, BOOL x) { return True; } void change_to_root_user(void) {} -void load_printers(void) -{} - -void file_init(void) -{} - -BOOL init_oplocks(void) -{ return True; } - -BOOL init_change_notify(void) -{ return True; } - - BOOL pcap_printername_ok(const char *service, const char *foo) { return True; } BOOL share_access_check(struct smbsrv_request *req, struct smbsrv_tcon *tcon, int snum, uint32_t desired_access) { return True; } -BOOL init_names(void) -{ return True; } - /* * initialize an smb process */ @@ -62,14 +39,6 @@ void smbd_process_init(void) DEBUG(2,("Changed root to %s\n", lp_rootdir())); } - /* Setup oplocks */ - if (!init_oplocks()) - exit(1); - - /* Setup change notify */ - if (!init_change_notify()) - exit(1); - /* Start old-style secrets subsystem */ /* We must perform secrets_init(), as it sets up important @@ -132,8 +101,6 @@ BOOL reload_services(struct smbsrv_connection *smb, BOOL test) ret = lp_load(dyn_CONFIGFILE, False, False, True); - load_printers(); - /* perhaps the config filename is now set */ if (!test) reload_services(smb, True); @@ -142,9 +109,6 @@ BOOL reload_services(struct smbsrv_connection *smb, BOOL test) load_interfaces(); - mangle_reset_cache(); - reset_stat_cache(); - /* this forces service parameters to be flushed */ set_current_service(NULL,True); -- cgit