summaryrefslogtreecommitdiffstats
path: root/source/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
commit6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd (patch)
tree90240c996e9e0450b72e8b4a31bf448763337c4e /source/lib/dummysmbd.c
parentdaee8d7feee4a08d6c204e2de3f346b6d10640e6 (diff)
downloadsamba-6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd.tar.gz
samba-6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd.tar.xz
samba-6e22c5da929b6d9a4e32dc704c83112b2ad8fcfd.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.
Diffstat (limited to 'source/lib/dummysmbd.c')
-rw-r--r--source/lib/dummysmbd.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/lib/dummysmbd.c b/source/lib/dummysmbd.c
new file mode 100644
index 00000000000..17bc3217743
--- /dev/null
+++ b/source/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;
+}
+