libcharon can be initialized more than once

This commit is contained in:
Martin Willi
2012-11-14 10:14:37 +01:00
parent 8edb6248f8
commit de4c1def83
2 changed files with 34 additions and 5 deletions
+3
View File
@@ -329,6 +329,9 @@ extern daemon_t *charon;
* This function initializes the bus, listeners can be registered before
* calling initialize().
*
* libcharon_init() may be called multiple times in a single process, but each
* caller should call libcharon_deinit() for each call to libcharon_init().
*
* @param name name of the binary that uses the library
* @return FALSE if integrity check failed
*/