summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-09-22 12:02:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:00 -0500
commit341ece565c369c8743e7bd8e7e80b37b5a29ad42 (patch)
tree5dd28c4d89580177f9ba02f36b996e51411b81ea
parent15568d45e1d8cc3928647476baecab2d5d7d852e (diff)
downloadsamba-341ece565c369c8743e7bd8e7e80b37b5a29ad42.tar.gz
samba-341ece565c369c8743e7bd8e7e80b37b5a29ad42.tar.bz2
samba-341ece565c369c8743e7bd8e7e80b37b5a29ad42.zip
r2512: Remove unused stub functions.
Andrew Bartlett (This used to be commit f543de80b1dff25f32cd415c6f4d3bfda6c919be)
-rw-r--r--source4/smbd/rewrite.c36
1 files changed, 0 insertions, 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);