- renamed logger_manager method get_logger to create_logger
[strongswan.git] / Source / charon / logger_manager.h
index 920a51d..4a27077 100644 (file)
@@ -37,6 +37,7 @@ enum logger_context_e{
        GENERATOR,
        IKE_SA,
        MESSAGE,
+       THREAD_POOL,
        WORKER_THREAD,
        EVENT_THREAD,
        SENDER_THREAD,
@@ -66,10 +67,10 @@ struct logger_manager_s {
         * @param name                  name for the new logger. Context name is already included 
         *                                              and has not to be specified.
         * @return
-        *                                              - SUCCESS
-        *                                              - OUT_OF_RES
+        *                                              - logger_t on SUCCESS
+        *                                              - NULL otherwise
         */
-       status_t (*get_logger) (logger_manager_t *this, logger_context_t context, logger_t **logger, char *name);
+       logger_t *(*create_logger) (logger_manager_t *this, logger_context_t context, char *name);
        
        
        /**