summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-11-09 19:03:48 -0500
committerSimo Sorce <ssorce@redhat.com>2011-11-21 18:52:48 -0500
commit710f435c200717fa09cf43e4cd2638f775bc8475 (patch)
tree93bc53dcea167131eb03e48e1a772b5a218100ae /daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c
parentb8f259e027d919b7d947ea85a5384f4f11e8d00f (diff)
downloadfreeipa-710f435c200717fa09cf43e4cd2638f775bc8475.tar.gz
freeipa-710f435c200717fa09cf43e4cd2638f775bc8475.tar.xz
freeipa-710f435c200717fa09cf43e4cd2638f775bc8475.zip
Create skeleton CLDAP server as a DS plugin
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c
new file mode 100644
index 000000000..4bbba5359
--- /dev/null
+++ b/daemons/ipa-slapi-plugins/ipa-cldap/ipa_cldap_worker.c
@@ -0,0 +1,49 @@
+/** BEGIN COPYRIGHT BLOCK
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Additional permission under GPLv3 section 7:
+ *
+ * In the following paragraph, "GPL" means the GNU General Public
+ * License, version 3 or any later version, and "Non-GPL Code" means
+ * code that is governed neither by the GPL nor a license
+ * compatible with the GPL.
+ *
+ * You may link the code of this Program with Non-GPL Code and convey
+ * linked combinations including the two, provided that such Non-GPL
+ * Code only links to the code of this Program through those well
+ * defined interfaces identified in the file named EXCEPTION found in
+ * the source code files (the "Approved Interfaces"). The files of
+ * Non-GPL Code may instantiate templates or use macros or inline
+ * functions from the Approved Interfaces without causing the resulting
+ * work to be covered by the GPL. Only the copyright holders of this
+ * Program may make changes or additions to the list of Approved
+ * Interfaces.
+ *
+ * Authors:
+ * Simo Sorce <ssorce@redhat.com>
+ *
+ * Copyright (C) 2011 Red Hat, Inc.
+ * All rights reserved.
+ * END COPYRIGHT BLOCK **/
+
+#include "ipa_cldap.h"
+
+void *ipa_cldap_worker(struct ipa_cldap_ctx *ctx)
+{
+ bool stop = false;
+
+ while (!stop) {
+ sleep(1);
+ }
+}