summaryrefslogtreecommitdiffstats
path: root/lib/replace/cwrap.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-01-17 15:23:54 +0100
committerStefan Metzmacher <metze@samba.org>2014-04-17 14:56:05 +0200
commitf318a44ec79da33a8972da9822c9ac3e4b39acff (patch)
treeb34fb930817f826c89e9552870e9462f7a4316b7 /lib/replace/cwrap.c
parentad3a4316705245891d9a66c50817a26a41ac016f (diff)
downloadsamba-f318a44ec79da33a8972da9822c9ac3e4b39acff.tar.gz
samba-f318a44ec79da33a8972da9822c9ac3e4b39acff.tar.xz
samba-f318a44ec79da33a8972da9822c9ac3e4b39acff.zip
replace: Add uid_wrapper_enabled().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/replace/cwrap.c')
-rw-r--r--lib/replace/cwrap.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/replace/cwrap.c b/lib/replace/cwrap.c
new file mode 100644
index 0000000000..2935b5061f
--- /dev/null
+++ b/lib/replace/cwrap.c
@@ -0,0 +1,31 @@
+/*
+ * Unix SMB/CIFS implementation.
+ *
+ * Replaceable functions by cwrap
+ *
+ * Copyright (c) 2014 Andreas Schneider <asn@samba.org>
+ *
+ * ** NOTE! The following LGPL license applies to the replace
+ * ** library. This does NOT imply that all of Samba is released
+ * ** under the LGPL
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "replace.h"
+
+bool uid_wrapper_enabled(void)
+{
+ return false;
+}