Reimplemented mem pool to support multiple leases for a single identity
[strongswan.git] / src / libcharon / daemon.h
index eb97a16..38f0256 100644 (file)
  * @defgroup config config
  * @ingroup libcharon
  *
- * @defgroup attributes attributes
- * @ingroup config
- *
  * @defgroup control control
  * @ingroup libcharon
  *
- * @defgroup ccredentials credentials
- * @ingroup libcharon
- *
- * @defgroup sets sets
- * @ingroup ccredentials
- *
  * @defgroup encoding encoding
  * @ingroup libcharon
  *
@@ -159,7 +150,6 @@ typedef struct daemon_t daemon_t;
 #include <sa/ike_sa_manager.h>
 #include <sa/trap_manager.h>
 #include <config/backend_manager.h>
-#include <credentials/credential_manager.h>
 #include <sa/authenticators/eap/eap_manager.h>
 #include <sa/authenticators/eap/sim_manager.h>
 
@@ -209,11 +199,6 @@ struct daemon_t {
        backend_manager_t *backends;
 
        /**
-        * Manager for the credential backends
-        */
-       credential_manager_t *credentials;
-
-       /**
         * The Sender-Thread.
         */
        sender_t *sender;
@@ -300,9 +285,9 @@ struct daemon_t {
        void (*keep_cap)(daemon_t *this, u_int cap);
 
        /**
-        * Drop all capabilities of the current process, but keep those that have
-        * been set with a call to keep_cap.
+        * Drop all capabilities of the current process.
         *
+        * Drops all capabalities, excect those exlcuded using keep_cap().
         * This should be called after the initialization of the daemon because
         * some plugins require the process to keep additional capabilities.
         *
@@ -323,13 +308,15 @@ struct daemon_t {
 };
 
 /**
- * The one and only instance of the daemon. Set between libcharon_init() and
- * libcharon_deinit() calls.
+ * The one and only instance of the daemon.
+ *
+ * Set between libcharon_init() and libcharon_deinit() calls.
  */
 extern daemon_t *charon;
 
 /**
  * Initialize libcharon and create the "charon" instance of daemon_t.
+ *
  * @return             FALSE if integrity check failed
  */
 bool libcharon_init();