aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/library.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-04-28 07:14:48 +0000
committerMartin Willi <martin@strongswan.org>2006-04-28 07:14:48 +0000
commit997358a6c475c8886cce388ab325184a1ff733c9 (patch)
tree27a15790e030fc186d00cd710d2a3540f4defe69 /Source/lib/library.c
parent52923c9acb349adec3d1cc039e7a74c2e822da6e (diff)
downloadstrongswan-997358a6c475c8886cce388ab325184a1ff733c9.tar.bz2
strongswan-997358a6c475c8886cce388ab325184a1ff733c9.tar.xz
- import of strongswan-2.7.0
- applied patch for charon
Diffstat (limited to 'Source/lib/library.c')
-rw-r--r--Source/lib/library.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/Source/lib/library.c b/Source/lib/library.c
deleted file mode 100644
index fa9c732bf..000000000
--- a/Source/lib/library.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * @file library.c
- *
- * @brief Library (de-)initialization.
- *
- */
-
-/*
- * Copyright (C) 2005 Jan Hutter, Martin Willi
- * Hochschule fuer Technik Rapperswil
- *
- * 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 2 of the License, or (at your
- * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
- *
- * 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.
- */
-
-#include <utils/logger_manager.h>
-#include <utils/leak_detective.h>
-
-/**
- * Called whenever the library is linked from a process
- */
-void __attribute__ ((constructor)) library_init()
-{
- logger_manager_init();
- leak_detective_init();
-}
-
-/**
- * Called whenever the library is unlinked from a process
- */
-void __attribute__ ((destructor)) library_cleanup()
-{
- leak_detective_cleanup();
- logger_manager_cleanup();
-}