aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/daemon.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-01-22 15:19:44 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:34:33 +0100
commit1c306c0ee908291aa5a665367a935110289731b9 (patch)
treea0653be0da93ca938be39f86e2197b200496136a /src/libcharon/daemon.h
parent9222bfc69533b01585d1993014fccd3cb079d43c (diff)
downloadstrongswan-1c306c0ee908291aa5a665367a935110289731b9.tar.bz2
strongswan-1c306c0ee908291aa5a665367a935110289731b9.tar.xz
libcharon: Remove unused charon->name
Diffstat (limited to 'src/libcharon/daemon.h')
-rw-r--r--src/libcharon/daemon.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/libcharon/daemon.h b/src/libcharon/daemon.h
index 24e623c44..36242bb04 100644
--- a/src/libcharon/daemon.h
+++ b/src/libcharon/daemon.h
@@ -272,11 +272,6 @@ struct daemon_t {
#endif /* ME */
/**
- * Name of the binary that uses the library (used for settings etc.)
- */
- const char *name;
-
- /**
* Initialize the daemon.
*
* @param plugins list of plugins to load
@@ -324,12 +319,11 @@ extern daemon_t *charon;
* 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().
+ * caller must 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
*/
-bool libcharon_init(const char *name);
+bool libcharon_init();
/**
* Deinitialize libcharon and destroy the "charon" instance of daemon_t.