summaryrefslogtreecommitdiff
path: root/source3/lib/dummysmbd.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-12 05:24:02 +0000
committerGerald Carter <jerry@samba.org>2004-02-12 05:24:02 +0000
commitdf6d2db4ced5586320804950da58a62248db4d56 (patch)
tree31d2871b863a236ebc52b455ee39899c3940eb3c /source3/lib/dummysmbd.c
parenta6a2a696807992e60c905ff28828317fbcbe3913 (diff)
downloadsamba-df6d2db4ced5586320804950da58a62248db4d56.tar.gz
samba-df6d2db4ced5586320804950da58a62248db4d56.tar.bz2
samba-df6d2db4ced5586320804950da58a62248db4d56.zip
merge from old APP_HEAD
* remove corrupt tdb and shutdown (only for printing tdbs, connections, sessionid & locking) * decrement smbd counter in connections.tdb in smb_panic() * various Makefile hack to get things to link 'max smbd processes' looks like it might be broken. The counter KEY is not being set. Will look into that tomorrow. (This used to be commit 6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd)
Diffstat (limited to 'source3/lib/dummysmbd.c')
-rw-r--r--source3/lib/dummysmbd.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/lib/dummysmbd.c b/source3/lib/dummysmbd.c
new file mode 100644
index 0000000000..17bc321774
--- /dev/null
+++ b/source3/lib/dummysmbd.c
@@ -0,0 +1,29 @@
+/*
+ Unix SMB/CIFS implementation.
+ RPC pipe client
+
+ Copyright (C) Gerald (Jerry) Carter 2004.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* Stupid dummy functions required due to the horrible dependency mess
+ in Samba. */
+
+void decrement_smbd_process_count( void )
+{
+ return;
+}
+